Eomonth conditional formating

JoeNichols

New Member
Joined
Jun 1, 2019
Messages
6
I am trying to add conditional formatting using end of month.

What I am hoping to have is this:
Enter a date in "A1"
Next "A2" has formula "=EOMONTH(A1,36)"

I would like to have three conditional formats showing
"Green" if today's date is in the preceding calendar month or earlier than "A2"
"Yellow" if today's date is within the calendar month of "A2"
"Red" if today's date is after the calendar month of "A2"

I would also like to have this shown on a different sheet in the same workbook if possible.

Thanks.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

JoeNichols

New Member
Joined
Jun 1, 2019
Messages
6
Also, is it possible to have the "A2" cell
(Next "A2" has formula "=EOMONTH(A1,36)")
only show the result of the formula if a date is typed in "A1", otherwise be shown as blank?
 

Watch MrExcel Video

Forum statistics

Threads
1,129,316
Messages
5,635,521
Members
416,862
Latest member
MGDlite

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