Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to calculate weekly average in Excel?

We have introduced the way to calculate averages per day/month/quarter/hour with pivot table in Excel before, but this method can't calculate the averages per week. Here I will introduce a way to calculate the weekly averages with a help columns in Excel easily.

Calculate weekly averages with Excel functions

Batch calculate all weekly averages with Kutools for Excel

Automatically insert the average at the bottom of each page in Excel

Kutools for Excel's Paging Subtotals utility can help you to insert all kinds of subtotals (such as Sum, Max, Min, Product, etc.) in every printed page easily. Full Feature Free Trial 60-day!

ad page subtotal average 3

Excel Productivity Tools

Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial

Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately. 60-day Unlimited Free Trial


Supposing we have a purchase table as following screen shot shown, and we will take this table as an example to describe the way to calculate weekly averages in detail.

Step 1: Besides original purchase table, enter WeekNUM in Cell D1, and then enter the formula =WEEKNUM(A2,2) (Note: A2 is the cell with purchase date in Date/Time column) into Cell D2, and then drag the Fill Handle to the range we need. Now the week numbers are displayed in the WeekNUM column. See screenshot:

Step 2: This step is optional. If the purchase dates cover several years, you may want to calculate the weekly averages in the same year. Enter Year in the Cell E1, and enter the formula =YEAR(A2) (Note: A2 is the cell with purchase date in Date/Time column) into Cell E2, and then drag the Fill Handle to the range we need.

Step 3: In Cell F1 enter Average, and then enter the formula =IF(AND(D2=D1,E2=E1),"",AVERAGEIFS($C$2:$C$39,$D$2:$D$39,D2,$E$2:$E$39,E2)) into Cell F2, and then drag the Fill Handle to the range we need.

Notes:

(1) If two purchases occurred in the same week of same year, the formula of =IF(AND(D2=D1,E2=E1),"",AVERAGEIFS($C$2:$C$39,$D$2:$D$39,D2,$E$2:$E$39,E2)) will return blank; if not, it will return the weekly average.

(2) And in this formula, D1 and D2 are cells with week numbers, E1 and E2 are cells with years, $C$2:$C$39 is the range you will calculate weekly average, $D$2:$D$39 is the WeekNUM column you will evaluate by week numbers, $E$2:$E$39 is the Year column you will evaluate by years, and you can change them based on your needs.

(3) If you want to calculate the weekly averages but ignoring years, you can enter the formula =AVERAGEIF($D$2:$D$39,D2,$C$2:$C$39) into Cell F2 and drag the Fill Handle to the range you need. And you will see the weekly averages as below screen shot shown:


 This method will introduce Kutools for Excel's To Actual utility and Advanced Combine Rows utility to batch calculate all weekly averages at ease.

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

1. Besides original purchase table, enter Week in Cell D1, and then enter the formula =WEEKNUM(A2,2) (Note: A2 is the date cell in Date/Time column) into Cell D2, and then drag the Fill Handle to the range we need.

2. Select the purchase table with new Week column, and click the Kutools > Content > Advanced Combine Rows.

3. In the opening Combine Rows Based on Column dialog box, you need to (see screenshot below):

(1) Click the Fruit column in the Column list, and click the Combine > Comma;
(2) Click the Amount column, and click the Calculate > Average;
(3) Click the Week column, and click the Primary Key;
(4) Click the Ok button.

doc weekly average 10

So far all weekly averages are calculated with corresponding fruits are listing besides the averages as below screenshot shown:

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!


In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!



Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  • Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  • Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  • Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  • No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  • Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  • 60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  • Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.