+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Use date to change font/shade/border

  1. #1
    Registered User
    Join Date
    02-06-2010
    Location
    North East, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Use date to change font/shade/border

    I'm looking for a formula that will use the =IF(NOW()=DATEVALUE formula to check the current date and highlight a field if the current date is within 7 days of a date entered.

    Example:
    date entered = 12th.
    If current date = 5th - 11th, then highlight = yellow
    If current date = 12th, then highlight = green
    if current date = 13th - 20th, then highlight = red

    Is this even partly possible, and if so, how?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Use date to change font/shade/border

    Hi,

    Three conditional formats, Green, Yellow and Red in this order using the 'formula' option rather than the cell value option.

    Please Login or Register  to view this content.
    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-06-2010
    Location
    North East, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Use date to change font/shade/border

    Please excuse me. I'm fairly new to using formulas in Excell.

    Could you explain this in a bit more detail for me?
    I've pasted the code into a field, but that only called back a "false" response.

+ 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.6.0 RC 1