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

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Ok, try this formula in cell E3, copy paste down and across .
You should see 1 under the relevant dates, 2 under irrelevant dates!

=IF(AND(E$1>=$B3,E$1<$C3),"1","2")
 
Upvote 0
Did that work as expected? If it did then the conditional format should work with the formula i posted earlier!
 
Upvote 0
Delete the formulas from all of the cells, then

Select the 1st cell you want to format
Select "Format" on the top menu
Then select "Conditional Formatting"
Click + (bottom left)
Select the drop down (where it says "Style"
Select "Classic"
Select the next drop down (where it says :Formatonly....."
Select "Use a formula...."
Enter the formula
=AND(E$1>=$B3,E$1<$C3)
Select next drop down "Format with"
Select "Fill"
Then Under "Background" Select the colour you want
Select OK
And OK again
Lastly make sure that you select the "Applies to" range, this is all the cells you want to apply it to
 
Upvote 0
In 2010 i think you have an option "New Rule"
(I'm using 2010 for Mac, slightly different!)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,084
Messages
6,128,730
Members
449,465
Latest member
TAKLAM

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