+ Reply to Thread
Results 1 to 8 of 8

Thread: Date Query

  1. #1
    Registered User
    Join Date
    07-01-2009
    Location
    Leicester, England
    MS-Off Ver
    Excel 2004
    Posts
    3

    Question Date Query

    Hi All

    I am pretty new to excel, using MS2004.

    I am entering dates in a column, that tell me when documents have been sent to clients.

    Is there anyway of setting a formula that changes the colour of the cell 14 days after the entered date? (So we can see what documents are due back?)

    Many thanks
    Carl

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: Date Query

    have a read through the Contextures website chapter on Conditional Formatting - in the third section there are examples of a variety of tests, one of which being date related.

    http://www.contextures.com/xlCondFormat01.html

  3. #3
    Registered User
    Join Date
    07-01-2009
    Location
    Leicester, England
    MS-Off Ver
    Excel 2004
    Posts
    3

    Re: Date Query

    Many thanks for your quick response -

    One last query -

    I am dealing with varied dates -
    After choosing the 'greater than'

    What do i type in the text box if i want a 14 day warning?
    '14 days'

  4. #4
    Registered User
    Join Date
    05-28-2009
    Location
    Springfield, Missouri, USA
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Date Query

    If the date that the document was sent is in cell D2 for example, put a formula in E2 that is something like =TODAY()-D2. Make sure that this column is not formatted as a date. Then use the conditional formatting set at greater than 14.

  5. #5
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: Date Query

    You might want to investigate the FormulaIs based approach...

    http://www.contextures.com/xlCondFormat03.html#Expiry

  6. #6
    Registered User
    Join Date
    05-28-2009
    Location
    Springfield, Missouri, USA
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Date Query

    I was hurrying off to work when I replied earlier... it might work easier for you to set the conditional formatting option to Formula Is: =TODAY()-D2>14 where D2 is the date you're comparing. Set the format to Red. Then use the format painter to change any other cells to the same conditional format. This approach doesn't require any extra columns to be used.

  7. #7
    Registered User
    Join Date
    07-01-2009
    Location
    Leicester, England
    MS-Off Ver
    Excel 2004
    Posts
    3

    Re: Date Query

    Thanks Highbarger

    If my column has different dates -
    Do i just select all of the column and put in -

    "> 14 days"

    ??
    Thanks
    Carl

  8. #8
    Registered User
    Join Date
    05-28-2009
    Location
    Springfield, Missouri, USA
    MS-Off Ver
    Excel 2007
    Posts
    33

    Re: Date Query

    No, set the conditional formatting for the first cell. Then with that cell selected, click on the Format Painter button and drag it over all the cells with dates that you want the same format applied to.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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