Timeline colour cells depending on data inputted in a different cell

MRKadar

New Member
Joined
Jan 22, 2015
Messages
13
I would like to colour blank cells depending on the date change in a different cell. Please see table below *** an example.


ACTIVITY​

START​

FINISH​

07-Jul-14​

14-Jul-14​

21-Jul-14​

28-Jul-14​

04-Aug-14​

11-Aug-14​

A​

29-May-14​

07-Aug-14​

B​

05-Jun-14​

22-Aug-14​

C​

30-Jun-14​

23-Sep-14​

D​

22-Jul-14​

04-Aug-14​

E​

08-Sep-14​

24-Oct-14​

<TBODY>
</TBODY>
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
the goal is to achieve a timeline, with activity dates and bar charts. I would like to change the date range which as a consequence colours the bar chart automatically to reflect the date change.
 
Upvote 0
making reference to the table above. i would like to change the START and FINISH date and as result i would like the cells that correspond to that data range to fill with a colour i.e. 7jul2014 to 10sept2015.
 
Upvote 0
So in Activity "A", you want the cells between column 29-may-14 & 07-Aug-14 to be highlighted!
 
Upvote 0
Yes. and also when I change the date range, i would like the highlighted cells to change accordingly.
 
Upvote 0
Try this in conditional formatting

=AND(E$1>=$B3,E$1<=$C3)

Assuming
B = Start Date
C = Finish Date
E$1 = 1st column with date in
 
Last edited:
Upvote 0
Hi Gaz, it doesnt really work. It highlights ramdom cells which dont make any sence. Can you help please?
 
Upvote 0
What cells are your data in? If you can post a sample of spreadsheet it would be easier.
 
Upvote 0
ACTIVITYSTARTFINISH 07-Jul-1414-Jul-1421-Jul-1428-Jul-1404-Aug-1411-Aug-1418-Aug-1425-Aug-1401-Sep-1408-Sep-1415-Sep-1422-Sep-1429-Sep-14
A28-Jul-1425-Aug-14
B07-Jul-1425-Aug-14
C25-Aug-1422-Sep-14
D21-Jul-1404-Aug-14
E08-Sep-1429-Oct-14

<COLGROUP><COL style="WIDTH: 54pt" width=72><COL style="WIDTH: 56pt; mso-width-source: userset; mso-width-alt: 2400" span=2 width=75><COL style="WIDTH: 56pt; mso-width-source: userset; mso-width-alt: 2400" width=75><COL style="WIDTH: 38pt; mso-width-source: userset; mso-width-alt: 1600" width=50><COL style="WIDTH: 26pt; mso-width-source: userset; mso-width-alt: 1088" span=12 width=34><TBODY>
</TBODY>
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,077
Latest member
Jocksteriom

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