Date Conditional Formating

I know this is a simple question but don't have a lot of time to research it.
I want to apply 3 different font color formats to a date field.
How do I manipulate the dates in the formulas so that i can get the following:
Over 9 Months old = Green
Over 12 Months old = Orange
Over 14 Months old = Red
BTW I am using Crystal Reports 2008
Thanks for all your help.

Place the date field in your report, right click and select 'Format Field' and in the pop up, choose the Font tab and then click on the x+2 across from 'Color'.  In the formula workshop window type:
if datediff('m',{yourdatefield},currentdate) > 14 then crred
else
if datediff('m',{yourdatefield},currentdate) > 12 then crmaroon
else
if datediff('m',{yourdatefield},currentdate) > 9 then crgreen
else
crnocolor;
Save and close and in the report the date should be highlilghted based on the above condition.  Note however, that there is no pre-defined color of Orange, you can either use the predefined ones or shoose the RGB codes.

Similar Messages

  • 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.

  • 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

  • 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

  • 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

  • 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

  • AR Invoice Conditional Formatting

    Hello
    I've done some customizing of our AR invoice, which includes some conditional formatting on several fields. If it’s a credit note change the colour of a border & font and hide some details. The report works fine if I run the report for one invoice/credit note. Unfortunately, when I run the report for a range of invoices e.g. inv nums 1000 - 1020, (which can contain a mixture of credit notes and invoices), only one field does the conditional formatting.
    The field that keeps the format is a Formula column in the inv header fixed frame (above it are 2 repeating frames) If contents of field = CREDIT NOTE then change font colour.
    The fields that won't do the conditional formatting are in the margin (page footer on the invoice). The field I use for the test is the same as the test used in the header. I’ve had several error messages, the most common being ‘…wrong frequency…’ I’ve tried putting the value in a Summary and Placeholder columns and I’ve tried adding these columns to the query in the data model. In fact I’ve tried that many things I can’t remember what I’ve tried.
    To complicate matters all the fields in the margin are either Placeholder, Summery of Formula columns. None of which holds anything that I can do a test on (They are either address/account or payment details etc).
    Any help would be greatly appreciated as I can’t afford to loose anymore hair.
    Cheers
    Mike

    Hi Mark
    I think its solved. I've extended the header frame as far as I can and placed some of the footer info in the header. I've ran a couple of tests, so far things are looking good. Format is working and feilds stay where I want them. Unfortunately it means me extending other frames to allow me to extend the header frame to the bottom of the page etc as well as moving all the stuff from the margin, but I suppose thats what I get paid for.
    Thanks for your help.
    Mike

Maybe you are looking for

  • Creation of batch job Schedule

    How to create new batch job Schedule ? Regards, Sridhar

  • How to control Order/Target Quantity with reference to Contract Quantity

    Hello GURUs, In my current organization, there is one scenario in which i have to control target quantity in sales contract e.g., i have created sales contract of 100 MT (contract no : 123), and with reference to that contract i have created another

  • Need help switching Flash slideshow

    I admit it, I need help! Here is my problem, I want the links on the left to change the Flash slideshow on the right when clicked. I want to stay on this page, so only the Flash slideshow changes. This is the site I'm working on.... http://www.hwas.c

  • Broadcast online link by Email : How to remove automatically inserted text

    Hello all. It's been a month I've been working on broadcasting, and I am starting to get skilled on it , or at least, I am starting to get very precise needs ... I am broadcasting email with online link inserted into it. At the end of the mail body,

  • Solaris 8 (intel) installation

    I have not been successful to install Solaris 8 (Intel version).I am installing from the (Install CD) and I get to the Solaris Boot screen that says: Select one of the identified devices to boot the Solaris Kernel and choose F2 to continue. Solaris i