+ Reply to Thread
Results 1 to 12 of 12

how to average multiple averages that can contain zeros

  1. #1
    Registered User
    Join Date
    10-09-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    8

    how to average multiple averages that can contain zeros

    HI I have attached image illustrating what I am trying to achieve. I have a list of data in column E, if I take the average of [E4:E9] I get 11.67. However I require the averages to first be calculated in pairs as displayed in column G, I then need the averagers in column G to be averaged giving a final average of 13.75.

    It all works fine until I get both points in a pair with missing data thus returning "#DIV/0!"

    I have huge amounts of data I require this to be done for, so I was hoping there there would be a function that I could insert at the bottom of column E that would give the average of 13.75 so i can then drag it across all the data.

    Thanks in advance
    Attached Images Attached Images

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: how to average multiple averages that can contain zeros

    Instead of picture please Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    10-09-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: how to average multiple averages that can contain zeros

    Hi sorry about that I have attached an example.

    I would like to get the desired average (in green) from a fromula entered at the bottom of column E, which selects the entire range of data in column. I have tried AVERAGEIF and other combination, but i always get "#DIV/0!" or "11.67" which is not the correct average for what i require.

    I am trying to take the avereage of pairs of data in column E and then average all those averages again in one cell as i have a huge amount of data.

    Hope that makes sense.




    average.xlsx

    Thanks

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: how to average multiple averages that can contain zeros

    We keep the column-G helper column as it is

    use the below formula in F4 Cell - Array Formula - Requires CTRL+SHIFT+ENTER

    =AVERAGE(IF(ISNUMBER(G4:G9),G4:G9))

    Array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER.

  5. #5
    Registered User
    Join Date
    10-09-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: how to average multiple averages that can contain zeros

    thanks sixsense, In my original sheet I only have column E (column G was for illustration purpose) and was wanting to try to avoid inserting rows like column G into my data sheet as it would be very time consuming. Is there a way to get the average of 13.75 directly from column E in a single formula?

    Thanks

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: how to average multiple averages that can contain zeros

    I will also take a look at your file, but I want to point out that taking an average of averages is mathematically incorrect. To be accurate, an average needs to be based on the original values
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: how to average multiple averages that can contain zeros

    OK your file just proves my point. You have (effectively) 3 numbers, giving you an average of 11.67.

    Then you combine those same 3 values in different combinations, average those combos into yet more combos, and then average that 2nd set of combos to give 13.75

    Just because you combine values into different "groups" and work out averages of those groups, the overall average remains the average of the initial set of values

    The correct answer here must still be 11.67

  8. #8
    Registered User
    Join Date
    10-09-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: how to average multiple averages that can contain zeros

    HI FDibbons, the reason for grouping them into pairs is each pair represents data from the same location it is just taken with different instruments to reduce the error. so every 2 data points represents a specific location within a designated zone. If one location in the zone has both instruments fail then it will effect the overall average of the zone.
    hopefully that make sense

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: how to average multiple averages that can contain zeros

    That is why we are asking you to keep the column-G as helper as you shown in the sample file to avoid unnecessary complications

  10. #10
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: how to average multiple averages that can contain zeros

    Pl see the attached file with ARRAY formula. Ans=13.75 using only E column
    Please Login or Register  to view this content.
    Attached Files Attached Files

  11. #11
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: how to average multiple averages that can contain zeros

    Pl see file. One more example with Simple formula.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    10-09-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: how to average multiple averages that can contain zeros

    Thanks kvsrinivasamurthy

+ 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. Replies: 0
    Last Post: 09-18-2013, 10:04 PM
  2. [SOLVED] Problem expressing multiple averages as a single average, math issue
    By Butcher1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-23-2013, 12:13 PM
  3. [SOLVED] How do I get the average across multiple cells not in a range and not count the zeros/text
    By sponge_designs in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2013, 03:05 AM
  4. [SOLVED] Average for non-consecutive cells excluding zeros (even when they all contain zeros)
    By pao13 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2012, 04:32 PM
  5. Averages excluding zeros
    By Jaytee in forum Excel General
    Replies: 3
    Last Post: 07-16-2006, 11:26 AM

Tags for this Thread

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