Conditional formatting entire row based on a "between" date condition.

randall.stokes

New Member
Joined
May 3, 2010
Messages
1
I am trying to build a roster to track when Soldiers are about to get out of the Army. There are three windows; 30 days until ETS, 60 days until ETS, and 90 days. In column D I have the date that they will get out of the Army and I wish to format the entire row a specific color based on the window in which they fall in. I know it is possiable, but for the life of me I can not figure it out, and I would like to do this with out VBA. Can you please help?


=INDIRECT("D"&ROW())<TODAY() p <> I've got this far for Soldiers that have already gotten out, but I can't make it work between two dates.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi Randall & Welcome to the forum,

In conditional formatting you can add three conditions and in this order top to bottom.

=D1<=TODAY()-90
=D1<=TODAY()-60
=D1<=TODAY()-30

Select your fill and you are ready to go

Better yet, if this list is big you could put =TODAY() in a cell, define the cell with a name (Date) and then instead of =D1<=TODAY-90 you can now have =D1<=Date-90

http://www.xldynamic.com/source/xld.CF.html#due

The benefit to this is only one cell updates to the date instead of many
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,865
Messages
6,121,988
Members
449,060
Latest member
mtsheetz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top