+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : ignore #NAME?

  1. #1
    Registered User
    Join Date
    10-25-2010
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    10

    ignore #NAME?

    Hello

    I have 25 cells with values in 8 of them and #NAME? in the rest.

    Is it possible to make a formular which takes the average of the given values but ignores cells with #NAME? in them?

    Thanks

  2. #2
    Registered User
    Join Date
    10-25-2010
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: ignore #NAME?

    I have something like this in mind

    =AVERAGE.IF(AJ5:AJ13;X;AJ5:AJ13)
    Where the X is a criteria which ignores cells with #NAME?

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: ignore #NAME?

    Are you not concerned about the #NAME cells?

    Try this array formula, use CTRL+SHIFT+ENTER to commit formula


    =AVERAGE(IF(NOT(ISERROR(A1:A25)),A1:A25))
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    10-25-2010
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: ignore #NAME?

    Quote Originally Posted by Andy Pope View Post
    Are you not concerned about the #NAME cells?
    No because the #Name? cells is only temporary as i get new data for them every couple of days so their time is limited.

  5. #5
    Registered User
    Join Date
    10-25-2010
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: ignore #NAME?

    The formular works but it gives a result that is quite a bit off, the average is -4,65 when not including the #NAME?'s and with your formular it is 9,24?

  6. #6
    Registered User
    Join Date
    10-25-2010
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: ignore #NAME?

    Er, well this is quite emberrasing, but i made quite a rookie mistake and forgot to change which cells the formular should take the average of

    Thank you very much Andy it works perfectly now

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: ignore #NAME?

    Given use of XL2007 you should find the below will work (assumes no other errors obviously):

    Please Login or Register  to view this content.

+ 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