Conditional Formatting for Quarters Based on a specific date

aasher1

New Member
Joined
Jan 25, 2017
Messages
9
I have fields that have a formula that enters a month and year, for 13 months, based on the date in a cell A5. This month and year changes based on the date entered. Could be January, could be November, but I need the cell to fill with a particular color based on the month/quarter in which it falls. See Below.

Quarter Based on
date in cell A5
Date in these cells
change based on
formula result in
cell B14:N14
(See Table at bottom)
YELLOW/Q1
Jan-Mar
Apr-Jun
Apr-Jun
Jul-Sep
Jul-Sep
Oct-Dec
Oct-Dec
Jan-Mar*
ORANGE/Q2
Jan-Mar
Jul-Sep
Apr-Jun
Oct-Dec
Jul-Sep
Jan-Mar
Oct-Dec
Apr-Jun*
RED/Q3
Jan-Mar
Oct-Dec
Apr-Jun
Jan-Mar
Jul-Sep
Apr-Jun
Oct-Dec
Jul-Sept*
BLUE/Q4
Jan-Mar
Jan-Mar
Apr-Jun
Apr-Jun
Jul-Sep
Jul-Sep
Oct-Dec
Oct-Dec*
Cell A5 Date =
06/25/18

<tbody>
</tbody>


* Will be the following year.

I know this is stretch or it's much easier then I'm making it.

You're help is greatly appreciated.


Contacts
Month/Year
Jul / 18
Aug / 18
Sep / 18
Oct / 18
Nov / 18
Dec / 18
Jan / 19
Feb / 19
Mar / 19
Apr / 19
May / 19
Jun / 19
Jul / 19

<tbody>
</tbody>
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
I forgot to add that the months for the quarter in which the date in cell A5 falls does not get a color. If date in A5 = 1/25/18, the first month will be Feb/18. Feb/18 and Mar/18 will not have a color.

Thank you.
 
Upvote 0

Forum statistics

Threads
1,215,750
Messages
6,126,663
Members
449,326
Latest member
asp123

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