+ Reply to Thread
Results 1 to 3 of 3

Average a selection of cells where some contain #DIV/0!

  1. #1
    Registered User
    Join Date
    02-27-2008
    Posts
    44

    Average a selection of cells where some contain #DIV/0!

    Hi

    I have a column of cells that I want to average, but some of them contain #DIV/0! (this is expected because there's no data available for that particular row). Is there any way I can average but excluding those cells?

    Thanks

  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    If the data is in the range a1:a40, enter the following as an array (holding down shift and control when you press enter)

    =AVERAGE(IF(ISERROR(a1:a40),"",a1:a40))

    Is that what you require

    Regards

    Dav

  3. #3
    Registered User
    Join Date
    02-27-2008
    Posts
    44
    perfect - thanks!

+ 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