custom formula in Excel MSOffice 365

carmonarm

New Member
Joined
Sep 25, 2017
Messages
3
Hello to everyone and anyone that can bless me with their knowledge,

I am proficient in Excel, but I think I may have hit a brick wall on this one.

I know SQL can do this better but I don't have access to that and or VISIO.

I need a formula that is a combination of SUMPRODUCT and COUNTIF and or whatever other formula I may have missed or am currently ignorant to.

I need to find cells in one column, row by row, that have ANY words that match in the other column.
(only two columns are comparing each other on this spreadsheet)

The data in each column comes from 2 different sources and they are basically different descriptions to medical products.

column "A" is what the buyer is looking for (and they don't use EXACT wording) and column "B" has the actual product description per our catalog system.

As long as even ONE word matches, we're okay with that and consider it a match.

If NONE of the words match then the record can be highlighted using conditional formatting and deleted.

The issue with most standard SUMPRODUCT and or COUNTIF formulas, I must give it a range of words or exact words, numbers, characters, etc. in order for it to properly query.

In this situation, I just want column "A" cell to query/bounce off of column "B" cell and tell us if at least 1 (one) word/term matches, row by row. (each row is a total different product) the entire sheet was already been scrubbed for basic duplicates, anomalies, etc.

I can try to send a snip it sample for reference.

Thank you
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Without some sample data, this is a start with my best guess...
A​
B​
C​
1​
aaxx
9​
2​
bbyy
3​
cczz
4​
ddaa
5​
eebb
6​
aaxx
7​
bbyy
8​
cczz
9​
ddaa
10​
eebb
11​
aaxx
12​
bbyy
13​
cczz
14​
ddaa
15​
eebb
C1=SUM(COUNTIF(A1:A15,B1:B15))/2
ARRAY entered using CTRL SHIFT ENTER
 
Upvote 0
Thank you for responding...I'm going to try that, I think I understand it...I can't seem to attached a snap shot of the sampled data, but here's a look typed out...

column A column B column C results
ABRASIVE,DENTAL,PUMICE,FLOUR,2GM CUP ABRASIVE,DENTAL,PUMICE,FLOUR,2GM CUP MATCH
ABUTMENT,FIXED(SPINE) FORCEPS,ENDO,HOT BX,RADIAL JAW 4,2.2MM X 240CM,POLYPECTOMY NO MATCH
ACAPELLA, W/MOUTHPIECE SYSTEM,PEP THERAPY,OSC,W/MOUTHPIECE,VIBRAPEP,OPEP,T-PIECE MATCH
ACCESS CATH, TWIN PASS DUAL CAP/HOOD,SURGEON,UNIV,KAYCEL FABRIC,BLU,UNISEX,DISP NO MATCH
 
Upvote 0
Sorry that didn't look so good...

column A column B
ABRASIVE,DENTAL,PUMICE,FLOUR,2GM CUP ABRASIVE,DENTAL,PUMICE,FLOUR,2GM CUP (MATCH)
ABUTMENT,FIXED(SPINE)FORCEPS,ENDO,HOT BX,RADIAL JAW 4,2.2MM X 240CM,POLYPECTOMY (NO MATCH
ACAPELLA, W/MOUTHPIECESYSTEM,PEP THERAPY,OSC,W/MOUTHPIECE,VIBRAPEP,OPEP,T-PIECE (MATCH)
ACCESS CATH, TWIN PASS DUALCAP/HOOD,SURGEON,UNIV,KAYCEL FABRIC,BLU,UNISEX,DISP
ACCESSORY,SURGICAL POWER TOOL,HANDPIECE CORD,ELECTRIC,REMBACCESSORY,SURGICAL POWER TOOL,HANDPIECE CORD,ELECTRIC,REMB
ACID CHECK SOLN S2030CABLE,PULSE OXIMETER,LNCS TO GE CABLE,L 10FT

<colgroup><col><col></colgroup><tbody>
</tbody>

I tried your formula, I still didn't get it to work...keep in min I"m comparing cell to cell in one row for only 2 columns, not ht range, I only want to compare each cell in each column for each row and then copy the formula all the way down...
 
Upvote 0
aakhh OK, so you need to test A1 with B1, A2 wit B2 etc, NOT A1 with the whole range of B?


What do you want to happen when a match is found? I would probably do this with a helper column if I wanted to count the matches (=--A1=B1), or with Conditional Formatting if I just wanted to highlight the matches
 
Upvote 0

Forum statistics

Threads
1,214,858
Messages
6,121,956
Members
449,057
Latest member
FreeCricketId

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