LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SCHM
 
Posts: n/a
Default Vlookup for multiple values

Hello,

I am trying to lookup two values using vlookup and I want it to return one
value. I have tried at least three of the solutions posted on this forum.
None works.

My data is on tab 'Formulae' as follows from Row 36 to 63. Sample as shown
below.

Col A has result of B&C concatenated.

Col A Col B Col C Col D
LCCY1ADLCURE LCCY1ADL CURE $-
LCCY1ADLHR LCCY1ADL HR $3.95
LCCY1ADLLR LCCY1ADL LR $0.34
LCCY1ADLMHR LCCY1ADL MHR $2.07
LCCY1ADLMLR LCCY1ADL MLR $0.66
LCCY1ADLTOTAL LCCY1ADL TOTAL $0.88
LCCY1NEWCURE LCCY1NEW CURE $-
LCCY1NEWHR LCCY1NEW HR $4.24
LCCY1NEWLR LCCY1NEW LR $2.78
LCCY1NEWMHR LCCY1NEW MHR $3.31
LCCY1NEWMLR LCCY1NEW MLR $2.87

On another tab, I have the inputs in A25 (say it has LCCY1NEW) and B25 (say
it has MHR) to retrieve the value in cell G25 (which should be $3.31)

1) Concatenate: I am sometimes able to get results, but they are not the
correct, else I get #N/A. (Says $ 0)
Cell G25 has formula,

=VLOOKUP((A24&B24),Formulae!$A$36:$F$63,4,FALSE)

2) Using Index and Match: result is #N/A

{=INDEX(Formulae!D36:D63,MATCH(A24&B24, Formulae!B36:B63&Formulae!C36:C63,0))}

3) Using Sumproduct: Result is not correct (says $0)

=SUMPRODUCT((Formulae!$B$36:$B$63=A24),(Formulae!$ C$36:$C$63=B24),Formulae!$D$36:$D$63)

Appreciate anyone shedding light on the issue.
Regards,
SCHM
 
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 Null values Babylooch Excel Worksheet Functions 4 September 11th 06 03:43 PM
use vlookup or other to find the nearest values (<) or interpola Rodney Excel Worksheet Functions 4 April 5th 06 09:21 PM
Vlookup on a worksheet with similar values GWHITE1 Excel Worksheet Functions 3 December 31st 05 04:16 PM
vlookup returning multiple values soph Excel Worksheet Functions 2 October 14th 05 05:17 AM
VLOOKUP FOR MULTIPLE VALUES RITA Setting up and Configuration of Excel 1 February 10th 05 11:42 PM


All times are GMT +1. The time now is 10:04 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"