VLOOKUP formula for a multiline cells range

balasat

New Member
Joined
Mar 23, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Need your support here..am trying to search a specific text in a multiline valued cell and return corresponding value in the same row
In the first source table, i have serial number with multiple line values in cell and corresponding title for serial no's
in other table, have one serial no value in each cell, now i need a formula to search serial no in column E to find matching cell in column B and return value from Column C

thank you!


1679559353861.png
 

Attachments

  • 1679559223725.png
    1679559223725.png
    47.1 KB · Views: 9

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Serial​
Title​
123456
56789
3547924852
342984732195​
Serial no 3​
1234567
5678900
3547924852111
342984732195222​
Serial no 2​
ty45269
5sadfdsfe​
Serial no 1​


Serial NoOutput forumla neededDesired Output
123456
Search value 123456 in column 'B' and return result from column 'C'​
Serial no 3​
56789
Search value 56789 in column 'B' and return result from column 'C'​
Serial no 3​
3547924852
Search value 3547924852 in column 'B' and return result from column 'C'​
Serial no 3​
342984732195
Search value 342984732195 in column 'B' and return result from column 'C'​
Serial no 3​
1234567
Search value 1234567 in column 'B' and return result from column 'C'​
Serial no 2​
5678900
Search value 5678900 in column 'B' and return result from column 'C'​
Serial no 2​
3547924852111
Search value 3547924852111 in column 'B' and return result from column 'C'​
Serial no 2​
342984732195222
Search value 342984732195222 in column 'B' and return result from column 'C'​
Serial no 2​
ty45269
Search value ty45269 in column 'B' and return result from column 'C'​
Serial no 1​
5sadfdsfe
Search value 5sadfdsfe in column 'B' and return result from column 'C'​
Serial no 1​
 
Upvote 0
Book1
AB
1SerialTitle
2123456 56789 3547924852 342984732195Serial no 3
31234567 5678900 3547924852111 342984732195222Serial no 2
4ty45269 5sadfdsfeSerial no 1
5
6Serial No
7123456Serial no 3
856789Serial no 3
93547924852Serial no 3
10342984732195Serial no 3
111234567Serial no 2
125678900Serial no 2
133547924852111Serial no 2
14342984732195222Serial no 2
15ty45269Serial no 1
165sadfdsfeSerial no 1
Sheet2
Cell Formulas
RangeFormula
B7:B16B7=XLOOKUP("*"&CHAR(10)&A7:A16&CHAR(10)&"*",CHAR(10)&A2:A4&CHAR(10),B2:B4,,2)
Dynamic array formulas.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,811
Messages
6,181,081
Members
453,021
Latest member
Justyna P

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