Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KL Cheong
 
Posts: n/a
Default VLOOKUP Limitation and Solution?

Hi,

I am having problem with VLOOKUP that can solve my problem.

I have the following table with the following condition. For example, if A
meet both condition 1 and 2, it should return a result of "AA".

Data Condition 1 Condition 2 Results
A 1 ! AA
B 2 @ BB
C 3 # CC
D 4 $ DD
E 5 % EE

What is the function that I can use in order to lookup the data with the
following inputs so that it can return the correct results based on the above
condition?

Data Input 1 Input 2 Results
A 1 @
A 1 ! ------ expect to give AA
C 6 !
D 4 $ ------ expect to give DD
D 3 $
C 4 #
E 5 % ------ expect to give EE

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default VLOOKUP Limitation and Solution?

You could create a new helper column to the left of your existing VLOOKUP
table and therein CONCATENATE your Condition1 and Condition2 columns, to read:
1!
2@
3#
4$
5%
......and then do your VLOOKUP formula on this column.........it's like
having a 2-condition AND built into a VLOOKUP all at one time.....

hth
Vaya con Dios,
Chuck, CABGx3




"KL Cheong" wrote:

Hi,

I am having problem with VLOOKUP that can solve my problem.

I have the following table with the following condition. For example, if A
meet both condition 1 and 2, it should return a result of "AA".

Data Condition 1 Condition 2 Results
A 1 ! AA
B 2 @ BB
C 3 # CC
D 4 $ DD
E 5 % EE

What is the function that I can use in order to lookup the data with the
following inputs so that it can return the correct results based on the above
condition?

Data Input 1 Input 2 Results
A 1 @
A 1 ! ------ expect to give AA
C 6 !
D 4 $ ------ expect to give DD
D 3 $
C 4 #
E 5 % ------ expect to give EE

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 limitation Ankur Excel Discussion (Misc queries) 4 August 24th 05 07:03 PM


All times are GMT +1. The time now is 05:31 PM.

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"