Hi
I have a list of text strings I want to search for in a cell on each row. For each occurrence it find I want it to return description from the Library table.
The matter is outlined in the attached file.
Thank you
Allister
Hi
I have a list of text strings I want to search for in a cell on each row. For each occurrence it find I want it to return description from the Library table.
The matter is outlined in the attached file.
Thank you
Allister
One way:
=TEXTJOIN(",",1,FILTER(Library[Column1],(Library[Library]=Trans[@Ref1])+(Library[Library]=Trans[@Ref2])+(Library[Library]=Trans[@Ref3])))
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Why do you expect Low, Low for the final row???
=TEXTJOIN(", ",,IF(ISNUMBER(SEARCH(Library[Library],Trans[@[Ref1]:[Ref3]])),Library[Column1],""))
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
Yes you are right. The last row should read Low
Glad to have helped.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
Hi Ali
I noticed that when I tried the proposed solution it did not pick up the text "ump" in jump and Dump on the second row of text. Also the components in the Category Column are in the Order of Library[Column1} - they need to be in the order of columns Ref1 Ref2 Ref3 - is this possible?
Thanks Ali
Allister
Last edited by AllisterB; 06-19-2022 at 08:24 PM.
Hi Glenn
Thanks for the solution.
I did notice that the components in the Category Column are in the Order of Library[Coulmn1} - they to be in the order of columns Ref1 Ref2 Ref3 - is this possible?
Please try
=TEXTJOIN(",",,TRANSPOSE(IF(ISNUMBER(SEARCH(Library[Library],C4:E4)),Library[Column1],"")))
Hi
Thank you for this nice solution. What would I change if I wanted cells that did not contain any of teh text strings in K Library to return a place Holder eg Low,,Medium
Kind Regards
Allister
Try
=LET(m,MMULT(SEQUENCE(,ROWS(Library)),--(ISNUMBER(SEARCH(Library[Library],C4:E4)))),TEXTJOIN(",",0,IF(m,INDEX(Library[Column1],m),"")))
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks