Conditional formatting using SUMPRODUCT. Match two lists

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,844
Office Version
  1. 365
Platform
  1. Windows
Hi All,
I need to match two lists and find the matched value. The short list has 16 digits invoice number, while the lookup table has long list with the same invoice numbers but with the extention “-SBOO2”, “-SBOO3”,
I need to match the invoice number. I am using the conditional formatting with the following formula.
=SUMPRODUCT(--ISNUMBER(SEARCH(A4"*",$F$4:$F$10)))
Where Column A has the long list. I highlighted the long list.

Please advise.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
I guess I'm confused. Conditional formatting doesn't need to search for a matching value. You simply provide the range you want to affect and provide a formula that will result in TRUE or FALSE. I tried to use your formula and got random results. The formula below is how my brain works.

=IF(IFERROR(MATCH(A4,$F$4:$F$10,FALSE),0)+IFERROR(MATCH(A4&"-SB0002",$F$4:$F$10,FALSE),0)+IFERROR(MATCH(A4&"-SB0003",$F$4:$F$10,FALSE),0)>0,TRUE,FALSE)
 
Upvote 0

Forum statistics

Threads
1,214,986
Messages
6,122,611
Members
449,090
Latest member
vivek chauhan

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