Lets say I had a sheet like this
COLA | COLB | COLC | |
---|---|---|---|
ROW1 | blah | blahbingo | blah |
ROW2 | blahmagic | blah | blah |
ROW3 | bingoblah | blah | magicblah |
And then I had a sheet like:
R | C | Substrings | |
---|---|---|---|
magic | |||
bingo |
What formula could I use to get that second sheet to do this:
R | C | Substrings | |
---|---|---|---|
ROW1 | COLB | magic | |
ROW2 | COLA | bingo | |
ROW3 | COLA | ||
ROW3 | COLC |
I want to find everywhere in sheet1 that one of the substrings match a cell and then return row header and column header of that cell. I'm specifically using Google Sheets but also tagged excel since there is so much overlap btw the 2 products.