+ Reply to Thread
Results 1 to 7 of 7

Calculate average sum from a dataset?

  1. #1
    Forum Contributor
    Join Date
    08-18-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    308

    Talking Calculate average sum from a dataset?

    hey excelers,
    how do you cal the average sum for a row of numbers?

    please see attachment thx.
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Calculate average sum from a dataset?

    Use this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Calculate average sum from a dataset?

    Your problem is that the cells with zero in are being counted in the Average. For example, A2:K2 Average is 0+0+0+0+5+0+5+0+0+0+0=10 divided by number of cells (10), giving 1, not the 5 you want.
    The solution is to use AverageIf to ignore the cells with 0 in them:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Edit: you need <>0 not just >0 to deal with negative numbers like you have in row 4.
    Edit2: adjust the formatting of the answers to give the number of decimal places you want.
    Last edited by Aardigspook; 09-02-2017 at 01:36 PM. Reason: Add notes
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Calculate average sum from a dataset?

    Sorry, I missed the negatives. Aardigspook's will do it.
    As an alternative
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 09-02-2017 at 01:40 PM.

  5. #5
    Forum Contributor
    Join Date
    08-18-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    308

    Re: Calculate average sum from a dataset?

    thx guy's this really helps... *** stars all round)

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Calculate average sum from a dataset?

    Quote Originally Posted by QuantEdge View Post
    thx guy's this really helps... *** stars all round)
    Stars do nothing for us. Instead click on Add Reputation.

  7. #7
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Calculate average sum from a dataset?

    Glad we could help.

    If that takes care of your original question, then please take a moment to mark the thread as Solved so others know there's an answer here (instructions are in my sig). Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Calculate the decay of neg-growth of a dataset?
    By QuantEdge in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-29-2017, 12:51 PM
  2. Getting an average when dataset contains < or > in
    By barneyrubble1965 in forum Excel General
    Replies: 2
    Last Post: 11-26-2014, 11:12 AM
  3. Replies: 5
    Last Post: 10-29-2014, 08:11 AM
  4. How to calculate average in a large dataset
    By dolle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-27-2013, 01:08 PM
  5. Calculate all possible permutations of dataset - 60 numbers on 3 positions
    By Baruch in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-10-2013, 08:11 PM
  6. How to calculate average from large dataset in several sheets?
    By Orf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-12-2005, 07:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1