ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Vlookup (https://www.excelbanter.com/excel-worksheet-functions/231384-vlookup.html)

Pawan

Vlookup
 
vlookup funtion is returning me #N/A but can I get this replaced with 0 or
blank

Gaffnr

Vlookup
 
Yes. Do:

=IF(ISERROR(VLOOKUP(A1,RANGE,2,0)=TRUE),0,VLOOKUP( A1,RANGE,2,0))

Where RANGE is of course your vlookup reference point and A1 is cell to
lookup.
Good luck
--
Rob Gaffney


"pawan" wrote:

vlookup funtion is returning me #N/A but can I get this replaced with 0 or
blank


Jacob Skaria

Vlookup
 
=IF(ISERROR(VLOOKUP),0,VLOOKUP) will return 0
=IF(ISERROR(VLOOKUP),"",VLOOKUP) will return blank

VLOOKUP(<lookup,<range,<column,FALSE)

If this post helps click Yes
---------------
Jacob Skaria


"pawan" wrote:

vlookup funtion is returning me #N/A but can I get this replaced with 0 or
blank


Max

Vlookup
 
You could use ISNA to trap just #N/A errors, eg:
=IF(ISNA(Vlookup),0,Vlookup)

Above presumes you wish to be kept informed should errors other than #N/A
arise
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
---
"pawan" wrote:
vlookup funtion is returning me #N/A but can I get this replaced with 0 or
blank


David Biddulph[_2_]

Vlookup
 
=IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...))
=IF(ISNA(VLOOKUP(...)),"",VLOOKUP(...))
--
David Biddulph

"pawan" wrote in message
...
vlookup funtion is returning me #N/A but can I get this replaced with 0 or
blank





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

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