ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   #NA (https://www.excelbanter.com/excel-worksheet-functions/33625-na.html)

Alex H

#NA
 
I am creating a spreadsheet spreading forward for the next 12 months. Some
ofmy cells have #NA in them as there is no raw data for the vloopup to
calculate.

Is there a way to display a blank cell for these #NA's

Thanks

Alex



KL

Hi Alex,

Try something like this:

=IF(ISNA(VLOOKUP(A1,$B$1:$C$10,2,0)),"",VLOOKUP(A1 ,$B$1:$C$10,2,0))

or

=IF(ISERROR(VLOOKUP(A1,$B$1:$C$10,2,0)),"",VLOOKUP (A1,$B$1:$C$10,2,0))

Regards,
KL

"Alex H" wrote in message
...
I am creating a spreadsheet spreading forward for the next 12 months. Some
ofmy cells have #NA in them as there is no raw data for the vloopup to
calculate.

Is there a way to display a blank cell for these #NA's

Thanks

Alex





Don

Try:

=IF(ISERROR(VLOOKUP(G8,A1:B10,2,FALSE)),"",VLOOKUP (G8,A1:B10,2,FALSE))


Substituting your lookup data

Don Pistulka




"Alex H" wrote in message
...
I am creating a spreadsheet spreading forward for the next 12 months. Some
ofmy cells have #NA in them as there is no raw data for the vloopup to
calculate.

Is there a way to display a blank cell for these #NA's

Thanks

Alex





Alex H

Thanks

Alex

"KL" wrote in message
...
Hi Alex,

Try something like this:

=IF(ISNA(VLOOKUP(A1,$B$1:$C$10,2,0)),"",VLOOKUP(A1 ,$B$1:$C$10,2,0))

or

=IF(ISERROR(VLOOKUP(A1,$B$1:$C$10,2,0)),"",VLOOKUP (A1,$B$1:$C$10,2,0))

Regards,
KL

"Alex H" wrote in message
...
I am creating a spreadsheet spreading forward for the next 12 months.
Some ofmy cells have #NA in them as there is no raw data for the vloopup
to calculate.

Is there a way to display a blank cell for these #NA's

Thanks

Alex








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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com