ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   look up (https://www.excelbanter.com/excel-worksheet-functions/42473-look-up.html)

krk

look up
 
Hej,

how is it possible to look up a value in a dataset, when it's determined by
three differet "look up values"?

bj

this is often a good place to use a sumproduct() formula
=sumproduct(--(Range1=argument1),--(Range2=arguement2),--(Range
3=Argument2),answerrange)
the --( changes the logical true, false to a numeric 1,0 and the arrays in
each segment needs to be the same size but you can't use the shorthand for
full columns or rows. (A:A wont work)

"krk" wrote:

Hej,

how is it possible to look up a value in a dataset, when it's determined by
three differet "look up values"?


Bob Phillips

You can concatenate them

=INDEX(M1:M100,MATCH(A1&B1&C1,G1:G100&H1:H100&I1:I 100,0))

which is an array formula, so commit with Ctrl-Shift-Enter

--

HTH

RP
(remove nothere from the email address if mailing direct)


"krk" wrote in message
...
Hej,

how is it possible to look up a value in a dataset, when it's determined

by
three differet "look up values"?





All times are GMT +1. The time now is 12:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com