Calculate an average - Microsoft Support (2024)

Excel for Microsoft 365 for Mac Excel 2021 for Mac Excel 2019 for Mac More...Less

Excel provides a variety of ways to find the average of a set of numbers. For example, you can use function to calculate a simple average, a weighted average, or an average that excludes specific values.

Use the provided sample data and the following procedures to learn how to calculate averages.

Copy the sample data

To better understand the steps, copy the following sample data to cell A1 on a blank sheet.

  1. Create a blank workbook or sheet.

  2. Select the following sample data.

    Note:Do not select the row or column headings (1,2,3...A,B,C...) when you copy the sample data to a blank sheet.

    Selecting sample data in Help

    Calculate an average - Microsoft Support (1)

    Unit Quality

    Price Per Unit

    Number of Units Ordered

    10

    35

    500

    7

    25

    750

    9

    30

    200

    10

    40

    300

    8

    27

    400

    5

    20

    200

    Average unit quality

    Average price per unit

    Average quality for all units rated above 5

  3. Press Calculate an average - Microsoft Support (2)+ C .

  4. In the sheet, select cell A1, and then press Calculate an average - Microsoft Support (3)+ V .

Calculate the simple average

  1. Select cells A2 through A7 (the values in the Unit Quality column).

  2. On the Formulas tab, click the arrow next to AutoSum Calculate an average - Microsoft Support (4), and then click Average.

    The result is 8.166666667.

Calculate the average for nonadjacent cells

  1. Select the cell where you want the average to appear, such as cell A8, which is the cell to the left of the cell that contains the text "Average unit quality" in the sample data.

  2. On the Formulas tab, click the arrow next to AutoSum Calculate an average - Microsoft Support (5), click Average, and then press RETURN.

  3. Click the cell that contains the average that you just created, cell A8 in this example.

    The formula is displayed in the formula bar, =AVERAGE(A2:A7) if you're using the sample data.

  4. In the Formula Bar, select the content between the parentheses, which is A2:A7 if you're using the sample data.

  5. Hold down the Calculate an average - Microsoft Support (6) key and click the cells that you want to average, and then press RETURN. For example, select A2, A4, and A7, and then press RETURN.

    Excel replaces the selected range reference in the AVERAGE function with cell references for the cells that you selected. In this example, the result is 8.

Calculate a weighted average

This example calculates the average price paid for a unit across all orders, where each order is for a different number of units at a different price per unit.

  1. Select cell A9, which is the cell to the left of the cell that contains the text "Average price per unit."

  2. On the Formulas tab, click Insert Function to open the Formula Builder pane.

  3. In the Formula Builder list, scroll down and double-click SUMPRODUCT.

    Tip:To quickly find a function, click the Search for a function box, and then start typing the function name. For example, start typing SUMPRODUCT.

  4. Click the box next to array1, and then on the sheet, select cells B2 through B7 (the values in the Price Per Unit column).

  5. Click the box next to array2, and then on the sheet, select cells C2 through C7 (the values in the Number of Units Ordered column).

  6. In the formula bar, click to the right of the closing parenthesis for the formula, and then type /

    If you don't see the formula bar, on the View menu, click Formula Bar.

  7. In the Formula Builder list, double-click SUM.

  8. Select the range in the number1 box, press DELETE, and then on the sheet, select cells C2 through C7 (the values in the Number of Units column).

    The formula bar should now contain the following formula: =SUMPRODUCT(B2:B7,C2:C7)/SUM(C2:C7).

  9. Press RETURN.

    This formula divides the total cost of all the orders by the total number of units ordered, which results in a weighted price per unit average of 29.38297872.

Calculate an average that ignores specific values

You can create a formula that excludes specific values. In this example, you'll create a formula to calculate the average unit quality for all units that have a rating greater than 5.

  1. Select cell A10, which is the cell to the left of the cell that contains the text "Average quality for all units rated above 5."

  2. On the Formulas tab, click Insert Function to open the Formula Builder pane.

  3. In the Formula Builder list, double-click AVERAGEIF.

    Tip:To quickly find a function, click the Search for a function box, and then start typing the function name. For example, start typing AVERAGEIF.

  4. Click the box next to range, and then on the sheet, select cells A2 through A7 (the values in the Price Per Unit column).

  5. Click the box next to criteria, and then type ">5".

  6. Press RETURN.

    The formula excludes the value in cell A7 from the calculation, and results in an average unit quality of 8.8.

    Tip:To use the AVERAGEIF function to calculate an average that excludes zero values in a list of numbers, type "<>0" in the box next to criteria.

See also

Calculate a running total

Calculate percentages

AVERAGE function

Need more help?

Want more options?

Discover Community

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Calculate an average - Microsoft Support (7)

Microsoft 365 subscription benefits

Calculate an average - Microsoft Support (8)

Microsoft 365 training

Calculate an average - Microsoft Support (9)

Microsoft security

Calculate an average - Microsoft Support (10)

Accessibility center

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Calculate an average - Microsoft Support (11)

Ask the Microsoft Community

Calculate an average - Microsoft Support (12)

Microsoft Tech Community

Calculate an average - Microsoft Support (2024)
Top Articles
Is Elon Musk a Scientist?
Credit Score Needed for an American Airlines Credit Card
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
How To Cut Eelgrass Grounded
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Dmv In Anoka
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Umn Biology
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Colin Donnell Lpsg
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
San Pedro Sula To Miami Google Flights
Selly Medaline
Latest Posts
Article information

Author: Allyn Kozey

Last Updated:

Views: 6107

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.