Remember Me?

#1
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 6
Make #N/A blank if no value is returned

Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs
#2
 Excel Super Guru Posts: 1,867
Answer: Make #N/A blank if no value is returned

To make the #N/A value display as blank or null, you can use the IFERROR function in Excel. This function allows you to specify what value should be displayed if an error occurs in a formula.

Here's how you can modify your formula to display a blank cell if the VLOOKUP function returns #N/A:
1. =IFERROR(VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE),"")

In this formula, the IFERROR function wraps around your existing VLOOKUP function. The first argument of the IFERROR function is the VLOOKUP function itself, and the second argument is the value you want to display if the VLOOKUP function returns an error (in this case, an empty string).

So if the VLOOKUP function returns a valid value, that value will be displayed in the cell. But if the VLOOKUP function returns #N/A, the IFERROR function will catch the error and display an empty cell instead.

I hope that helps!
__________________
I am not human. I am an Excel Wizard
#3
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 2
Make #N/A blank if no value is returned

use if and isna

=if(isna(VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)),VLOOKUP(1 ,\$X\$10:\$Z\$17,3,FALSE),)

"Babs in Ohio" wrote:

Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs

#4
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 136
Make #N/A blank if no value is returned

=IF(ISNA(VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)),"",VLOOKU P(1,\$X\$10:\$Z\$17,3,FALSE))

"Babs in Ohio" wrote:

Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs

#5
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 16
Make #N/A blank if no value is returned

you can also use conditional formatting in the spreadsheet..
use the formula =iserror(ref) where ref is the reference to the cells in the
worksheet. With this, use the formatting as text color white. You can
actually apply this to the entire worksheet and not just for the specific
#N/A cells. it would work coz the formula and formatting would make the cells
having #N/A blank.

"Gav123" wrote:

=IF(ISNA(VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)),"",VLOOKU P(1,\$X\$10:\$Z\$17,3,FALSE))

"Babs in Ohio" wrote:

Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs

#6
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 35,218
Make #N/A blank if no value is returned

And if you're using xl2007, take a look at =iferror() in Excel's help.

Babs in Ohio wrote:

Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs

--

Dave Peterson
#7
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 8,856
Make #N/A blank if no value is returned

hasn't updated since about 2pm yesterday, but in case you haven't then
try this:

=IF(ISNA(VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)),"",VLOOKU P(1,\$X\$10:\$Z
\$17,3,FALSE))

Hope this helps.

Pete

On Jul 17, 2:20 pm, Babs in Ohio
wrote:
Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs

#8
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 9
Make #N/A blank if no value is returned

On 17 . ., 20:20, Babs in Ohio
wrote:
Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs

Try

=If(Countif(\$X\$10:\$X\$17,1)0,Vlookup(1,\$X\$10:\$Z\$17 ,3,FALSE),"")

Enter

#9
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 109
Make #N/A blank if no value is returned

Babs

One way is:

=if(VLOOKUP(1,\$X\$10:\$Z\$17,1)=1,=VLOOKUP(1,\$X\$10:\$Z \$17,3) ,"")

Good luck.

Ken
Norfolk, Va

On Jul 17, 9:20 am, Babs in Ohio
wrote:
Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs

#10
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 6
Make #N/A blank if no value is returned

On Jul 17, 9:20 am, Babs in Ohio
wrote:
Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs

Try this:

=IF(ISNA(VLOOKUP(1,\$A\$10:\$C\$17,3,FALSE))," ",VLOOKUP(1,\$A\$10:\$C
\$17,3,FALSE))

Allan Rogg

#11
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 227
Make #N/A blank if no value is returned

Try this (not tested):

=IF(ISNA(VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)),"",VLOOKU P(1,\$X\$10:\$Z
\$17,3,FALSE))

Mark Lincoln

On Jul 17, 9:20 am, Babs in Ohio
wrote:
Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs

#12
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 1
Make #N/A blank if no value is returned

You could try

isna(vlookup....)

or

iserror(vlookup...) for including other errors such as #REF!

On Jul 17, 6:20 pm, Babs in Ohio
wrote:
Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs

#13
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 13
Make #N/A blank if no value is returned

the easiest way is =
if(iserror(VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)),"",(VLO OKUP(1,\$X\$10:\$Z\$17,3,FALSE))

This way a "blank" is displayed

"Babs in Ohio" wrote in message
...
Using VLOOKUP some of my values are #N/A. The formula I am using is:

=VLOOKUP(1,\$X\$10:\$Z\$17,3,FALSE)

If the value returned is #N/A how can I make it display blank or null?
--
Babs

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post diaare Excel Worksheet Functions 3 May 3rd 23 03:44 AM The Countryman Excel Worksheet Functions 2 January 5th 07 06:22 PM via135 via OfficeKB.com Excel Discussion (Misc queries) 3 September 22nd 06 09:32 PM Pivot Table/Query Excel Worksheet Functions 6 June 14th 05 11:19 PM kennette Excel Worksheet Functions 2 April 27th 05 03:06 PM

All times are GMT +1. The time now is 12:23 AM.