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
199
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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
5,246
Office Version
  1. 365
Platform
  1. MacOS
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
 
Solution

Jyotirmaya

Board Regular
Joined
Dec 2, 2015
Messages
199
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 :)
 

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
5,246
Office Version
  1. 365
Platform
  1. MacOS
you are welcome
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,126
Messages
5,768,264
Members
425,460
Latest member
Astros1243

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
Top