![]() |
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 |
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:
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! |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 04:42 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com