+ Reply to Thread
Results 1 to 5 of 5

Working out the averages in a cell and ignoring errors.

  1. #1
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Working out the averages in a cell and ignoring errors.

    Afternoon,

    I'm having problems working out the average result.

    In the table sheet W2 I want to work out the average of column x from the input sheet. The issue is I will never know in advance how many values will be in column x.

    Any ideas on the formula please?

    Many thanks
    Attached Files Attached Files
    Last edited by Cmorgan; 06-20-2011 at 12:17 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Working out the averages in a cell and ignoring errors.

    Hi,
    Try in Cell Y2 the formula
    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Working out the averages in a cell and ignoring errors.

    I've amended the formula to check the column in the input sheet, so it reads:

    =Average('input sheet'!X:X)

    But it comes back with #N/A

    Any ideas? Thanks for the help

  4. #4
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: Working out the averages in a cell and ignoring errors.

    The equation that MarvinP wrote was for the "Table" Page, as when you saved the spreadsheet to upload it, your activesheet was on the Table Page, yet the question was about the Input Sheet.

    Since you're working off of 2010, you can use the Averageif function on the Input Sheet Page:
    =AVERAGEIF(X:X,"<>#N/A",X:X)
    Going for Guru! Click the Star to the bottom left of this post if I helped!

  5. #5
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Working out the averages in a cell and ignoring errors.

    Thanks guys, works a treat.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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