Conditional formatting for project planning

MrTomB

New Member
Joined
Jul 16, 2018
Messages
10
Hi

I want a really basic sheet that i can fill in a project with its start and finish dates and see cells colour based on the dates enter

See attached, i want the yellow to happen automatically

Eventually i will have each team fill in a tab and then a master tab that consolidates it all

Thanks
 
Okay

Looking at playing with it for the future and changing Q1, Q2 etc. to Jan, Feb, MAr etc

I think this is the start of what i need

Code:
=INT((COLUMN()-4)/12+1)

But hit a wall
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Okay

Looking at playing with it for the future and changing Q1, Q2 etc. to Jan, Feb, MAr etc

I think this is the start of what i need

Code:
=INT((COLUMN()-4)/12+1)

But hit a wall

I think i have it
Code:
=AND($B3<=DATE($D$1+INT((COLUMN()+8)/12)-1,(INT(COLUMN()-4)/12+1),0),$C3>=DATE($D$1+INT((COLUMN()+8)/12)-1,(INT(COLUMN()-4)/12+1),1))
 
Last edited:
Upvote 0
I think i have it
Code:
=AND($B3<=DATE($D$1+INT((COLUMN()+8)/12)-1,(INT(COLUMN()-4)/12+1),0),$C3>=DATE($D$1+INT((COLUMN()+8)/12)-1,(INT(COLUMN()-4)/12+1),1))


I lied, code corrected as per below

Code:
=AND($C4<=DATE($E$1+INT((COLUMN()+7)/12)-1,MOD((COLUMN()-5),12)+1,0),$D4>=DATE($E$1+INT((COLUMN()+7)/12)-1,MOD((COLUMN()-5),12)+1,1))
 
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

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