Forum Discussion
Excel 365 XLOOKUP - New User Question
Hi,
I am trying to use the XLOOKUP function to retrieve duplicate values from 1 piece of criteria. The formula below is where i am at.
=XLOOKUP(F2:F1500,Q2:Q309,Q2:R309,,-1)
I am looking up a code number as criteria "03-01" (1 of many in a column)
I have multiple duplicate matches that i want returned from another column but it only returns the first match. As i drag it down the column it keeps returning the first match.
How do i get it to return all matches as i drag it down the column.
Thanks
Terry
6 Replies
- mathetesSilver Contributor
You might be better served by the FILTER function. It will return multiple rows that match a given criterion, or several criteria.... Here are two sources that might help you accomplish your task with that function.
https://exceljet.net/excel-functions/excel-filter-function
https://www.youtube.com/watch?v=9I9DtFOVPIg