Lookup with multiple criteria in list with duplicate entries

Steven Wood

New Member
Joined
Oct 8, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi guys

I'm looking to pull data from the below sample. The user IDs can repeat throughout the column, as can the dates.

1696793217996.png


I want to extract the data from column AB, when looking up Column B & Column Z combined and return it into a list of User IDs by date - for example, lookup for user 4094 on 01/10/2023 should return 15:13:03.

Any help would be greatly appreciated!
 

Attachments

  • 1696793081115.png
    1696793081115.png
    95.2 KB · Views: 5

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Welcome to the Forum!

Like this perhaps?

ABCDEFGHIJKLMNOPQRSTUVWXYZ
1INPUTUserIDDate
240941231 Oct 2023
350344561 Oct 2023
432237891 Oct 2023
593061011121 Oct 2023
677771314151 Oct 2023
73223162 Oct 2023
8930617182 Oct 2023
977771920212 Oct 2023
10
11
12
13
14OUTPUTUserID1 Oct 20232 Oct 2023
153223716
1640941N/A
1750344N/A
1877771319
1993061017
20
Sheet1
Cell Formulas
RangeFormula
C14:D14C14=TRANSPOSE(UNIQUE(Z2:Z9))
B15:B19B15=SORT(UNIQUE(B2:B9))
C15:D19C15=LET(d,FILTER($C$2:$Y$9,($B$2:$B$9=$B15)*($Z$2:$Z$9=C$14)),IFERROR(TAKE(FILTER(d,d<>0),,1),"N/A"))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,159
Messages
6,123,345
Members
449,097
Latest member
thnirmitha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top