+ Reply to Thread
Results 1 to 10 of 10

Finding an average across multiple sheets but excluding 0

  1. #1
    Registered User
    Join Date
    11-10-2020
    Location
    Manchester, England
    MS-Off Ver
    Not sure
    Posts
    6

    Angry Finding an average across multiple sheets but excluding 0

    Hi everyone,

    Please can someone help me. I'm basically trying to find the average across multiple sheets but removing any zeros from the average calculation. I've tried a few things but can't seem to get it to work.

    Here's one of my many attempts:

    =AVERAGEIF('WK1 - 23 10 TO 29 10'!L18,'WK2 - 30 10 TO 05 11 '!L17,'WK3 - 06 11 TO 12 11 '!L17,'WK4 - 13 11 TO 19 11'!L17,'WK5 - 20 11 TO 26 11'!L17,"<>,0.00")

    Excel tells me there are too many arguments for this to work. Can anyone help?

    Thank you,
    A

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Finding an average across multiple sheets but excluding 0

    Perhaps remove the comma from "<>,0.00" to "<>0.00"

  3. #3
    Registered User
    Join Date
    11-10-2020
    Location
    Manchester, England
    MS-Off Ver
    Not sure
    Posts
    6

    Re: Finding an average across multiple sheets but excluding 0

    Thank you for the reply. I just tried that and unfortunately the same message pops up telling me it's too many arguments...

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Finding an average across multiple sheets but excluding 0

    I think you need the AVRERAGIFS function

  5. #5
    Registered User
    Join Date
    11-10-2020
    Location
    Manchester, England
    MS-Off Ver
    Not sure
    Posts
    6

    Re: Finding an average across multiple sheets but excluding 0

    Hi there,
    Thanks again! I really appreciate you trying to help. I've been trying to solve this for hours.

    Just tried the following:

    =AVERAGEIFS('WK1 - 23 10 TO 29 10'!L18,'WK2 - 30 10 TO 05 11 '!L17,'WK3 - 06 11 TO 12 11 '!L17,'WK4 - 13 11 TO 19 11'!L17,'WK5 - 20 11 TO 26 11'!L17,"<>,0.00")

    =AVERAGEIFS('WK1 - 23 10 TO 29 10'!L18,'WK2 - 30 10 TO 05 11 '!L17,'WK3 - 06 11 TO 12 11 '!L17,'WK4 - 13 11 TO 19 11'!L17,'WK5 - 20 11 TO 26 11'!L17,"<>0.00")

    Still the same dreaded too many arguments message.

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Finding an average across multiple sheets but excluding 0

    Which XL version are you using?

  7. #7
    Registered User
    Join Date
    11-10-2020
    Location
    Manchester, England
    MS-Off Ver
    Not sure
    Posts
    6

    Re: Finding an average across multiple sheets but excluding 0

    Here's the other things i've tried to no avail also:

    =AVERAGEIFS('WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18,'WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18,">0",'WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18,"<>""")

    =SUM('WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18)/COUNTIF('WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18,"<>0")


    =AVERAGE(IF('WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18<>0,'WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18))

    =SUM('WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18)/(COUNTIF('WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18,"<>0")-COUNTBLANK('WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18)-
    (COUNTA('WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18)-COUNT('WK1 - 23 10 TO 29 10:WK5 - 20 11 TO 26 11'!L18)))

    I feel like I may go mad with this

  8. #8
    Registered User
    Join Date
    11-10-2020
    Location
    Manchester, England
    MS-Off Ver
    Not sure
    Posts
    6

    Re: Finding an average across multiple sheets but excluding 0

    Excel version - I'm not actually sure, sorry, not the most savvy. How do I find out?

  9. #9
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: Finding an average across multiple sheets but excluding 0

    The functionIFS() functions seem to not support 3D references. When I see this kind of question, I tend to see two possible approaches.
    1) Do the condition part in a helper cell on each tab. =IF(L18<>0,L18,"") in any suitable helper cell. Then, on the summary tab, I can use =AVERAGE(sheet1:sheet10!helpercell).

    or
    2) compile all of the data into a single, good database. Then the summary functions like AVERAGEIFS() (or even pivot tables and similar tools) become much more effective.

    Since this sort of thing really often boils down to good database management. As such, the 2nd option tends to be the better choice if you are willing to invest the time upfront. Make a good database, and future work with the data will be much easier.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  10. #10
    Registered User
    Join Date
    11-10-2020
    Location
    Manchester, England
    MS-Off Ver
    Not sure
    Posts
    6

    Re: Finding an average across multiple sheets but excluding 0

    Quote Originally Posted by MrShorty View Post
    The functionIFS() functions seem to not support 3D references. When I see this kind of question, I tend to see two possible approaches.
    1) Do the condition part in a helper cell on each tab. =IF(L18<>0,L18,"") in any suitable helper cell. Then, on the summary tab, I can use =AVERAGE(sheet1:sheet10!helpercell).

    or
    2) compile all of the data into a single, good database. Then the summary functions like AVERAGEIFS() (or even pivot tables and similar tools) become much more effective.

    Since this sort of thing really often boils down to good database management. As such, the 2nd option tends to be the better choice if you are willing to invest the time upfront. Make a good database, and future work with the data will be much easier.

    Thank you for this. I've created an extra sheet which pulls the data together and this appears to have worked. Thanks again!

+ 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] Formula for finding an average number, excluding blank cells
    By RachA12 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-28-2018, 10:39 AM
  2. Finding a Conditional Average on Multiple Sheets
    By ljbrown in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-28-2017, 04:46 PM
  3. Replies: 11
    Last Post: 12-19-2014, 05:22 AM
  4. average on multiple sheets excluding zero
    By jayp_ in forum Excel General
    Replies: 11
    Last Post: 08-29-2014, 04:11 AM
  5. Finding the average of a data set while excluding a catergory type.
    By pickslides in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-29-2014, 06:20 PM
  6. Replies: 6
    Last Post: 12-06-2006, 07:19 PM
  7. Finding the average across multiple sheets
    By quailhunter in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-14-2006, 07:13 PM

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