XLOOKUP in cells with multiple rows of data

kevindj71

New Member
Joined
Apr 15, 2016
Messages
32
Is there a formula tweak for XLOOKUP to look in all rows of data within a cell? In attached example, I'd want to be able to find 47348 and/or 47349, etc. instead of it just looking at the first value in the cell (47345).
 

Attachments

  • mrexcel.jpg
    mrexcel.jpg
    16 KB · Views: 9

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
You can use the * as a wild card
 
Upvote 0
Can you post your actual formula.
 
Upvote 0
Ok, try
Excel Formula:
=XLOOKUP("*"&@[User Name]&"*",Oct1521!C[6],Oct1521!C[2],,2)
 
Upvote 0
Solution
Glad to help & thanks for the feedback.
 
Upvote 0
Glad to help & thanks for the feedback.
This is working absolutely great, but I'm curious now if we can add an additional wrinkle. Now I believe the wildcard search stops at the first "find", can the search continue and return additional "finds"?
 
Upvote 0
Xlookup along with other lookup functions always returns the 1st matching value.
 
Upvote 0

Forum statistics

Threads
1,203,468
Messages
6,055,599
Members
444,801
Latest member
JurieDT

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