Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Excel Lookup Patrial Text and return the whole text

I have an Excel sheet that has 1 image in each row but its not in the same column and I want them to get them all together in a column.

The other cells contain values number or texts.

I have tried with Vlookup
=VLOOKUP(""&$F$1&"";A2:D2;1;0)

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

enter image description here

Waiting for your replies.

>Solution :

If, as per screenshot, all other data are empty cells, try:

enter image description here

Formula in F2:

=TOCOL(A1:D6,1)

However, I do have a feeling the sample data is oversimplified, if so, try:

enter image description here

Formula in F2:

=BYROW(A2:D6,LAMBDA(x,XLOOKUP("*"&F1,x,x,,2)))
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading