ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Format - Date + 7 (https://www.excelbanter.com/excel-discussion-misc-queries/185332-conditional-format-date-7-a.html)

JDB

Conditional Format - Date + 7
 
I have a spreadsheet with a start date in column F starting at row 3. Column
M needs to be highlighted a different colour if the value in F3 goes over 7
days. If there is already a date in column M, then this should be ignored.
However, if the date in column M goes 7 days or more itself, then this also
needs to be highlighted. Is there a way of using conditional formatting to
achieve the above?

Regards,

JDB

MartinW

Conditional Format - Date + 7
 
Hi JDB,

It's a bit confusing but try a CF in column M with Formula is:

=AND(NOT(ISBLANK(M3)),OR(TODAY()F3+7,TODAY()M3+7 ))

If that doesn't work then you need to give better details of when cols F and
M
are and aren't populated etc. and also more info all round.

HTH
Martin



"JDB" wrote in message
...
I have a spreadsheet with a start date in column F starting at row 3.
Column
M needs to be highlighted a different colour if the value in F3 goes over
7
days. If there is already a date in column M, then this should be ignored.
However, if the date in column M goes 7 days or more itself, then this
also
needs to be highlighted. Is there a way of using conditional formatting to
achieve the above?

Regards,

JDB




MartinW

Conditional Format - Date + 7
 
I'm not sure what is happening here.
The formula is showing in my immediate window with a semi-colon
in the middle of it, but not in my posting window.
??????
Whatever, if a semi-colon is showing change it to a comma.

Regards
Martin



"MartinW" wrote in message
...
Hi JDB,

It's a bit confusing but try a CF in column M with Formula is:

=AND(NOT(ISBLANK(M3)),OR(TODAY()F3+7,TODAY()M3+7 ))

If that doesn't work then you need to give better details of when cols F
and M
are and aren't populated etc. and also more info all round.

HTH
Martin



"JDB" wrote in message
...
I have a spreadsheet with a start date in column F starting at row 3.
Column
M needs to be highlighted a different colour if the value in F3 goes over
7
days. If there is already a date in column M, then this should be
ignored.
However, if the date in column M goes 7 days or more itself, then this
also
needs to be highlighted. Is there a way of using conditional formatting
to
achieve the above?

Regards,

JDB







All times are GMT +1. The time now is 04:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com