+ Reply to Thread
Results 1 to 4 of 4

CF to colour cells that show a date approaching todays date

  1. #1
    Forum Contributor
    Join Date
    08-22-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    157

    CF to colour cells that show a date approaching todays date

    I am looking for a formula that will allow me to shade cells that show a date that is within a week away from todays date.

    I basically have a spreadsheet with multiple columns and data, one of which is a project starting date, I need to be able to see when the project is within a week away from beginning. I have hundreds of project so there are many dates, therefore I am looking to use CF to help me.

    I already have a formula in place to highlight cells that show a date that has already gone past todays date:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    but I am unsure on how to alter this further, I have tried adding in "-7" and "+7" in various places but it does not seem to work.

    If you could help me I would be very grateful and obviously would Add to your Reputation.

    Thanks in advance
    If this answer helped you then could you please click "Add Reputation"

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: CF to colour cells that show a date approaching todays date

    Hello Alexander try this =AND(MONTH($H3)=MONTH(TODAY()),H3-TODAY()>=1,H3-TODAY()<=7)
    Last edited by hemesh; 10-24-2013 at 04:20 AM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Forum Contributor
    Join Date
    08-22-2013
    Location
    Kent, England
    MS-Off Ver
    Excel 2010
    Posts
    157

    Re: CF to colour cells that show a date approaching todays date

    Quote Originally Posted by hemesh View Post
    Hello Alexander try this =AND(MONTH($H3)=MONTH(TODAY()),H3-TODAY()>=1,H3-TODAY()<=7)
    Perfect first time! Thank you very much!

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: CF to colour cells that show a date approaching todays date

    You are welcome Alexander

+ 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. changing colour of cell if todays date equals the first day of the month
    By ConfusedaboutVBA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2013, 08:03 PM
  2. [SOLVED] colour tabs by todays date
    By nnguys in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2012, 11:06 AM
  3. Replies: 3
    Last Post: 05-17-2011, 09:44 AM
  4. Replies: 1
    Last Post: 07-01-2010, 11:32 AM
  5. Colour a whole line on todays date
    By djfatboyfats in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-16-2008, 07:18 PM

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