Excel Timeline (Table of Contents)
Introduction to Timeline in Excel
Timeline in Excel actually represents the time span from the start to end on a bar. For this, we should have any time frame such as Dates, Month, Minutes, Hours, etc. To apply Timeline in Excel, first, we need to create a pivot table. Then from the Insert menu ribbon select Timeline from the filters section. Then click right on Timeline and from the Report Connections, choose the fields which we want to connect with Timeline. Now just drag the bar right to left as per need to filter the data with time.
How to Create a Timeline in Excel?
For adding the timeline feature in Excel, you must have a pivot table first. Let’s understand the working of creating timelines in excel with some examples.
Excel Timeline – Example #1
We have given a list of a number of products sold region wise and month wise.
Follow the below steps to do this:
- First, create a Pivot table for the given data.
- Click on any cell in the table and go to the Insert tab.
- Click on the Pivot Table option under the Tables section.
- Now the Pivot table is created as shown in below screenshot.
- Click anywhere in the Pivot table and go to Insert tab.
- Click on Timeline filter under the Filters section. Refer below screenshot.
- It will open an Insert Timelines dialog box. Refer below screenshot.
- Click on Month checkbox inside the dialog box and click on OK.
- It will show you the timeline and by default, it’s showing the month’s data year wise. Refer below screenshot.
- Now with the help of this excel timeline, you can arrange the records in the Pivot table by adjusting and clicking. Refer below screenshot.
- In the above screenshot as we can see that we have clicked on Feb month under the 2016 year it is displaying the data accordingly in the Pivot Table.
- If you want to see the data for a continuous month then you need to drag the bar across those months like below screenshot. We have selected the data for May & June 2016 month.
- We also can see the data day, quarter and year wise.
- For this click on the drop-down arrow on timeline box as shown in the below screenshot.
- Choose another date component like Quarters.
- It will show the quarter wise data like below:
- If you want to remove the timeline from the data, then click on the icon on the upper right corner like shown in the below screenshot. You also can use shortcut key ALT+C for this.
You also can customize an excel timeline according to your preference. Follow the below steps:
- Click on the Timeline window. Go to the Options tab.
- Click on any color option under Timeline Styles section as shown in the below screenshot.
- You also can change the size of the timeline window.
- You can change the name of the timeline window by clicking on Timeline Captions under the Timeline section.
Excel Timeline – Example #2
Let’s take another example of a grocery shop.
- Now we will create a table for the above data. Here, we are inserting the pivot table in the same sheet with the data set.
- Now repeat the same steps of example 1 for creating timelines here. It will show you the timeline. Refer below screenshot:
As we can see that we have clicked for 6 months result (from Jan – June) of the year 2017.
Hence, you can select the months accordingly by clicking on this timeline bar.
Things to Remember About Timeline in Excel
- If your Pivot Table doesn’t have a field formatted as a Date, Excel displays an error.
- An excel timeline is useful for filtering the data in the Pivot table very quickly.
This is a guide to Timeline in Excel. Here we discuss how to create a timeline in Excel along with practical examples and downloadable excel template. You can also go through our other suggested articles –