+ Reply to Thread
Results 1 to 4 of 4

replace #N/a with 0

  1. #1
    Registered User
    Join Date
    01-31-2008
    Posts
    7

    replace #N/a with 0

    I have the following formula: =INDEX(pdrop!$B$4:$K$62,MATCH(E3,pdrop!$A$4:$A$62,0),MATCH(D3,pdrop!$B$3:$K$3,0)) * (C3/100)

    which spits out #N/A if one of the values is missing. How do I make it so it shows a zero or nothing at all; so when I do a sum of the #n/a column I can only sum up the values that are there.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    Please Login or Register  to view this content.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Possibly this will do it!
    =IF(ISNA(INDEX(pdrop!$B$4:$K$62,MATCH(E3,pdrop!$A$4:$A$62,0),MATCH(D3,pdrop!$B$3:$K$3,0))*(C3/100)),0,INDEX(pdrop!$B$4:$K$62,MATCH(E3,pdrop!$A$4:$A$62,0),MATCH(D3,pdrop!$B$3:$K$3,0))*(C3/100))
    Not all forums are the same - seek and you shall find

  4. #4
    Registered User
    Join Date
    01-31-2008
    Posts
    7
    perfect! thanks for your help.

+ 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