#1   Report Post  
Posted to microsoft.public.excel.misc
carl
 
Posts: n/a
Default VLookUp / 2 Tables

I have 2 tables - Refmam1 and Refman2

My lookup value is in ColA. I Want to return the value in ColB

Is it possible to use the vlookup so that it checks Refman1 and Refman2 ?

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Vito
 
Posts: n/a
Default VLookUp / 2 Tables


You can try:

Double-Check spelling of Sheet Tab names.

=IF(COUNTIF(Refman1!A:A,A1)0,VLOOKUP(A1,Refman1!A :B,2,0),IF(COUNTIF(Refman2!A:A,A1)0,VLOOKUP(A1,Re fman2!A:B,2,0),"Not
Found"))

Adjust cell references to suit.


--
Vito
------------------------------------------------------------------------
Vito's Profile: http://www.excelforum.com/member.php...o&userid=29182
View this thread: http://www.excelforum.com/showthread...hreadid=502233

  #3   Report Post  
Posted to microsoft.public.excel.misc
L. Howard Kittle
 
Posts: n/a
Default VLookUp / 2 Tables

Hi Carl,

If I understand correctly..

=IF(ISNA(VLOOKUP(F1,A1:B5,2,0)),VLOOKUP(F1,D1:E5,2 ,0),VLOOKUP(F1,A1:B5,2,0))

Where F1 is the lookup value and A1:B5 is Refman1 and D1:E5 is Refman2.
So if the F1 lookup value of Ref1 returns #N/A it will return a value from
Ref2 and if no number match there then #N/A will be returned from the Ref2
lookup.

HTH
Regards,
Howard

"carl" wrote in message
...
I have 2 tables - Refmam1 and Refman2

My lookup value is in ColA. I Want to return the value in ColB

Is it possible to use the vlookup so that it checks Refman1 and Refman2 ?

Thank you in advance.



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
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
can vlookup search multiple data tables Nadia Excel Discussion (Misc queries) 6 June 6th 05 05:52 AM
Macro for Pivot Tables Thomas Excel Discussion (Misc queries) 1 March 15th 05 01:03 AM
VLookUp Tables Louise Excel Worksheet Functions 5 March 9th 05 04:01 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM


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

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

About Us

"It's about Microsoft Excel"