Highlight corresponding cells where a singular or CSV value in one column matches with a value in another column

the3rdrock

New Member
Joined
Nov 27, 2018
Messages
3
Hello,

Please excuse the screenshot in lieu of a mini-sheet. Company security restrictions prevent me from installing the add-on.

MrExcel.PNG


I was using a VLOOKUP formula to highlight corresponding cells in columns A and F where a number in the F column matched with an ID number in the A column. This worked.

=VLOOKUP($F6,$A$6:$A$1006,1,FALSE)

I've now changed the spreadsheet in order to allow multiple items in the F column. These are in CSV format, e.g. Row 6.

I've spent two days fighting this challenge, to no avail. The closest that I've come to a fix is:

=ISNUMBER(SEARCH(","&$F6&",",","&$A6&","))

This, for some strange reason, only highlights the blank rows.

Any assistance would be greatly appreciated.

Thank you.
 

Attachments

  • MrExcel.PNG
    MrExcel.PNG
    11 KB · Views: 5
  • MrExcel.PNG
    MrExcel.PNG
    11 KB · Views: 5

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,215,523
Messages
6,125,321
Members
449,218
Latest member
Excel Master

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top