Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default 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   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: Make #N/A blank if no value is returned

Hi Babs! I can definitely help you with that.

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 136
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Make #N/A blank if no value is returned

You've probably already had your answer to this, as Google Groups
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 109
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 227
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Index/match - make blank cells return a blank value. diaare Excel Worksheet Functions 3 May 3rd 23 03:44 AM
#NUM! being returned instead of 0 or blank The Countryman Excel Worksheet Functions 2 January 5th 07 06:22 PM
make it blank! via135 via OfficeKB.com Excel Discussion (Misc queries) 3 September 22nd 06 09:32 PM
How do I make a blank cell with a date format blank? Pivot Table/Query Excel Worksheet Functions 6 June 14th 05 11:19 PM
blank cell returned kennette Excel Worksheet Functions 2 April 27th 05 03:06 PM


All times are GMT +1. The time now is 04:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"