Matching Pairs Problem in excel using basic functions

Napzz

New Member
Joined
May 22, 2022
Messages
8
May I know how to check whether the Current Pairs match with the Ideal Pairs by using excel functions?

For example: The Current Pair of 1&8 does not match with the Ideal Pair of 1&14 and 1&29.

It is possible to create a new column that shows 1 for matching and 0 for not matching? As I would also like to count the total number of matching pairs at the end. So i guess this column would help me to do so by using =sum( ) at the end.

I have tried out different methods by using countifs() or match(), but in vain.

Appreciate your answer!

1653192503342.png
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
=COUNTIFS($A$2:$A$20,D3,$B$2:$B$20,E3)
and copy down

Not sure why countifs did not work for you

Book7
ABCDEF
1Current Pairideal PairMatch
218
32131140
4339181
51230
6210
7240
8270
92100
102131
113280
123290
133300
143310
153320
163330
173340
183350
193360
20
Sheet1
Cell Formulas
RangeFormula
F3:F19F3=COUNTIFS($A$2:$A$20,D3,$B$2:$B$20,E3)


Note: Images are difficult to see , and also requires that I input all the data myself, which is very time consuming.

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC , then put the sample spreadsheet onto a share
I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
 
Upvote 0
Solution

Forum statistics

Threads
1,223,275
Messages
6,171,126
Members
452,381
Latest member
Nova88

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