How can I use XLOOKUP (or similar) to return multiple different return values from identical lookup values?

if this should be asked elsewhere please let me know.

Is there a way for me to use XLOOKUP to return multiple different return values for identical lookup values?

For example, in a table like the one shown below, I would want to return A, B, C, D for lookup value 1. Currently I can only get it to return one of the values and just repeat it until moving on to the next lookup value.

LookupReturn
1A
1B
1C
1D
2A
2B

Thanks in advance!

1 Answer

That is what FILTER is for:

=FILTER(B:B,A:A=1)

enter image description here

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like