17.6 C
London
Sunday, March 9, 2025
HomeSoftware TutorialsExcelExcel: How to Plot Time Over Multiple Days

Excel: How to Plot Time Over Multiple Days

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

Often you may want to plot time values over multiple days in Excel, similar to the chart below:

The following step-by-step example shows exactly how to do so.

Step 1: Enter the Data

First, let’s enter the following data into Excel that shows the number of sales during various days and times at some store:

Step 2: Create a Day & Time Column

Next, type the following formula into cell C2 to create a new value that displays the day and time for the first row:

=A2+B2

Then click and drag this formula down to every remaining cell in column C:

Next, highlight the cell range C2:C9 and right click. In the dropdown menu that appears, click Format Cells:

In the new window that appears, type the following formula into the Type box:

m/d/yyyy h:mm AM/PM

Once you click OK, the cells will automatically be formatted to show the day and time with AM or PM appended to the end:

Step 3: Create a Line Chart

Next, highlight the cell range C2:D9, then click the Insert tab, then click the Line chart icon within the Charts group.

The following line chart will appear that displays the sales values by day and time:

Step 4: Customize the X-Axis of the Chart

Next, right click on any value on the x-axis and then click Format Axis:

In the new panel that appears, click the button under Axis Options called Text:

The x-axis values will automatically be updated to show the exact date and time:

Excel plot time over multiple days

Additional Resources

The following tutorials explain how to perform other common tasks in Excel:

How to Plot Multiple Lines in Excel
How to Create a Clustered Stacked Bar Chart in Excel
How to Create a Scatterplot with Multiple Series in Excel

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories