Conditional format current month and the next 2 months

mickyd67

Board Regular
Joined
Jul 13, 2011
Messages
78
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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Got this one to work!

Many thanks :)

=AND(A2>TODAY(),A2<=EOMONTH(EDATE(TODAY(),2),0))
 
Upvote 0
You are welcome!
Glad we were able to help!
 
Upvote 1

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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