Finding cells with same values and identifying them

Rolandkroon

New Member
Joined
Sep 17, 2022
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Good Morning.
I have a list of Customer Codes and a list of Customer codes who use a certain kind of billing in a separate column (or sheet)
I need to search the second column so that I can highlight the customers that use this billing method.
Column 1 Cust Code - I need to find all the Cust Codes that appear in both Column 1 and Column 3 "debit Order"
Your assistance is highly appreciated.
Thank
Roland
Cust CodeContactDebit Order
AAS001AA SafarisABE002
ABE002Colin Rudolph Edger AbelsADA007
ABR001Whities AbrahamsAFR004
ABR002Sharon AbrahamsAGT001
ABR003Protea Boniswa AbrahamsALE002
ADA001Shastri AdamsALE003
ADA002Gerrith AdamsAPI001
ADA003Marita AdamsATH001
ADA005Petro AdamsBAA003
ADA006Lavande AdamsBAA009
ADA008Stephen AdamsBAA010
ADA009Hillary Stacey AdamsBAB001
ADA010John AdamsBAR003
AFPP(CAlexandria Farm Protection PlanBAR004
AFR004Klasie AfrikaBEY001
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Here is conditional formatting scenario:

I do not know how to assign a different color to each match, though.


Mr excel questions 53.xlsm
ABCDEFGH
1Cust CodeContactDebit OrderCF Formula A in CCF Formula TextCF Formula C in ACF Formula Text
2AAS001AA SafarisABE002FALSE=ISNUMBER(MATCH(A2,$C$2:$C$16,0))TRUE=ISNUMBER(MATCH(C2,$A$2:$A$16,0))
3ABE002Colin Rudolph Edger AbelsADA007TRUE=ISNUMBER(MATCH(A3,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C3,$A$2:$A$16,0))
4ABR001Whities AbrahamsAFR004FALSE=ISNUMBER(MATCH(A4,$C$2:$C$16,0))TRUE=ISNUMBER(MATCH(C4,$A$2:$A$16,0))
5ABR002Sharon AbrahamsAGT001FALSE=ISNUMBER(MATCH(A5,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C5,$A$2:$A$16,0))
6ABR003Protea Boniswa AbrahamsALE002FALSE=ISNUMBER(MATCH(A6,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C6,$A$2:$A$16,0))
7ADA001Shastri AdamsALE003FALSE=ISNUMBER(MATCH(A7,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C7,$A$2:$A$16,0))
8ADA002Gerrith AdamsAPI001FALSE=ISNUMBER(MATCH(A8,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C8,$A$2:$A$16,0))
9ADA003Marita AdamsATH001FALSE=ISNUMBER(MATCH(A9,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C9,$A$2:$A$16,0))
10ADA005Petro AdamsBAA003FALSE=ISNUMBER(MATCH(A10,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C10,$A$2:$A$16,0))
11ADA006Lavande AdamsBAA009FALSE=ISNUMBER(MATCH(A11,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C11,$A$2:$A$16,0))
12ADA008Stephen AdamsBAA010FALSE=ISNUMBER(MATCH(A12,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C12,$A$2:$A$16,0))
13ADA009Hillary Stacey AdamsBAB001FALSE=ISNUMBER(MATCH(A13,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C13,$A$2:$A$16,0))
14ADA010John AdamsBAR003FALSE=ISNUMBER(MATCH(A14,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C14,$A$2:$A$16,0))
15AFPP(CAlexandria Farm Protection PlanBAR004FALSE=ISNUMBER(MATCH(A15,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C15,$A$2:$A$16,0))
16AFR004Klasie AfrikaBEY001TRUE=ISNUMBER(MATCH(A16,$C$2:$C$16,0))FALSE=ISNUMBER(MATCH(C16,$A$2:$A$16,0))
17
RolandKroon
Cell Formulas
RangeFormula
E2:E16E2=ISNUMBER(MATCH(A2,$C$2:$C$16,0))
F2:F16,H2:H16F2=FORMULATEXT(E2)
G2:G16G2=ISNUMBER(MATCH(C2,$A$2:$A$16,0))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C2:C16Expression=ISNUMBER(MATCH(C2,$A$2:$A$16,0))textNO
A2:A16Expression=ISNUMBER(MATCH(A2,$C$2:$C$16,0))textNO




1690026053912.png
 
Upvote 0
I just realized the picture I posted did not have the rules:

1690027821356.png
 
Upvote 0
Solution

Forum statistics

Threads
1,215,332
Messages
6,124,314
Members
449,153
Latest member
JazzSingerNL

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