Skip to main content

How to average per day/month/quarter/hour with pivot table in Excel?

For example, you need to calculate the averages of every day/month/quarter/hour in Excel. Of course you can filter your table, and then calculate the averages one by one. But here I will introduce the pivot table to calculate all averages per day/month/quarter/hour easily in Excel.


Average per day/month/quarter/hour with Pivot Table

You can easily calculate the average of per day/month/quarter/hour in excel with a pivot table as follows:

1. Select the original table, and then click the Insert > PivotTabe.

2. In the opening Create PivotTable dialog box, check the Existing Worksheet, then put the cursor into the Location box and select a cell where you want to locate the Pivot Table in current worksheet, and click the OK button. See screenshot above:
Note: If you want to place the pivot table into a new worksheet, you can check the New Worksheet option in the Create PivotTable dialog box.

3. In the PivotTable Field List pane, drag the Date/Time field from Choose fields to add to report box to the Row (or Row Label) box, and drag the Amount field to the Values box. See screenshot:

doc average per day 5

4. Right click any date in the PivotTable, and then select the Group from the right-clicking menu. See screenshot above:

5. In the opening Grouping dialog box, click to highlight the item you want to calculate averages based on in the By box, such as Months, and click the OK button. And then in the pivot table, right click the Sum of Amount > Summarize Values By > Average. Now you will get all averages of each month in the Pivot Table, see below screenshots:


Batch calculate daily/weekly/monthly/yearly averages from hourly data with Kutools for Excel

Supposing you have a hourly records table as below screenshot shown, but you need to calculate daily averages from the hourly records, how to solve it in Excel? Kutools for Excel's To Actual utility and Advanced Combine Rows utility also can help you.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

1. Select the time cells that you will average by, and click the Home > Number Format box > Short Date to change the date & time to dates only.

Note: For calculating average by weeks/month/years, you can change the normal date&time to day of weeks/months/years only with Kutools for Excel's Apply Date Formatting feature and To Actual feature.


ad apply date formatting 5

2. Select the data range, and click the Kutools > Content > Advanced Combine Rows.
doc average per day 03

3. In the opening Combine Rows Based on Column dialog box, please select the Date/Time column in the Column list, and click the Primary Key, select the Amount column and click the Calculate > Average, at last click the Ok button. See screenshot:
doc average per day 04

Then the daily averages are calculated at once.

Note: This method also enables to calculate monthly/yearly average if you can show dates as months or years in the first step. By the way, Kutools > Format > Apply Date Formatting can show date as weekday, month, year, or other specified date formatting, and then change the dates to months/years with Kutools > To Actual.

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now


Demo: calculate daily/weekly/monthly/yearly averages from hourly data


Kutools for Excel includes more than 300 handy tools for Excel, free to try without limitation in 30 days. Download and Free Trial Now!

Related articles:

Best Office Productivity Tools

Supports Office/Excel 2007-2021 and 365  |  Available in 44 Languages  |  Easy to Uninstall Completely

Popular Features: Find/Highlight/Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need Is Just A Click Away...

Supercharge Your Excel Skills: Experience Efficiency Like Never Before with Kutools for Excel  (Full-Featured 30-Day Free Trial)

kte tab 201905

60-Day Unconditional Money-Back GuaranteeRead More... Free Download... Purchase... 

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day! (Full-Featured 30-Day Free Trial)
60-Day Unconditional Money-Back GuaranteeRead More... Free Download... Purchase... 
 
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations