+ Reply to Thread
Results 1 to 7 of 7

Using Average function across multiple tabs, ignoring #NUM! and 0

Hybrid View

  1. #1
    Registered User
    Join Date
    04-01-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    20

    Using Average function across multiple tabs, ignoring #NUM! and 0

    Hi Guys, wondering if somebody can assist me. I have 4 tabs of data (Name 1- Name 4), and im looking to get an average of the data (across all tabs) while ignoring any #NUM! or 0 values (to be inserted in corresponding tables in Sheet 1). If anyone has an idea as to the best way to do this, that would be greatly appreciated. Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Using Average function across multiple tabs, ignoring #NUM! and 0

    first fix the numder and div/0 errors the worksheet you have posted has no formulas in it
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-01-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Using Average function across multiple tabs, ignoring #NUM! and 0

    Quote Originally Posted by martindwilson View Post
    first fix the numder and div/0 errors the worksheet you have posted has no formulas in it
    The worksheet I have posted has been copy and pasted off another file (formulas were not copied over). The number and div/0 errors are where the errors in the real worksheet are

  4. #4
    Registered User
    Join Date
    04-01-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Using Average function across multiple tabs, ignoring #NUM! and 0

    Can anybody help me out with this please?

  5. #5
    Registered User
    Join Date
    04-01-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Using Average function across multiple tabs, ignoring #NUM! and 0

    Still having difficulties here. Struggling to find anything on the net, any assistance would be great!

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Using Average function across multiple tabs, ignoring #NUM! and 0

    =AVERAGE(IF(N(INDIRECT("'"&b2:b5&"'!d4"))<>0,N(INDIRECT("'"&b2:b5&"'!d4")))) where b2:b5 is a list of sheet names
    the formula needs to be array entered with ctrl+shift+enter see sheet1 d4
    but you need to fix any errors first
    #NUM! #DIV/0! just wrap the formulas in iferror(your formula,0)
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-01-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Using Average function across multiple tabs, ignoring #NUM! and 0

    Quote Originally Posted by martindwilson View Post
    =AVERAGE(IF(N(INDIRECT("'"&b2:b5&"'!d4"))<>0,N(INDIRECT("'"&b2:b5&"'!d4")))) where b2:b5 is a list of sheet names
    the formula needs to be array entered with ctrl+shift+enter see sheet1 d4
    but you need to fix any errors first
    #NUM! #DIV/0! just wrap the formulas in iferror(your formula,0)
    Awesome! Thanks very much

+ 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. Average from multiple tabs
    By mdobrien3117 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-17-2013, 08:01 PM
  2. [SOLVED] Excel 2010 AVERAGEIF function to average two different columns on two different tabs
    By stevemills04 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-05-2013, 01:48 PM
  3. Average tabs ignoring blanks
    By jbwizoz in forum Excel General
    Replies: 3
    Last Post: 11-16-2011, 05:00 PM
  4. ignoring #N/A numbers when doing AVERAGE()
    By FortuneSyn in forum Excel General
    Replies: 2
    Last Post: 03-11-2010, 03:47 PM
  5. Average ignoring holidays
    By john48 in forum Excel General
    Replies: 7
    Last Post: 01-11-2009, 10:32 PM

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