• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Date formulas and cell colour help please (excel 2010)

helenw

New Member
Hi, I'm hoping someone can help me with some formulas I need for a work spreadsheet, any advice much appriciated!


So I've got my spreadsheet set up and would like it to highlight when I need to chase up items which have not been returned within a certain timeframe.


I have the date an item has been posted in cell F2. I need cell G2 to show the date the item is due to be returned (this should be 4 weeks after the date in F2). I would also like the cell G2 to be highlighted yellow if the due date is today, orange if it is 1-3 days late and red if it is 4+ days late.


I intend to enter the date the item was recieved in cell H2, so if there is a date value in H2 then G2 would not need to change colour at all.


I hope I have explained this well enough, does anyone know if this is possible and if so how I would go about it?


Many thanks in advance for your help!
 
Formula in G2:

=F2+7*4


Conditional format the cell using these 3 rules:

Formula 1:

=AND(ISBLANK(H2),TODAY()=G2)

Format yellow


Formula 2:

=AND(ISBLANK(H2),G2<=TODAY()-3)

Format orange


Formula 3:

=AND(ISBLANK(H2),G2<=TODAY()-4)

Format red
 
Back
Top