Conditional Formating a series of dates based on pairs of dates

HighlandRanger

New Member
Joined
Feb 8, 2021
Messages
21
Office Version
  1. 365
Platform
  1. MacOS
I am trying to color alternating groups of days based upon a series of dates. For example:

Based up whether or not a pair of dates are an ODD pair or EVEN Pair, I want too be able to color a group of dates on the date line to the right. I have manually colored the grouping to show an example.

Here are my reference dates:
DateColoring.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBN
1NUMBERStart DateEnd DateODD/EVEN
2112/23/201/5/21FALSE23242526272829303112345678910111213141516171819202122232425262728293031123456789101112131415161718192021
321/6/211/19/21TRUE
431/20/212/2/21FALSE
542/3/212/16/21TRUE
652/17/213/2/21FALSE
763/3/213/16/21TRUE
873/17/213/30/21FALSE
983/31/214/13/21TRUE
1094/14/214/27/21FALSE
11104/28/215/11/21TRUE
12115/12/215/25/21FALSE
13125/26/216/8/21TRUE
14136/9/216/22/21FALSE
15146/23/217/6/21TRUE
16157/7/217/20/21FALSE
17167/21/218/3/21TRUE
18178/4/218/17/21FALSE
19188/18/218/31/21TRUE
20199/1/219/14/21FALSE
21209/15/219/28/21TRUE
22219/29/2110/12/21FALSE
232210/13/2110/26/21TRUE
242310/27/2111/9/21FALSE
252411/10/2111/23/21TRUE
262511/24/2112/7/21FALSE
272612/8/2112/21/21TRUE
Sheet1
Cell Formulas
RangeFormula
G2:BN2G2=F2+1
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,214,827
Messages
6,121,824
Members
449,050
Latest member
Bradel

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