+ Reply to Thread
Results 1 to 10 of 10

Conditional Formatting to show age of invoice?

  1. #1
    Registered User
    Join Date
    06-08-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    3

    Cool Conditional Formatting to show age of invoice?

    Hi
    I'm looking to add some conditional formatting that will highlight a row when an invoice becomes 30 days old, 60 days old and greater than 90 days old.
    Can anybody advise me if this is possible and if so, the formula I need to add?

    Many thanks in advance

  2. #2
    Registered User
    Join Date
    06-08-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Conditional Formatting to show age of invoice?

    Select the range of data you want to format and use the following for each condition

    =and(today()-$A1>=30,today()-$A1<59)
    =(today()-$A1>=60,today()-$A1<89)
    =(today()-$A1>=90)

    Hopefully it should work
    Last edited by phoenixphi; 06-08-2012 at 05:53 AM.

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,605

    Re: Conditional Formatting to show age of invoice?

    @phoenixphi
    If you use that option you need to use the AND function like
    Please Login or Register  to view this content.
    Your solution can be shortened going the other way round
    CF1
    Please Login or Register  to view this content.
    CF2
    Please Login or Register  to view this content.
    CF3
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-17-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    42

    Re: Conditional Formatting to show age of invoice?

    Please see attached file for your reference. You did not upload your file, so it may not meet your exact expectation.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-08-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Conditional Formatting to show age of invoice?

    Thanks everyone.

    I'm not sure how to upload a file sorry!

    Is it possible to highlight the whole row rather than just the cell when the conditions are met? If so, would it be possible for another file to be uploaded with the formula on?

  6. #6
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Conditional Formatting to show age of invoice?

    another method is highlight row 1 and formula 1 =IF($A1<=TODAY()-90,TRUE,FALSE) format colour
    formula 2 =IF($A1<=TODAY()-60,TRUE,FALSE) format colour
    formula 3 =IF($A1<=TODAY()-30,TRUE,FALSE) format colour
    copy down as needed
    Last edited by grizzly6969; 06-08-2012 at 06:33 AM.

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,605

    Re: Conditional Formatting to show age of invoice?

    @grizzly

    The use of If, TRUE FALSE is implicit in CF and therefore unnecessary

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,605

    Re: Conditional Formatting to show age of invoice?

    Quote Originally Posted by leven View Post
    Thanks everyone.

    I'm not sure how to upload a file sorry!

    Is it possible to highlight the whole row rather than just the cell when the conditions are met? If so, would it be possible for another file to be uploaded with the formula on?

    As Phoenix described, you should select your entire range. So, if you need to format range A1:C5, highlight it entirely starting in A1 and enter the suggested formulas - The $ before the A in $A1 is the important part

  9. #9
    Registered User
    Join Date
    06-08-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Conditional Formatting to show age of invoice?

    This is probably a daft question but does the $A1 refer to the cell that the date of invoice would be in?

  10. #10
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,605

    Re: Conditional Formatting to show age of invoice?

    Indeed - But you can replace it with any other reference

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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