Oct 26 2022 05:01 AM
Hello, I hope you are all well.
I don't want to do this with Power Query. I want to write with a formula that should probably have a search function in it. I don't want it to be case sensitive. I want to search all words.
I want to search about 10,000 words or phrases in one column. If there are any number of these words, I want the exact same words to be returned to me in the opposite cell. There should be a comma between each word. I want one column. I have several tens of thousands of cells. I want to do this for each cell and write it in the opposite cell and put a comma between the words if there is more than one word so that they don't get confused with each other. Thank you for helping me with the formula. Consider some hypothetical search words, for example "house" and "book" and "clothes". But the number of my words is about 10 thousand (10,000) words.
Oct 26 2022 05:12 AM
You have already asked this question.
Oct 26 2022 05:36 AM
Oct 26 2022 06:36 AM
=IFERROR(INDEX($AU$2:$AU$588,SMALL(IF(ISNUMBER(SEARCH($AU$2:$AU$588,$A2)),ROW($AU$2:$AU$588)-1),COLUMN(A:A))),"")
You can try this formula as shown in the example in the attached file. Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.
Oct 26 2022 11:07 AM
@Quadruple_Pawn Can cells B9, C9, D9, etc. be found by putting a comma between each word in a house? A formula that puts a comma between the words and puts them all in one cell.
Thank you for your answer
Oct 26 2022 11:50 AM
If you work with Excel 2019 or later you can try TEXTJOIN function.
Oct 26 2022 11:57 AM
Oct 26 2022 11:59 AM
I have Excel 2013 Home and Student.
Oct 26 2022 12:23 PM
You could use:
=BYROW(A2:A9,LAMBDA(row,TEXTJOIN(",",1,XLOOKUP(TEXTSPLIT(row," "),words,words,""))))
I'm a bit surprised PowerQuery is taking long to run on your computer. I don't know if the above will be any quicker but here it is.
Oct 26 2022 12:38 PM
Oct 26 2022 12:40 PM