![]() |
Formating a row based on one cell's date
Hello,
I'm working on a spreadsheet that has columns A - G. Column A has the dates. I would like to create a format that will highlight the entire row if column A has a date within the past 7 days. In my example for of the rows should be highlighted. I was able to find formulas that only worked on one cell. Can someone help me with this? PLEASE & THANK YOU! **Example** 7/17/12 DEA MA ACCT CONT Closed 7/13/12 HHI MA ACCT CONT Closed 7/10/12 MMG MA ACCT CONT Closed 7/16/12 ABC P ACCT CONT Closed 7/13/12 TAL W ACCT CONT Closed 7/20/12 HOK P ACCT CONT Closed |
1 Attachment(s)
Quote:
Is this what you mean? You use conditional formatting and lock the column using $ in the formula. Have a look at the conditional formatting rule to see what I mean. |
Thanks for the response but I'm looking for one rule instead of two.
|
Quote:
You could use =$A1=TODAY()-6 but that will also highlight rows with dates in the future. |
I made a change to the "applies to" field now everything works perfectly....I have more last question. If I wanted to use the same rule but only highlight rows that had a status other than 'CLOSED' how would I go about it?
|
Quote:
=AND($A1=today()-6,F1<"Closed") Change F to whichever column your "Closed" is recorded in if not F. Hope that helps. |
Quote:
|
1 Attachment(s)
Quote:
|
Quote:
|
Quote:
|
Quote:
=AND($A1=TODAY()-6,$A1<=TODAY(),$F1<"Closed") |
Quote:
|
Quote:
|
All times are GMT +1. The time now is 09:56 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com