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

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
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?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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