+ Reply to Thread
Results 1 to 9 of 9

Can't get overdue date conditional formatting to work

  1. #1
    Registered User
    Join Date
    06-08-2014
    Posts
    3

    Can't get overdue date conditional formatting to work

    Hi Everyone,

    Please could I have some assistance with my problem. I have attached the spreadsheet I am having trouble with. I am trying to set it up so that when an invoice is logged the invoice number turns orange. When the invoice is paid, it turns green. I have managed these two so far. Now I need a third function where if payment is not received by the date specified the invoice cell must turn red. I tried the formula of =$C<TODAY() but for some reason it will not change the cell colour. Regardless if it is overdue or not yet.

    I've been searching high and low for days to resolve this. An explanation to the solution will be appreciated so I can learn from this problem.

    Thank you.
    Warren
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-16-2013
    Location
    Yorkshire
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Can't get overdue date conditional formatting to work

    The formula you provided worked just fine for me. <NOW() also works.

    Only thing I can think of is that you need to make sure the red rule is above the orange rule in the conditional formatting hierarchy. Also =$C<TODAY() needs an unlocked row number to be valid. Assume you were just generalizing and know that already however.
    Last edited by -AJ-; 06-08-2014 at 07:47 PM.

  3. #3
    Forum Contributor
    Join Date
    01-25-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    434

    Re: Can't get overdue date conditional formatting to work

    Hi Warren

    I've come across this type of problem before
    CF doesn't seem to like dates or times
    fix for this has been to reference cells that don't have any date or time formatting

    using 'helper' columns seems to be a work round
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Can't get overdue date conditional formatting to work

    AJ just FYI, I would only use NOW() if you need to check the time as well, otherwise TODAY() is the better option.

    And another thing to consider, if this (CF) is being applied to a large list of data - and you want to use the TODAY() function, I suggest you put TODAY some place in it's own cell and then reference it. TODAY() (and NOW) is a dynamic function, it recalcs with every worksheet change - it will start to slow things down if used in large numbers.

    Having said that, if you are comparing Payment Due vs Recieved dates, then maybe another new rule using this...
    =$C3>$E3

    edit: @ 32 "CF doesn't seem to like dates or times" not so, you just have to use the right formulas/references
    Last edited by FDibbins; 06-08-2014 at 08:04 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    01-25-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    434

    Re: Can't get overdue date conditional formatting to work

    @Ford - how come then, when using formula in CF at cells that have dates gives a different outcome to when it references cells that just have Value(date), as in the file i uploaded

  6. #6
    Forum Contributor
    Join Date
    01-25-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    434

    Re: Can't get overdue date conditional formatting to work

    one way of getting rid of those additional columns would be to apply this formula to CF

    Please Login or Register  to view this content.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Can't get overdue date conditional formatting to work

    Quote Originally Posted by ThirtyTwo View Post
    @Ford - how come then, when using formula in CF at cells that have dates gives a different outcome to when it references cells that just have Value(date), as in the file i uploaded
    Because those "dates" are actually text, not dates (I did not catch that until you brought that up). Test with =ISNUMBER(cell ref)

  8. #8
    Registered User
    Join Date
    06-08-2014
    Posts
    3

    Re: Can't get overdue date conditional formatting to work

    Hi ThirtyTwo,

    This worked like a charm. Thank you very much for the help and the speedy response! One day I'll be a wiz like you guys.

    Cheers

  9. #9
    Registered User
    Join Date
    06-08-2014
    Posts
    3

    Re: Can't get overdue date conditional formatting to work

    @FDibbins,

    I see what you mean. If I enter the date as "7 June 2014" and have the format set to short date that seems to also do the trick. It obviously was not seeing the date I entered as a "date".

    Again thank you to all for helping out so quickly and responding to my question.

    Cheers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Conditional formatting for overdue and due soon, plus totalling these
    By dvs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-06-2013, 08:58 AM
  2. Conditional Formatting a row that is overdue
    By Mikejbona in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2012, 06:06 PM
  3. Replies: 0
    Last Post: 04-10-2012, 11:56 AM
  4. Replies: 1
    Last Post: 02-02-2012, 04:06 AM
  5. conditional formatting overdue dates
    By Joooooooo in forum Excel General
    Replies: 1
    Last Post: 02-07-2005, 10:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1