Conditional Formatting Based on Multiple Dates

muleevp

New Member
Joined
Jun 9, 2021
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Hello - I am trying to use conditional formatting to highlight individual dates and make a Gantt Chart to look like the following:
1626141465155.png

The data I am using comes from this chart:
1626141662102.png

I know I need three conditional formatting commands to get the different colors, but I only seem to be able to get it to highlight the first date in each row. Thanks for any help you can provide!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi Muleevp,
I'm a little confused as to why 31 July Group 6 is highlighted for M1 as I don't see July 31, 2021 in the MODE1 row?
 
Upvote 0
Hi Muleevp,

If I assume for my previous question that it was an error then this should satisfy your requirement.
NOTE: If the same date and group exists for more than one Mode then only the first is shown.

Cell Formulas
RangeFormula
C1:AQ1C1=B1+1
B2:AQ8B2=IFERROR("M"&RIGHT(INDEX($A$12:$A$14,AGGREGATE(15,6,ROW($B$12:$H$14)-ROW($A$11)/(($B$12:$H$14=B$1)*($B$11:$H$11=$A2)),1)),1),"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:AQ8Cell Value="M3"textNO
B2:AQ8Cell Value="M2"textNO
B2:AQ8Cell Value="M1"textNO
 
Upvote 0

Forum statistics

Threads
1,215,018
Messages
6,122,703
Members
449,093
Latest member
Mnur

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