View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default vlookfunction help

Hi,

=IF(ISNA(MATCH(A2,B2:B6)),"New","Old")

Mike

"Igneshwara reddy" wrote:

Hi,

I am using vlookup for the below data and looking for answers "Old" or "New"

Data Old vlookup formula
123 123 =vlookup(A2,B2:B4,1,0) results in answer as 123.
12345 3456
3456 34566
34566 12345
6545

Whenever the data matches it should result the answer as "OLD" instead of
123 and if it is not found the answer to be as "NEW.

Please help me with the formula.

Regards,
Igneshwara Reddy