"Hiding" formulas

  • Thread starter Veronica Johnson
  • Start date
V

Veronica Johnson

Hi,

I'm using the vlookup function for a spreadsheet and have copied my
formula down the bottom of the page. So now, those cells show #N/A
because I have not yet entered the vendor information into the first
column to populate the other columns. Is there a way to hide those #N/
A's so I don't have to see them?

I tried protecting and hiding those cells, but it didn't work like I
had hoped. Any suggestions?

Thanks,
Veronica
 
M

Marcelo

hi, Veronica,

try to use:

if(iserror(vlookup(.......),""),vlookup(...........))

hth

--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Veronica Johnson" escreveu:
 
V

Veronica Johnson

hi, Veronica,

try to use:

if(iserror(vlookup(.......),""),vlookup(...........))

hth

--
regards from Brazil
Thanks in advance for your feedback.
Marcelo

"Veronica Johnson" escreveu:







- Show quoted text -

Hi, it told me that there were too many arguments entered. Any other
suggestions?
 
C

Cheese_whiz

See if this works:

if(iserror(vlookup(.......)), "", vlookup(...........))

CW
 
G

Gord Dibben

Veronica

Try similar to this

=IF(ISNA(VLOOKUP(G2,$C$1:$F$31,2,FALSE)),"",VLOOKUP(G2,$C$1:$F$31,2,FALSE))

ISNA is preferable to ISERROR because ISERROR masks any and all errors.


Gord Dibben MS Excel MVP
 
D

David Biddulph

I think Marcelo may have intended to say:

=if(iserror(vlookup(.......)),"",vlookup(...........))
--
David Biddulph


Hi, it told me that there were too many arguments entered. Any other
suggestions?
 
V

Veronica Johnson

Veronica

Try similar to this    

=IF(ISNA(VLOOKUP(G2,$C$1:$F$31,2,FALSE)),"",VLOOKUP(G2,$C$1:$F$31,2,FALSE))

ISNA is preferable to ISERROR because ISERROR masks any and all errors.

Gord Dibben  MS Excel MVP  




- Show quoted text -

Hi Gentleman,

Thank you so much! Both these options worked perfectly! I appreciate
your help.

-Veronica
 

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

Similar Threads

Hiding Formulas in Formula bar 3
Use & with two formulas 2
hiding the cell and the formula bar 2
Lock formulas in a cell 6
Averaging only cells with numbers 3
VLOOKUP Irk 1
Find #N/A in column D 2
#N/A 5

Top