Conditional format based on date

Hi,
I want to keep track of reports that my students need to turn in. The due date is set, but should turn red 10 days before the actual due date, so I can double check with the student if he started work on his report. Once the report was turned in, the due date should become grey or black. Here's an example:
Report
Topic
Due date
Finished
A
XX
Jan 26, 2012
Jan 25, 2012
B
YY
Feb 5, 2012
C
ZZ
Mrz 11, 2012
C3 is read, because its due date is less than 10 days away. C2 is black, because it has been finished on time. C4 is black, because its due date is more than 10 days away (from the perspective of today, Jan. 27th)
While conditional formats can be set based on dates and relative dates, it doesen't allow to compare actual date to a date calculated from a cell, as far as I can see.
Any help with this is very appreciated!
Thank you!

Maybe this sample may fit your needs :
One more case where Numbers User Guide is helpful.
Yvan KOENIG (VALLAURIS, France) vendredi 27 janvier 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

Similar Messages

  • Conditional format with large data fails and show error as "Selection is too large" in Excel 2007

    I am facing a issue in paste special operation using conditional formats for large data in Excel 2007
    I have uploaded a file at below given location. 
    http://sdrv.ms/1fYC9qE
    The file contains two sheets, Sheet "Data" contains the data on which formats are to be applied and sheet "FormatTables" contains the format tables which contains conditional formating.
    There are two table in "FormatTables" sheet. Both have some conditional formats applied on it. 
    Case 1: 
    1. Select the table range of Table1 i.e $A$2:$AV$2
    2. Copy it
    3. Goto Sheet "Data" 
    4. Select data area i.e $A$1:$AV$20664
    5. Perform a paste special operation on full range and select "Formats" option while performing paste special.
    Result:
    It throws error as "Selection is too large"
    Case 2:
    1. Select the table range of Table2 i.e $A$5:$AV$5
    2. Copy it
    3. Goto Sheet "Data" 
    4. Select data area i.e $A$1:$AV$20664
    5. Perform a paste special operation on full range and select "Formats" option while performing paste special.
    Result:
    Formats get applied successfully.
    Both are the same format tables with same no of column and applied to same data range($A$1:$AV$20664) where one of the case works and another fails.
    The only diffrence is Table1 has appliesTo range($A$2:$T$2) as partial of total table range($A$2:$AV$2) whereas the Table2 has appliesTo range($A$5:$AV$5) same as of its total table range($A$5:$AV$5)
    NOTE : This issue is only in Excel 2007

    Excel 2007 No Supporting formating to take a formatting form another if source table has more then 16000 rows and if you want to do that in more then it then you have ot inset 1 more row in your format table to have 3 rows
    like: A1:AV3
    then try to copy that formating and apply
    Solution Case 1: 
    1.Select the table range of Table1 i.e AV21 and drage it down to one row down
    2. Select the table range of Table1 i.e $A$2:$AV$3
    3. Copy it
    4. Goto Sheet "Data" 
    5. Select data area i.e $A$1:$AV$20664
    6. Perform a paste special operation on full range and select "Formats" option while performing paste special

  • Conditional formating based on excel formula

    Hi experts!
    I have a problem with BPC formatting. Under my EVDRE expansion, I inserted a column to validate some data before sending it. The value of this formula can be TRUE or FALSE and it validates each row of the expansion.
    Now, if the value is false, the row or at least some fields of it must turn red so the user knows were are the mistakes.
    I have defined under the format range an entry for the heading to evaluate in rows and in format I create the next conditional formatting:: =$I38 = FALSE ---> background red.
    When I push the refresh button, the format applies to al heading under the expansion, but the conditional format formula changes to =$I1064034 = FALSE
    If I lock the row number, it won't iterate for each row and the format will be based just on one cell instead of one cell per row.
    ¿Any ideas? ¿Other ways to achieve this? I've also tried to format the cell inside the expand and eliminate the entry on the format range but it doesn't expand to the rest of the cells...
    Thanks in advance

    Hi Nilanjan!
    Thanks for the answer, the individual conditional formatting is working fine!
    The reason why it wasn't working the first time was because it's incompatible to do individual conditional formatting with conditional formatting on format range.
    I gues I'll have to do all the formatting on individual cells...
    Thanks agains!

  • Entire row conditional formatting based on cell value

    What is the best way to apply conditional formatting to an entire row based on the value of one of the columns on that row? For example, I just want to highlight the entire row (make it red color) if the value of one of the columns is greater than 0. The method described in the past discussions is just way to difficult to apply in real life scenarios. I think it should work without any tricks as it's just a very basic functionality of spreadsheets.

    The other idea is to make a second table, which has a single column and is as wide as the first table.  This second table will reference the value in the first table which indicates how to shade and is formatted with conditional formatting.  The second table is slid behind the first, AND the first is made transparent.
    - Bottom table refers to original (top) table
    bottom table contains conditional formatting as:
    Now make the original table transparent by selecting the table and changing the background fill to none.
    Now send the second table to the back by selecting the table then the menu item "Arrange > Send to Back"
    Now slide the second table under the original

  • Conditional formatting based on page number that resets on repeating frame

    Hello everyone,
    I have searched through multiple forums on multiple sites and haven't come across anyone who has accomplished this.
    I have a report with pages numbers that reset on a repeating frame.
    I have a text boiler plate that I want to only show up on page 1. On every occurrence of page 1.
    SRW.GET_PAGE_NUM does not work because it returns physical page number.
    I'm trying to access the value of the field for my page number. The value comes from "source" drop down with value of "Page Number".
    I've tried accessing the <&page number> in the PL/SQL of my conditional formatting trigger but no luck.
    This report is 14K plus pages so I'd rather not be inserting and selecting the value back out of the database.
    Does anyone have any ideas??
    Thanks,
    Alan

    To avoid inserting/selecting from the database
    Maybe you could create a small package on the database to store page numbering information.
    Then use get/set routines per your requirements.
    CREATE OR REPLACE PACKAGE rep_page_no IS
       gPageNo NUMBER;
       PROCEDURE set_it(pPage NUMBER);
       FUNCTION get_it RETURN NUMBER;
    END rep_page_no;
    CREATE OR REPLACE PACKAGE BODY rep_page_no IS
       PROCEDURE set_it(pPage NUMBER) IS
       BEGIN
          gPageNo := pPage;
       END set_it;
       FUNCTION get_it RETURN NUMBER
       IS
       BEGIN
          RETURN(gPageNo);
       END get_it;
    END rep_page_no;Then in your repeating frame you could access this package rather than insert/select from any database table.
    Let me know if this works, I might like to try it.
    Thanks

  • Conditional formatting based on formula

    I would like to highlight values in a column that are the maximum. If using Excel, would do a conditional format such as Cell Value Is, equal to, =max(a:a)
    Has anyone made Numbers do this?

    Here is an example of one of the "cheesy" methods, it is a clever workaround:
    First image shows two overlapping tables. 2nd Image shows the underlaying table creating the highlights.
    Regards,

  • Conditional Format based on cell value

    For example; want to turn a cell yellow if its value is less than another cell value.
    Is this possible?
    Conditional format rules don't seem to like cell references.

    There are many ways to call attention to a value that needs to be emphasized because of its relationship to other values. What you decide to do will be influenced by how particular you are about the end result vs. the trouble that you will have to go through to achieve it. When other cells need to reference a cell that may be either text or numeric, you can use the TRIM function, or other text functions, to remove interfering characters. Here's an example, where you can see the last row multiplying the previous, manipulated row, by 2.
    Also, all the cells are formatted as Currency, with to ill effect. In the example I left the cells with the conditional format in default alignment so you could see the added space character against the left margin of the cell.
    I think the easiest way to call attention to a cell is to add an adjacent row of column with a conditional expression that 'lights-up' when there is an alarm condition.
    Jerry

  • Conditional merge based on date

    Need help on a merge statement. I need to merge two dataset. But when the key match , I also need to cpmpared the date before I merege it.
    See code below
    drop table x1;
    drop table y1;
    select * from x1;
    select * from y1;
    create table x1 (id number,name varchar2(10),cdate date,status varchar2(1));
    create table y1 (id number,name varchar2(10),cdate date,status varchar2(1));
    insert into x1 select 1,'A',sysdate - 100,'Y' from dual;
    insert into y1 select 1,'A',sysdate - 50,'N'  from dual ;--should change x1.status to y1.status  and x1.cdate to y1.cdate as y1.cdate > x1.cdate
    insert into x1 select 2,'B',sysdate - 20,'Y' from dual;
    insert into y1 select 2,'B',sysdate - 120,'N' from dual ;--should leave status in x1 alone
    insert into y1 select 3,'c',sysdate - 10,'Y' from dual; --should do an insert on x1
    commit;
    --how do I do a conditional merge (key=id,name)
    -- based on the cdate. If y1.cdate >= x1.cdate then take the y1.status  and y1.cdate
    --desire output
    select * from x1
    1     A     01/01/2012 10:54:35 AM     N
    2     B     1/31/2012 10:54:37 AM     Y
    3     C     1/31/2012 10:54:37 AM     Y

    Hi,
    You can add a WHERE clause to the WHEN MATCHED THEN UPDATE section.
    WHERE   x1.cdate  < y1.cdateThanks for posting the CREATE TABLE and INSERT statements; that's very helpful. It would also be helpful if you posted your MERGE statement, even if it's not working perfectly.

  • Conditional formating, based on a complex statement

    Hello,
    I'm trying to enhance an existing report, by adding a conditonal formatting on a table.
    I know how to do it when the condition is "simple" : <?if:FIELD='VALUE'?>, but the statement I want to use is based on two different fields (or even more).
    Basically, I'd like to do <?if:FIELD1='VALUE' or :FIELD2='VALUE'?>, but it doesn't work this way.
    Is it only because my syntax is wrong, or is til impossible to do ? Is there a woarkaround I could use ?
    Thganks for your answers

    It is possible to do such checks;
    Try this: <?if:(FIELD1='VALUE' ) or (FIELD2='VALUE')?>... <?end if?>
    Thanks!

  • Numeric format based on data in another field

    I am trying to set up a form where the numeric format of one field is based on units of measure in another field. The fields are: units1 and iq1. What I want to do is have the iq1 field format for percent with two decimal places when units1 is  LS or ls or L.S. or l.s. otherwise the field should be formatted for a number with the format nnn,nnn,nnn.nn. Any help for this newbie is appreciated.

    I think this is what you are looking for:
    Make sure that you select "Commit selected value immediately" in the options tab of the drop down menu.
    //Place this script in the custom validation script of the drop down menu
    //Create a text field caleld Text2
    var MySelection = event.value;
    switch (MySelection) {
    case "Accountability":
        this.getField("Text2").value = "Accepts personal responsibility for the quality and timeliness of work. Can be relied upon to achieve results with little need for supervision. ";   
    break;
      case "Compliance":
        this.getField("Text2").value = "Complies with policies, procedures, workflows and instructions.";
        break;
    I hope this helps.

  • How to Display Report Output in X & Y Axis Format based on Date & Site ?

    Hi,
       I got a requirement to display the output of a Report in X & Y Axis Format like  Date in Vertical wise & Site in Horizontal wise.
       please suggest me how to do this.

    These programs also..
    GFW_PROG_BAR : Bar chart example
    GFW_PROG_PIE: Pie chart example

  • Conditional formatting based on current time.

    I need to format column A, based on the value in column C relative to the current time. If the current time is > column C the cell in column A needs to turn Red. If the current time is <= column C the cell in column A needs to turn Green.
    The following formula work fine, until I closed and reopened my sheet days later. It no longer works.
    =AND(C1<=(MOD(NOW(),1)))
    I have my cells formatted to 13:00 time.
    I was using =MOD(NOW(),1) In cell A1 as a reference point, but found a way around using that. A1 is empty if needed.
    Any help is greatly appreciated.

    It appears the sheet is working properly now if I update the variable cells values. Refreshing/recalculating (F8) the workbook does not update the sheets results; only re-entering the same value produces the correct result. Do you know why this is?
    The sheet is going to be used by a flight department to manage pilot duty days and flight time requirements. So It is imperative that it functions properly and consistently. Thank you for your help.

  • Cross Conditional format in Pivot Table

    Hi Guys
    I have an important client requirement where by I need to present the data in teh following format
    CAMBODIA LAOS SRI LANKA
    KPI_NAME PROPOSED_TARGET_VALUE MIN_TARGET_VALUE Aug-09 Sep-09 Oct-09 Aug-09 Sep-09 Oct-09 Aug-09 Sep-09 Oct-09
    SERVICES PROVISIONING CALL RATE (%) <5% <5% 21.00% 68.00% 10.80% 1.300% 0.100% 1200.% 2.500% 5.000% 66.50%
    The table is like that :
         Measure     Indicator
    13     38     White
    17     1016     Red Green
    15     3456     White
    19     8644     Grey
    12     41605.886     White
    10     52647.007     White
    This is possible only through pivot table whereby country and period dimesions have been put in pivot.
    Also there is a requirement to paint the background colour in Red Amber Green ... and for that I ahve to create a new column where after comparing i can put the status as Red ..Amber ..Green and based on the cross column conditional formating I can paint the fact value like 21.00% (shown above) .
    But when I am importing that table in pivot view all the backgrounf colour vanishes. since cross column conditional formating is not supported in pivot.
    Is there any way out to achieve this requirement .
    Thanks

    http://oraclebizint.wordpress.com/2008/04/29/oracle-bi-ee-101332-conditional-formatting-based-on-multiple-character-columns-in-a-pivot-table/

  • SharePoint 2010 list view web part not showing conditional formatting

    when I create conditional formatting in custom list is working fine & when it call through web part page (Data view web part) conditional formatting not showing. data is showing without conditional formatting.
    Dinuka M.

    When you use conditional formatting on some page it is writing inline CSS codes inside that page. thats why when you create a new page and add the same web part to that page, you must edit that page to apply conditional formatting to that
    web part.
    Best Regards, Mustafa Yılmaz MCITP, MCPD | www.mustafa-yilmaz.org | www.sharepointciyiz.biz
    When you say edit the page, do you mean edit it in SharePoint Designer, or in SharePoint itself. And is it a case of just editing, then saving the page and it will apply the conditional formatting, or is there a specific property you need to edit, and if so,
    what is it?

  • Calculation in a Conditional Formatting

    Do you know if it is possible to create a conditional format based on the result of a calculation?
    I would like to use a calculation in the field "Value". The instructions to fill this field say: "Type a numeric value or select a value from the drop-down list". But my drop-down list is empty. Any idea?
    Thanks

    It is not possible. The value cannot be based off of another field. The only workaround that I can come up with would be to display the calculation in an adjacent column to the one you want to format, and set the format such that the background and foreground are the same color.
    A few months ago, I thought this would be an easy way to highlight and entire row, but ran into this "problem".

Maybe you are looking for

  • How to insert an image in a pdf document

    I used the "Stamper" example and modified the fuction to insert image to my pdf doc. PDAnnot CreateStampAnnotationAt(AVPageView pageView, AVDevRect *rect) to add a picture Annotation into page. when system calling the callback function "AnnotDraw" to

  • Dynamic Page Orientation in Reports 6i

    I have the following requirement. I need to print a letter that contains an attachment. The letter is two pages long and the page size letter and orientation is portrait. The attachment is legal but the orientation is landscape. So what it essentiall

  • Mac Mini will not load after recent update.

    My late 2012 model Mac Mini just had a software update and upon rebooting, my login name did not populate.  I rebooted again and now I get the gray screen with spinner and progress bar.  Once the progress bar loads I have just the spinner for a minut

  • Access data in custom component.

    Hi Everyone,                 I am new to Flex soo pardon me if my questions are quite basic. I have searched a lot before posting here, might be I was not looking in the right direction. Please redirect me to the path that leads to the solution of th

  • Small still photo on video i pod w/ music but no streaming...

    i have a new video ipod and i only get a small still photo w/ music but no streaming video. any ideas on how to get the video working and larger?