#1   Report Post  
Posted to microsoft.public.excel.misc
Max_power
 
Posts: n/a
Default simple lookup


Hello,

I'm trying to do a simple Vlookup that will return the number or return
"not found" if not found. So if it's nan it will return "not found".
I can't seem to get my if statement correct


Many thanks


--
Max_power
------------------------------------------------------------------------
Max_power's Profile: http://www.excelforum.com/member.php...o&userid=32255
View this thread: http://www.excelforum.com/showthread...hreadid=534891

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bondi
 
Posts: n/a
Default simple lookup

Hi Max

=IF(ISERROR(VLOOKUP()),"Not Found",VLOOKUP())

Regards,
Bondi

  #3   Report Post  
Posted to microsoft.public.excel.misc
Gizmo63
 
Posts: n/a
Default simple lookup

Hi,

If a lookup is not found you will get a #N/A error value, you need to test
the lookup for an error then define the answer in case of an error.

Assuming your basic lookup is fine you need:

=IF(ISNA([your lookup formula]),"Not Found",[your lookup formula])

HTH

Giz

"Max_power" wrote:


Hello,

I'm trying to do a simple Vlookup that will return the number or return
"not found" if not found. So if it's nan it will return "not found".
I can't seem to get my if statement correct


Many thanks


--
Max_power
------------------------------------------------------------------------
Max_power's Profile: http://www.excelforum.com/member.php...o&userid=32255
View this thread: http://www.excelforum.com/showthread...hreadid=534891


  #4   Report Post  
Posted to microsoft.public.excel.misc
Max_power
 
Posts: n/a
Default simple lookup


Many thanks to both replies


--
Max_power
------------------------------------------------------------------------
Max_power's Profile: http://www.excelforum.com/member.php...o&userid=32255
View this thread: http://www.excelforum.com/showthread...hreadid=534891

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup help (simple) Boggis2000 Excel Worksheet Functions 4 January 25th 06 11:41 AM
Looking to create a simple user form with lookup Tim Excel Discussion (Misc queries) 5 November 14th 05 04:57 PM
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
Simple lookup Bill Excel Worksheet Functions 2 April 26th 05 03:51 AM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"