View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default removing #na from a sheet

Handle that using ISNA() and IF() ..If you are using XL2007 you can try
IFERROR()

=IF(ISNA(VLOOKUP(A2,Sheet1!A:P,2,0)),"",VLOOKUP(A2 ,Sheet1!A:P,2,0))


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


"excelquester" wrote:

how do i remove the # na from showing up in cells where formulas are required
on the sheet ,, how ever there is no information required in the lookup_value
cell.
using the formula =VLOOKUP(A2,Sheet1!A:P,2,FALSE)
Example:

Col a Col b col c
row 2 A1011 name special information
row 3 A1012 name 0
row 4 A1013 name 0

row 6 blank #na #na
row 7 blank #na #na
--
ty Bob