Conditional format current month and the next 2 months

mickyd67

Board Regular
Joined
Jul 13, 2011
Messages
80
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Any kind soul help me with this one?

I know you can conditionally format dates in the future etc, but it only goes out to the following month.

If I wanted to highlight June, July & August, as of today, is there a formula / condition I can use to do that?
 
Edit - OK, I'll try the above
It all is dependent on your data layout.
Where do these dates exist (what is the range)?

You would select the range you want to apply this Conditional Formatting to, and then enter the formula as it relates to the very first cell in your selected range.
So the formula we gave you is if cell A2 is the first cell in your selected range.
Excel Formula:
=AND(A2>TODAY(),A2<=EOMONTH(TODAY(),2))
If the first cell in the range you selected is different than A2, you need to change A2 to that cell address.
 
Upvote 0

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Got this one to work!

Many thanks :)

=AND(A2>TODAY(),A2<=EOMONTH(EDATE(TODAY(),2),0))
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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