ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Vlookup with multiple conditions (https://www.excelbanter.com/excel-worksheet-functions/17261-vlookup-multiple-conditions.html)

cambrus

Vlookup with multiple conditions
 
Does anyone know of a function I can use to look up a cell based on multiple
conditions? I'm looking for something similar to the Sum(if((array-x=y),
array-z,0)) formula but it would return text and not a sum. Sort of a vlookup
with multiple conditions.

Thanks for your help.

Christine

Peo Sjoblom

=INDEX(Range_with_text_value,MATCH(1,(array-x=y)*(array-z=next_condition),0)
)

entered with ctrl + shift & enter


--

Regards,

Peo Sjoblom



"cambrus" wrote in message
...
Does anyone know of a function I can use to look up a cell based on

multiple
conditions? I'm looking for something similar to the Sum(if((array-x=y),
array-z,0)) formula but it would return text and not a sum. Sort of a

vlookup
with multiple conditions.

Thanks for your help.

Christine





All times are GMT +1. The time now is 02:20 PM.

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