Leading the way in Microsoft Office Development
 Home|Excel|Word|PowerPoint|Consultancy|Feedback|Contact 
 Microsoft Excel > Conditional Formatting > Displaying Timelines< Previous | Next > 

 

What is a Timeline Table?

 
 

This can be really useful if you need to keep track of a list of tasks when managing a small project.

 
 

You can set yourself timelines when you need to have certain work completed by a specific date.

 
 

This type of diagram is just a way of displaying this information visually.

 
 

You have dates or times across the top and then tasks or key items down the left hand side.

 
 

The key is to setup you dates correctly and consistently in the example below we have included a selection of dates in July (including weekends).

 

 

Highlight the cells

 
 

Create a table that looks similar to the one below.

 
 

The start dates are in column "C" and the finish dates are in column "D".

 
 

Select the cells you want to apply the conditional formatting to, in this case "F6:AG15".

 
 

Select the (Format > Conditional Formatting) and select "Formula is" in the first drop-down list.

 
   

 

Enter the Conditions

 
 

You need to use the AND() function to be able to reference both the dateline and the relevant start and finish cells.

 
 

The formula we are going to use is basically "AND(F$5>=$C6,G$5<=$D6)" to check if the date falls between the start and finish dates.

 
 

This formula is then placed inside the IF() function to make sure that it works for the last column in the table.

 
 

Enter the following formula "=IF(LEN(G$5)>0,AND(F$5>=$C6,G$5<=$D6),F$5<=$D6)".

 
 

The cell "F5" is the first date at the top of your table.

 
   
 

Press OK to apply the conditional formatting.

 
   

 Copyright © 2004-2007 Better Solutions Limited. All Rights Reserved.< Previous | Top | Next >