Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove #N/A value from Excel Sheet

Status
Not open for further replies.

kime1974

Programmer
Oct 30, 2006
36
US
I am using Excel 2003 and have a vlookup formula -

=VLOOKUP(A3,'3rdQuarter'!$B$2:$D$60,3,FALSE)

When no results are found it returns #N/A on the sheet. The user does not want to see this. I found where you can change how it prints to blank or -, but need to change how it is displayed.

Thanks!
Kim
 
embed your formula in an IF statement like:

=IF(ISNA(VLOOKUP(A3,'3rdQuarter'!$B$2:$D$60,3,FALSE)),"",VLOOKUP(A3,'3rdQuarter'!$B$2:$D$60,3,FALSE))


[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 




Or...

you can use conditional formatting to shade the font of cells containg NA() the same as the cell interior shade (white in most cases).

Skip,

[glasses] When a group touring the Crest Toothpaste factory got caught in a large cooler, headlines read...
Tooth Company Freeze a Crowd! and
Many are Cold, but Few are Frozen![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top