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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
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,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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