Conditional formatting for changing column color if between more than 7 days and less than 10 days

Jyotirmaya

Board Regular
Joined
Dec 2, 2015
Messages
205
Office Version
  1. 2019
Platform
  1. Windows
I am using formula in conditional formatting to highlight cells of date which is of lesser than 7 days of Today's date.

=AND(E:E<TODAY(),E:E<(TODAY()-7))

I want a formula that it should highlight the color of dates which is of more than 7 days and and less than or equal to 10 days which will highlight a different color and another formula if the date is more than 10 days then a different color. Kindly help with the formula
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
dates which is of more than 7 days and and less than or equal to 10 days
AND( E1<Today()-7, E1>=Today()-10)
date is more than 10 days then a different color.
=AND(E1<today()-10,E1<>"")
As a blank cell is seen as blank 0 and excel thinks this is Jan 1900
So the
E1<>""
Checks to make sure the cell is NOT blank
 
Upvote 0
Solution
AND( E1<Today()-7, E1>=Today()-10)

=AND(E1<today()-10,E1<>"")
As a blank cell is seen as blank 0 and excel thinks this is Jan 1900
So the
E1<>""
Checks to make sure the cell is NOT blank
Thank you so much :)
 
Upvote 0

Forum statistics

Threads
1,224,395
Messages
6,178,346
Members
452,841
Latest member
GenAkaman

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