+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting date

  1. #1
    Registered User
    Join Date
    12-02-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    8

    Conditional formatting date

    Hi there,

    I'm after some help with conditional formatting.

    I have a date in the past and I would like a colour to show when that date is 12mths old and a seperate colour to show when that date is 11mths old, please help!

    Thanks

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Conditional formatting date

    try :
    =(today()-A1)>=365 for first
    =And((today()-A1)<365,(today()-A1)>=334.4) for the second

    Hope this helps

    :note- this is a rough calculation, the assumption being 30.4 days in a month

    Edit..

    proper value for 11 months..based on my assumptio, in red..worked it backwaards first time..sorry
    Last edited by dredwolf; 12-06-2012 at 01:22 AM.
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Conditional formatting date

    Use the below formula's in your conditional formatting

    To check whether the date is 12 Moths Old
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    To check whether the date is 11 Moths Old
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    12-02-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Conditional formatting date

    Great help, thanks guys!

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Conditional formatting date

    You are welcome

+ 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