I have an array of text in range Sheet1!$A$2:$BM$111 that I am trying to match each value that is in column Adresses!a4:a1098 and return the column in sheet1! where the string was found.
I have this formula
INDEX(Sheet1!$A$1:$BM$1, SUMPRODUCT(MAX((Sheet1!$A$2:$BM$111=A4)*(COLUMN(Sheet1!$A$2:$BM$111))))-COLUMN(Sheet1!$A$1)+1)
This formula will match the last item it finds. I am trying to get it to match each find and then return the corresponding index column to where it was found. Also if nothing is found it will return all index columns where it should be a blank. I hope I explained this well enough. I am frustratedly stuck.
I have this formula
INDEX(Sheet1!$A$1:$BM$1, SUMPRODUCT(MAX((Sheet1!$A$2:$BM$111=A4)*(COLUMN(Sheet1!$A$2:$BM$111))))-COLUMN(Sheet1!$A$1)+1)
This formula will match the last item it finds. I am trying to get it to match each find and then return the corresponding index column to where it was found. Also if nothing is found it will return all index columns where it should be a blank. I hope I explained this well enough. I am frustratedly stuck.