How to Create a Timeline in Excel- Jon Wittwer (9/2/05) There are many ways to create a timeline in Excel, but most of the methods I have seen make use of the drawing tools or bar charts. I wrote an article about this a while back (see Timelines in Excel). Well, I am happy to say that I have finally found an easier way to rapidly create timelines. This means being able to quickly generate timelines for various historical periods or documenting events in a person's life (for geneology projects, school reports, etc.). The figure below is an example, showing some of the events in the life of Benjamin Franklin.
Figure 1: An Excel chart showing an example timeline. If you don't have time to learn how the timeline is created, and want to just jump right in and create your own timeline, go ahead and download the Excel Timeline Template.
This article provides a tutorial describing how to create a timeline like the one above, from scratch (without requiring any macros or VBA). I won't go into detail on some of the specific formatting used to fancy up the chart, but the necessary details are listed below. Set Up the Data Table
When you are done with these steps, your spreadsheet should look similar to Figure 2 (you can add the coloring and column labels however you see fit).
Figure 2: Data tables used for creating the timeline chart. Note: The timeline chart will be referencing columns E, F, and G. Using the OFFSET formula in columns F and G allows greater flexibility in how the year and event labels in columns B and C are modified to create other timelines (particularly when wanting to sort, copy and paste, cut and paste, or insert and delete events). Create the Timeline Chart
At this point, you might want to apply some cosmetic changes such as removing the border and the gray background in the Plot Area, coloring the x-axis line, or making the data point markers lines rather than the blue diamonds (or whatever the default marker is). You can apply fill patterns such as shading, or even at a watermark image to the chart by right-clicking on the chart edge and selecting Format Chart Area ... Then click on the Fill Effects button. Add the Leader LinesThe leader lines are created by adding one-sided error bars to the data series.
Add the Timeline Event LabelsThis step is the most tricky if you are new to Excel charts (and even if you aren't). But, hopefully the images will help explain things.
Note: If you were to reference column C instead of column G, then if you cut and paste or insert/delete events, the ordering of the data labels would be messed up. As long as you don't insert or delete entire rows, you shouldn't have a problem adding, deleting, or sorting the events in columns B and C. Using a Date Format in the Timeline AxisYou can make the x-axis in the chart be a date format such as "yyyy" or "mm/yyyy" if you enter full dates in the "Year" column. For example, if B5 is a date in the form mm/dd/yyyy, the "Axis" column will display the serial number of the date. The trick is to format the axis of the timeline to display the yearly divisions correctly:
Using Month Names in the Timeline: When specifying month names as tick marks using a scatter plot like in the figure below, you can't be exact because the months don't have the same number of days, but you can get pretty close. Right-click on the x-axis and select Properties. In the Scale tab, set the 'Minimum' value to the 1st, 2nd, or 3rd day of the month (e.g. 1/2/2007) and the 'Major Unit' to 30.5 days to avoid repeating month names.To determine what day to start on, use the following guide ( Month(startday) ): Jan(2), Feb(1), Mar(3), Apr(3), May(3), Jun(3), Jul(3), Aug(3), Sep(2), Oct(2), Nov(2), Dec(2).
![]() Hint: To make the dates line up better, append "+2" to the formulas in the Axis column to superficially add a couple of days. The trade-off is whether you want February or the other months to line up well. The figure below shows the actual date that corresponds to the tick marks in the above timeline. Showing the Duration of an EventAlthough it may be more work than it is worth, it is possible to show the duration for an event by using X-error bars.
Note: In order to make the duration bars different colors, you would need to use more than one data series. You CAN format each individual data point label, but the error bars for a single data series all have the same color, linewidth, etc. Additional Comments and HelpBefore bringing this tutorial to a close, I need to explain the reason for column E. This column allows you to adjust the heights of the leader lines as needed to make sure your event labels do not overlap. This is the key to making the chart work as a timeline creator. I have found that it helps to temporarily turn on the y-axis when I am making a new timeline so that it is easier to pick the y-values. To do this: Right-click on the chart edge > Chart Options... > Axes tab > Check the Value (Y) axis box. Adding and Deleting Events: In the downloadable timeline template, I have included instructions for how to add and delete events. These instructions assume that you know how to modify the data series references. Refer back to the Step 2 in the Chart Wizard, if you have a question about this. | |||
![]() ![]() Create Timelines Easily With SmartDraw!
Vertex42 Articles
Excel Templates
> Invoice
> Mortgage
|
| © 2005 Vertex42, LLC All rights reserved. | "How to Create a Timeline in Excel" |