Odd Quarterly date, Conditional Formatting

Sikorsky27

New Member
Joined
Jun 24, 2021
Messages
40
Office Version
  1. 2016
Platform
  1. Windows
Trying to set conditional formatting rule to do color for each Quarter. Quarter 1 starts 01 February to April 30th. I have tried to highlights between dates but I don't want to have to keep adding conditions every quarter to meet the standard. I would like it to populate automatically pending date/quarter it falls under.

Quarters: Beginning of Month to the end of the month listed.

1=February to April
2=May to July
3=August to October
4=November to January

Earliest date started in August of 2019 and I need it to go indefinitely forward from Aug 2019 time period.

Thank you for whom ever assist me.

CKL Status.xlsm
AB
1Date of Entry
23/1/2021
312/15/2019
49/3/2019
56/15/2021
64/30/2021
78/28/2019
82/19/2020
92/9/2021
1012/15/2019
116/25/2021
122/9/2021
132/19/2020
149/10/2021
153/25/2021
169/22/2020
174/30/2021
1812/15/2019
192/2/2020
203/31/2020
211/18/2021
223/1/2021
233/1/2021
249/9/2019
259/9/2019
2612/15/2019
275/20/2020
285/27/2020
Data
Cells with Conditional Formatting
CellConditionCell FormatStop If True
AB2:AB400Cell Valuebetween 43497 and 43585textNO
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
You haven't told us which quarters should be which colors.
Also, do we care which year the quater is in?
Should Quarter 1 of 2020 be the same color of Quarter 1 in 2021?
 
Upvote 0
You haven't told us which quarters should be which colors.
Also, do we care which year the quater is in?
Should Quarter 1 of 2020 be the same color of Quarter 1 in 2021?
I am using same color's per quarter no matter what year... just breaking down what is in which Quarter that is all. I have selected colors: Q1 Red 0, Green 176, Blue 80... Q2 Red 255, Green 255, Blue 0... Q3 Red 255, Green 255, Blue 204... Q4 Red 198, Green 224, Blue 180
 
Upvote 0
How about
+Fluff 1.xlsm
AB
1Date of Entry
201/03/2021
315/12/2019
403/09/2019
515/06/2021
630/04/2021
728/08/2019
819/02/2020
909/02/2021
1015/12/2019
1125/06/2021
1209/02/2021
1319/02/2020
1410/09/2021
1525/03/2021
1622/09/2020
1730/04/2021
1815/12/2019
1902/02/2020
2031/03/2020
2118/01/2021
2201/03/2021
2301/03/2021
2409/09/2019
2509/09/2019
2615/12/2019
2720/05/2020
2827/05/2020
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
AB2:AB28Expression=MEDIAN(MONTH(AB2),8,10)=MONTH(AB2)textNO
AB2:AB28Expression=OR(MONTH(AB2)>10,MONTH(AB2)=1)textNO
AB2:AB28Expression=MEDIAN(MONTH(AB2),5,7)=MONTH(AB2)textNO
AB2:AB28Expression=MEDIAN(MONTH(AB2),2,4)=MONTH(AB2)textNO
 
Upvote 0
Solution
OK, use the Formula option for Conditional Formatting, select AB2:AB400, then enter this for the first formula (for quarter 1):
Rich (BB code):
=IF(MONTH(AB2)=1,4,ROUNDUP((MONTH(AB2)-1)/3,0))=1
and choose your red color.

Repeat the same formula for the other three CF rules, just changing the "1" in red at the end to "2" for quarter 2, etc, etc for the rest.
 
Upvote 0
How about
+Fluff 1.xlsm
AB
1Date of Entry
201/03/2021
315/12/2019
403/09/2019
515/06/2021
630/04/2021
728/08/2019
819/02/2020
909/02/2021
1015/12/2019
1125/06/2021
1209/02/2021
1319/02/2020
1410/09/2021
1525/03/2021
1622/09/2020
1730/04/2021
1815/12/2019
1902/02/2020
2031/03/2020
2118/01/2021
2201/03/2021
2301/03/2021
2409/09/2019
2509/09/2019
2615/12/2019
2720/05/2020
2827/05/2020
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
AB2:AB28Expression=MEDIAN(MONTH(AB2),8,10)=MONTH(AB2)textNO
AB2:AB28Expression=OR(MONTH(AB2)>10,MONTH(AB2)=1)textNO
AB2:AB28Expression=MEDIAN(MONTH(AB2),5,7)=MONTH(AB2)textNO
AB2:AB28Expression=MEDIAN(MONTH(AB2),2,4)=MONTH(AB2)textNO
You my friend are amazing, thank you and works beautifully!!
 
Upvote 0

Forum statistics

Threads
1,214,994
Messages
6,122,633
Members
449,092
Latest member
bsb1122

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