Forum Discussion
Formula to Find column1 value in column2 and highlight it
- May 26, 2021
Mahesh_B The range in column A included a blank cell at the end and it is a dynamic array formula so you only needed to paste it in the first cell. If you don't have Excel 365 it won't work.
I fixed both issues and added the conditional formatting option in the attached.
Mahesh_B alternatives:
formula in column C:
=LET(in,B2:B30,z,$A$2:$A$6,FILTER(in,MMULT(IFERROR(SEARCH(TRANSPOSE(z),in),0),SEQUENCE(ROWS(z),1,1,0))))
or conditional formatting formula (based on range in column B starting at B1):
=SUM(IFERROR(SEARCH($A$2:$A$6,B1),0))
see attached
- Mahesh_BMay 26, 2021Copper Contributor
Hi mtarler ,
Thank you for your solution.
I tried solution, but somehow its not working.
Attaching file for reference.
Can you please look and help me with this?
Thank you,
Mahesh
- mtarlerMay 26, 2021Silver Contributor
Mahesh_B The range in column A included a blank cell at the end and it is a dynamic array formula so you only needed to paste it in the first cell. If you don't have Excel 365 it won't work.
I fixed both issues and added the conditional formatting option in the attached.