Excel 2007 Conditional Format ROW between TODAY() and +14 Days

thart21

Board Regular
Joined
Mar 3, 2005
Messages
159
I can only seem to find info on this where there is a specific date range or they only want to highlight an individual cell.

I currently have this as my formula which highlights the entire row if the date in cell "T" is exactly 14 days from today's date, but not between, i.e. today it would highlight only dates that have 6/30/2011. I need it to highlight the entire row if the date falls between TODAY() and 14 days from today.

=INDIRECT("T"&ROW())=DATE(YEAR(TODAY()),MONTH(TODAY()),DAY(TODAY())+14)

I know it's close, just need to know where/what to add to it.

Thanks!

Toni
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi Toni,

You can use this formula for all cells on Row2:
=AND($T2>=TODAY(),$T2<=TODAY()+14)

To use Conditional Formatting with this formula, let's assume
you want to apply the formatting to Cells A2:Z100

Select Cell A2, then open the Conditional Rules Manager
(In the ribbon: Home > Conditional Formatting > Manage Rules...)

click New Rule
Select a Rule Type: pick Use a formula to determine which cells to format
Rule Description:
Format values where this formula is true: enter =AND($T2>=TODAY(),$T2<=TODAY()+14)
Format: Pick your format
click Ok

In the Applies To: field, enter =$A$2:$Z100
(or use the pick range button to select the columns you want)

That should do it. A key to making one formula work for all the cells is to use
$T2 in the formula and not $T$2
 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,984
Members
449,058
Latest member
oculus

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