Trying to create an overdue message based on set dates

G

Guest

I have a simple grid spreadsheet with a list of road names down the left and
1st cut, 2nd cut, 3rd cut etc along the top. The idea is to show how many
times the grass in each road is cut. There should be one cut every two weeks
and the date of that cut is then entered. What i would like to do is create a
formula whereby all the roads against 1st cut automatically display the
message 'overdue' if they haven't been visited within two weeks of the start
date (the start date could be 1st January for instance). The 2nd cut should
be four weeks from the start, 3rd cut six weeks so on and so on.

Any help would be greatly appreciated

Thanks
Craig
 
S

Suleman

I have a simple grid spreadsheet with a list of road names down the left and
1st cut, 2nd cut, 3rd cut etc along the top. The idea is to show how many
times the grass in each road is cut. There should be one cut every two weeks
and the date of that cut is then entered. What i would like to do is create a
formula whereby all the roads against 1st cut automatically display the
message 'overdue' if they haven't been visited within two weeks of the start
date (the start date could be 1st January for instance). The 2nd cut should
be four weeks from the start, 3rd cut six weeks so on and so on.

Any help would be greatly appreciated

Thanks
Craig

Have you tried using the conditional formatting function in the cell
format menu? This would allow you for example to make the cell turn
red if the date specified in the cell was beyond todays date.
 
H

Herbert Seidenberg

I second Suleman's suggestion.
If you have these dates, starting at A1
1/1/2007 1/14/2007 1/29/2007 2/13/2007
enter this conditional format formula for A2:A4
=DATEDIF($A$1,B$1,"d")>(COLUMN()-1)*14
Cell D3 should turn red.
 
H

Herbert Seidenberg

If you prefer this format:
2/2/2007 2/15/2007 2/28/2007 3/17/2007
OK OK Overdue
then put this formula into B2 and copy to the right:
=IF((B1-$A1)>(COLUMN()-1)*14,"Overdue","OK")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top