Rules/Formulas with dates and colors

sassriverrat

Well-known Member
Joined
Oct 4, 2018
Messages
655
Good Afternoon,

I'm drawing a blank here on something that should otherwise be simple.....

I have today's date in cell A1.
For monthly inspections, I have columns B and C populated with the date of inspection (B1-B10) and when the next inspection is due (C1-C10). So if the inspection is due March 15 (C1) and there's nothing, or a date prior to march in B1, then the rule makes cell C1 red. As long as the "next due" (C column) is at least one month ahead, nothing turns red.

I need to adjust this concept for a few quarterly inspections. I wold like it such that the year (Jan-Dec) is divided into quarters. Therefore, if the date in B1 is Feb 5, 2020, then the "Due" in C1 can be anytime in the next quarter and it won't turn red until a quarter has passed. Does that make sense? For example, incorrectly setup right now, the B1 date is Feb 5 and my formula
Code:
=edate(b1,1)
shows the next inspection is due march 5 and therefore the cell is red. this should go to the next quarter and not be red...until we are entering that quarter.

Thanks for the help!

Rule is simple currently,
Code:
cell < A1 (date)
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,214,943
Messages
6,122,380
Members
449,080
Latest member
Armadillos

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