Conditional formatting to fill between dates

gogi66

New Member
Joined
Jan 31, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi team,

I would have a question regarding conditional formating.

I am trying to prepare gantt chart and based on the picture below.
Currently I am struggeling to fill cells from R to X based on the start and finish date.

1643626151019.png


Any ideas would be helpful :)

Thank you in advance.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
MrExcelPlayground6.xlsx
ABCDEFGHIJKLMNOPQRSTUVWX
1152123456789101112131415161718
121/1/202212/7/20227
131/3/202222/14/20228
141/10/202232/21/20229
151/23/202252/28/202210
Sheet24
Cell Formulas
RangeFormula
B12:B15,D12:D15B12=WEEKNUM(A12)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F12:X15Expression=AND($B12<=F$11,$D12>=F$11)textNO
 
Upvote 0
MrExcelPlayground6.xlsx
ABCDEFGHIJKLMNOPQRSTUVWX
1152123456789101112131415161718
121/1/202212/7/20227
131/3/202222/14/20228
141/10/202232/21/20229
151/23/202252/28/202210
Sheet24
Cell Formulas
RangeFormula
B12:B15,D12:D15B12=WEEKNUM(A12)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F12:X15Expression=AND($B12<=F$11,$D12>=F$11)textNO
Works perfectly! thank you :)
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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