Auto Highlight other cells based date range

Steves73

Board Regular
Joined
Oct 19, 2016
Messages
173
Office Version
  1. 365
Platform
  1. Windows
Hi All

I am try to have cells highlighted based on date range. Based on below I would assume I use conditional formatting whereby the dates in A3 and B3 would be used to highlight cells E2 to G2. This will change based on the changing of dates in A3 and B3

Any suggestions


1690407046015.png
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Book1
ABCDEFGHIJKLMN
1Date1/07/20232/07/20233/07/20234/07/20235/07/20236/07/20237/07/20238/07/20239/07/202310/07/202311/07/202312/07/2023
2ABABABABABAB
33/07/20235/07/2023
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C2:N2Expression=AND(C$1>=$A$3,C$1<=$B$3)textYES
 
Upvote 0
Solution

Forum statistics

Threads
1,216,089
Messages
6,128,760
Members
449,466
Latest member
Peter Juhnke

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