Conditionally Formatting Dates

I'm working on a calendar. I have my generator working. Now I want to conditionally format days of the month, ie. colour the cell if the day falls within a defined range or equals a particular date like today. My main problem is the number series I've generated are just numbers, whereas my format condition is a date. Unlike Excel I'm unable to nest conditions of different formats in the one statement. I've tried an intermediate step by 'stripping out' the day data using the day function then acting on that which works so long as my date range does not extend longer than a month. If it does my result is erroneous.
Can someone give some ideas how I might achieve my intended result.
Thanks

Hi Yvan, thanks for your response. I thought I might be able to post an picture of my screen, but it appears I'm not able to do so. Ok, so I'll try and best describe what I'm trying to do.
My calendar is project-focused. I have two cells, a start date and an end date (these cells are formatted as dates). The start date is used to generate the calendar: its month, the previous month and the following 2 months. The end date can be any date you like. To produce each month in the calendar, the generator carries out a few tests in the first week and the last week of each month to find the day the first of the month falls on and the day the last of the month occurs. Once the first and the last days have been determined cells for the second, third fourth day etc merely increment the previous day by one until the last of the month is reached. The cells containing the numbers corresponding to the days in each month are just numbers - the sum of the previous day number plus 1. All this works fine.
Having generated the calendar, I want to highlight the date range between the start date and the end date using conditional formatting. I have this working in Excel with a conditional formating rule builds a date then tests to see if it is within the range of the start and end date; (=AND(DATE(YEAR,MONTH,DAY CELL [being formatted])>=(START DATE),DATE(YEAR,MONTH,DAY CELL [being formatted])<=END DATE).
Of course, Numbers does not have this complexity when it comes to conditional formatting, so I'm wondering if there is another way of doing it.
Thanks

Similar Messages

  • Can you transfer data from one numbers spreadsheet to another using conditional formatting?

    I have a tracker document set up for client payments and when I indicate payment received, it  flags green using conditional formatting. However I would like these to automatically transfer to another sheet - without having to cut and paste the associated data to the other sheet. Can I set up conditional formatting to do this? If not how could I get and automatic transfer?
    thanks forum.

    Hi Kangers,
    There are a number of ways to transfer data from one table to the next. It should not be hard to set up.
    Conditional formatting would not be involved it moving the data but you could set it up to flag the data in the new table.
    Without knowing what your tables and data look like it is hard to propose a solution.
    quinn

  • 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 Formatting in one cell with a dates in another cell

    I have a simple spreadsheet that will gauge a project's progress.  I wish to have individual cells change color based on another cell.  I can't get the right syntax in order - groan
    E2 has today's date, =NOW()
    G2 (not started) would change from a color to no color when the start date, F27,  has arrived then
    H2 (started) would change to a color when the date is met, F27, (may be change color as the completed date arrives) then no color when the completed date arrives, F28.
    I2 (completed) would change to a color when the date is met, F28
    When the spread sheet is opened or if I need to change the dates in either of the cells the cells with color gauges will update.
    I am using conditional formating through the ribbon.
    Please help!

    Hi,
    Thank you for posting in the MSDN Forum.
    Since the issue is more relate to the end-user, I'd like to move it to Excel IT pro forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Best regards
    Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Excel 2013 - conditional format with dates

    Hi
    I have a workbook that logs courses people have been on and I type in the date the qualification needs to be renewed. I would like that cell to change colour when it is so many days before the renewal date using the =today() function.
    pale yellow - 60 days before renewal date
    orange - 30 days before renewal date
    red - expired, i.e. today's date is after the renewal date
    I have an idea how to do it but I can't seem to get it working exactly the way I want it to.
    Thanks.
    Viv
    Viv Haig

    Select the cell or cells. I will assume in the following that A2 is the active cell within the selection.
    On the Home tab of the ribbon, click Conditional Formatting > New Rule...
    Select 'Use a formula to determine which cells to format'.
    Enter the formula
    =AND(A2<>"",A2<TODAY()+60)
    Click Format...
    Activate the Fill tab.
    Click More Colors...
    Select pale yellow.
    Click OK three times.
    Repeat the above steps, but with the formula
    =AND(A2<>"",A2<TODAY()+30)
    and with orange.
    Finally, repeat them again, but with the formula
    =AND(A2<>"",A2<TODAY())
    and with red.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Conditional formating if the cell contains any date

    Hi,
    In my excel sheet i have one column containing only date (US format) or else they are blank. I want to format the cells containing date to Red color. How do i do it
    Please help

    If you mean the font colour, just format the cells to have red font.
    So I guess you mean interior colour.
    You haven't said which version of Excel - it always helps.
    For Excel 2003, for example, select the cells then
    Format > Conditional Formatting > Cell Value Is > Greater Than: 0 > Format > Patterns > Red
    For Excel 2007 or 2010, Home > Conditional Formatting > Highlight Cells Rules  > Greater Than > 0 with Light red fill
    Bill Manville. Excel MVP, Oxford, England. www.manville.org.uk

  • Include format date inside If condition

    Hi,
    I need to format date which displays based on the IF condition.
    1.<?xdoxslt:ifelse(Current_stub_number___Local_ID46<Stub_Total___Local_ID66,' ’,G_L_Date___Local_ID18)?>
    above to display blank or date value G_L_Date___Local_ID18 based on condition which is workingfine.
    2.<?xdoxslt:ifelse(Current_stub_number___Local_ID46<Stub_Total___Local_ID66,' ’,<?format-date:G_L_Date___Local_ID18;'MM-DD-YYYY'?>)?>
    I inlcuded the format date in place of G_L_Date___Local_ID18. Which is giving error as error in expression. date format should be M/D/YYYY.
    Thanks in Advance,
    Vijay Kumar

    Sandeep,
    Thanks for providing the solution. It is working fine. How ever, I need the date to be printed as 1/24/2013. Month/day should be printed without zeros when it is single digit. If the month/day are double digit should be printed as it is
    Ex1: 1/2/2013 , Ex2: 12/24/2012 .
    Thanks,
    Vijay Vattiprolu.

  • Find missing data using conditional formatting?

    Hello,
    I'm familiar with Excel but new to Numbers.
    Can I use conditional formatting to find the blank cells in a table?
    If so, how?
    If not, what would be the best way to find blank cells in a large table?
    Thanks

    Jerry's suggestion in that thread was:
    Designate a blank cell to be your comparison for the conditional format and set a fill color to be present whenever your data cells are "Equal To" the content of the blank cell that you have designated. Then when you enter data, the fill color will revert to what it was for the rest of the table.
    The problem with that method was that zero values and blank cells both triggered the conditional formatting. Badunit chimed in with:
    Use "text is" instead of "equal to".
    Which solved that problem.
    Here's an example, using the conditional formatting rule incorporating the revised suggestion:
    The conditional format rule shown is applied to all of the cells in column B.
    Regards,
    Barry

  • 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

  • Conditional Formatting between dates usng a different cell

    I need to make it so a cell will change color if the column header is between 2 dates.
    Cell D7 = 05/20/2014
    Cell E7 = 06/20/2014
    Cells F6 - AS6 = 05/19/2014 - 06/27/2014 (column headers)
    Cells F7 - AE7= Random Numbers between 5-100  (for now)
    So if the date in Cell F6 is inbetween D7 and E7 I want the number in cell F7 to change colors. Is this possible without VB?
    Thanks Again!!

    Hi,
    According to your description, I try to make a sample, is this you want?
    If it was, please see the steps:
    Click Home tab>Conditional Formatting >New Rule>Use a formula to determine which cells to format > Add the formula "=AND(F$6>=$D$7,F$6<=$E$7)"
    If I misunderstand something, please upload a sample Excel file through One Drive, I'll try again.
    Regards,
    George Zhao
    TechNet Community Support

  • After date conditional formatting.

    I am using numbers.  I have a cell B1 with a date, Cell B4 is a formula (B1-80) to calculate 6/20/14.  I want to apply conditional formatting to say if 6/20/2014 is after todays date then make the cell red.  I am using version 3.2.  I can't figure it out even though it seems the obvious choice is Date>after>highlight B4 and done turns red since its 7/8.  However its not working.

    Hi Ken,
    B1 Contains the formula =TODAY
    Conditional highlighting of other cells in B if greater than $B$1 (using numbers, not dates)
    Regards,
    Ian.

  • Need your help regarding Conditional Chart Data formatting

    I have just started using BI, so I am sorry if what I am asking is a FAQ or a very simple question.
    I have a Line Bar Combo chart whose bars I have colored differently according to some conditions. When I drill down from a year/month series to the day of a particular month, though, the conditional formatting is lost.
    http://img141.imageshack.us/img141/5677/biimage.jpg
    Can anyone suggest me if I am missing something in the program options or if there is any workaround to this behavior?
    Thanks a lot in advance.

    Letz say you have colored the year black when it is 2008 and you display it in the graph and while you drill down from year to quarter in the back ground an adiitional column will be added (Quarter) and the conditional formatting will be still there for the year but will be very small(like a dot) as your quarter is exposed on the X axis.
    The deeper you drill the wider your x-axis will be and the smaller your formatting looks.
    You cant controll the drill. It will mimic what is present in the compound layout set up at the parent level.If you need to avoid multiple columns appearing on your X-axis and do some changes to your graphs then you need to navigate
    instead of drill. if the report is 3 levels deep then it has to be 3 diff reports(maintenance will be high)
    It will be seemless to the users whether you navigate or drill. Just a suggestion. There are some things which we need to compromise :)
    Thanks
    Prash

  • Check for null values in conditional formatting when no rows returned.

    I have a report that is showing facts for different months.
    For some months there is no row in the facts table.
    But in the report, I have to show a * when there is no data.
    If there is a row in the facts table with null value for data, the conditional formatting successfully shows a * when data is null.
    But when no row is present in the facts for a particular month , conditional formatting is unable to detect any null, as none exist.
    How we can check that no rews returned for a particular month and then show *?
    thanks

    Hi,
    which obiee version r u using?
    My Blog ref:
    http://obieeelegant.blogspot.com/2011/06/replacing-null-as-0-in-obiee.html
    in obiee10g its working fine.expect obiee11g
    also see the bug reference
    How to replace null as 0 in  obiee11g pivot table view?
    obiee11.1.1.6.0 also have the same issues.
    Thanks
    Deva

  • How do I apply conditional formatting using SharePoint Designer 2013?

    I'm attempting to apply Conditional Formatting to a list view web part via SharePoint Designer 2013, and I can't seem to find the option to do so.
    I've a horrible feeling I'm just being daft, but here's what I've done so far:
    - Created a new page (I've tried both web part and wiki)
    - Added a list "App part" and saved the page
    - Checked-out and opened the page via Designer
    - Clicked the "Edit file" option
    - Selected the XsltListViewWebPart tag
    So far I can't find any options to add it. If I open the Conditional Formatting pane via the View menu it tells me the following:
    > To use conditional formatting, select an HTML tag, data value, or
    > range of text, and then click Create to specify formatting options.
    I've tried selecting the web part tags in all manner of combinations with no luck. In previous version I would have simply selected the previewed data rows in the now-absent Preview pane.
    Am I missing something?

    Create and edit a Wiki Page
    Click Inset > Data View and Select “Empty Data View”
    Click Inside the <DataSources> tags </DataSources>
    Click Insert > Data Source “Your Data Source Name”
    Hold down Ctrl button and select the Rows in the order you want them to appear from your “Data Source Details” Window.
    After the Rows are selected click on the drop down “Insert Selected Fields as…” at the top of the “Data Source Details” Window. 
    Select “Multiple Item View” option (This will create the xsl where we need to add the conditional formatting to)
    Find the <tr> tag that contains the Row Data.  Insert the following right below the <tr> tag:
    <xsl:attribute name="style">
    <xsl:if test="@FieldName = 'Something'">background-color: #FF0000;</xsl:if>
    </xsl:attribute>
    I hope this helps.  I figured this out by using the old 2010 Designer to figure out the where to place the code and how to do this.

  • Conditional formatting over block structure is not working properly

    Hello there,
    This is on BPC 7.5 NW.
    We have used block structure in one of our reports for Account dimension. i.e. we have used EVRNG function for MemberSet  instead of any other expansion.
    Again in this Block structure we have applied the below conditional formatting for some range.
    The rule is:-
    If the value (which is fetched using EVGET function in this range)
        1. is less than 0.45 then apply Icon1
    Else
      apply
        2.icon2 if values lies in between 0.5 and 1.5
        3.icon3 if value lies between 1.5 and 2.5
        4.icon 5 if value lies between 2.5 and 3.5
    So when the report is expanded, the icons are getting displayed as above conditional formatting only if the number of rows (data range) is less than 1000. If the number of rows exceeds 1000 i.e. then it displays values only not the icons.
    Can anyone please suggest what might have gone wrong here.
    Thanks
    Lakshmi

    Hi Nilanjan,
    Please find here the screenshot of the conditional formatting used.
    the cell values here are got  by EVGET  function.
    So when the block gets repeated ,if the expansion crosses more than 1000 rows , then we are facing  the issue of getting only values instead of arrows(icons mentioned in the above condition).
    Thanks
    Lakshmi

Maybe you are looking for

  • IPod won't sync songs

    Okay, a few months ago I copied some songs onto my iPod from a CD, and they synced just fine. I synced the iPod to another computer to upload files onto it, but it still worked just fine on my computer afterwards. But now the songs I copied from the

  • Maintaining Widescreen on export

    Hi. i know this must be quite remedial to most of you guys but it's killing me. I'm editing widescreen HD format from my HD camera. 1080:60. All is good and I can export to a self contained quicktime movie correctly but I want to also export it as a

  • Exporting Aperture 3 slide show to work on TV

    Hi I've created a slideshow with music but can't seem to export it to work on a television (in the UK this is) I've tried both HD versions and ,just as a chance Apple tv. Any Ideas where I'm going wrong welcome. It plays fine on a pc or mac. Richard

  • Query to retrieve the number of transactions done in every 1 hour for last

    Hi, Could anyone help in writing a query to retrieve the number of transactions done in every 1 hour for last month. Case: I/P Cases Timestamp1 case1 01-01-2008 00:00:01 case2 01-01-2008 00:01:01 case3 01-01-2008 01:00:01 case1 01-01-2008 01:02:01 ca

  • A dozen iPods on my desktop

    I have a 512 MB iPod shuffle 1st gen, and recently I have been having connectivity issues. I believe the origin of this is when I had my iPod plugged into one USB slot on my G4 iBook when I had a USB cable for a mouse plugged in to the other, the lay