Forum Discussion

El1-_321's avatar
El1-_321
Copper Contributor
Apr 17, 2019

Index Match multiple results without duplicates

Hi, can anyone help?

 

I am trying to get a cell to lookup ID2 based on two criterias - Date & ID with the intention of having ID2 returned without the duplicates. A simplified version of the layout is below: 

 

Date1/04/2019 
ID1 
ID2  
   
DateIDID2
1/04/20191YEAR1
1/04/20191YEAR1
1/04/20192YEAR2
1/04/20191YEAR1
1/04/20192YEAR2
1/04/20191YEAR1
1/04/20192YEAR2 

 

Thank you :)

5 Replies

      • Twifoo's avatar
        Twifoo
        Silver Contributor
        A single LOOKUP function can return the same result, like this:
        =LOOKUP(2,
        1/((A6:A12=B1)*
        (B6:B12=B2)),
        C6:C12)

Resources