Share via

Formula returning "0" instead of ""

Anonymous
2013-05-28T16:43:21+00:00

This is my formula:

=IF(ISERROR(VLOOKUP(B2,ComSet!$A:$B,2,FALSE)),"",VLOOKUP(B2,ComSet!$A:$B,2,FALSE))

Not only does it return a "0", but if I change it to "NoData" from "" it still returns a zero.

If the cell is not blank, it returns the contents of the cell just like it should.

I'm running Office 2013.

Thank you in advance for any help.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

13 answers

Sort by: Most helpful
  1. Anonymous
    2013-05-28T19:41:14+00:00

    Hi,

    try this

    =IF(ISNA(VLOOKUP(B2,ComSet!$A:$B,2,FALSE))=TRUE,"",VLOOKUP(B2,ComSet!$A:$B,2,FALSE))

    Hope it helps you

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2013-05-28T17:43:58+00:00

    I entered that exactly and it still returns the Function instead of  a blank.

    I used that same fomula on another of the spreadsheets in my book and it still returns a zero instead of a blank.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2013-05-28T17:13:23+00:00

    There is a typo error in the formula of "ediardp", just change it to

    =IFERROR(VLOOKUP(B2,ComSet!$A:$B,2,FALSE),"")

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2013-05-28T16:54:16+00:00

    Now that brought up another problem I'm having...when I change the formula, it shows the formula and doesn't calculate at all. I press F9, I save, I press Ctl+Shift+Enter and it still doesn't calculate...just shows the formula, complete with "=" at the beginning. Can you help me with that? We thought it might be an Excel bug so installed Excel 2013 from 2010 which I was usuing earlier and it still won't let me update the data in that column.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2013-05-28T16:46:01+00:00

    Hi,

    =iferror(VLOOKUP(B2,ComSet!$A:$B,2,FALSE)),"")

    Was this answer helpful?

    0 comments No comments