Zero to appear as blank

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a VLOOKUP formula below. When the value is zero, I want the result to be blank. What do I do.

=IF(A10="","",VLOOKUP(A10,detail,2))

Thnx
Prakash.....
 
=if(a10="","",if(vlookup(a10,detail,2)=0,"",vlookup(a10,detail,2)))
 
In addition to modifying your formula as Dave suggested, you can do the
following two things to suppress zeroes.

You can set a custom number format in order to suppress zeros for
certain cells. To do this, select all the cells on the sheet that you
would like to suppress zero values and right-click them and choose
"Format Cells." Choose the Tab labeled "Number" and select "Custom"
from list. Then in the textbox labeled "Type" enter the following
format *0;-0;;@ *


If you want to suppress all zeroes on the entire sheet you can change
the sheet's view options. To do this, click *TOOLS --> OPTIONS -->
VIEW* and uncheck the zeroes values checkbox.


Rollin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top