Is number match for two columns

Saoirse

New Member
Joined
Jan 27, 2022
Messages
33
Office Version
  1. 365
Platform
  1. Windows
If i look at Worksheet 1 row 2 and I want to view cell in column A and cell in column C then if those both match ANY rows in worksheet 2 I want them to highlight in worksheet 1. Would I just do an isnumber match formula for conditional formatting?

So if I do an =ISNUMBER(MATCH(B1, 'Sheet 1'!A:A,0)) that won't look at both columns. Can I adjust to have it look at two columns and compare to two columns in worksheet 2?

So both cells in selected column ranges in row 9 on worksheet 1 match the selected column ranges in row 5 on worksheet 2. how would I get worksheet 1 to highlight the row since both numbers match?

worksheet 1


amountidentification
103456
20432
348756
356532
379876
46412
58865
595432
659865
354321
175432
94764
88098723
56654


worksheet 2
amountidentification
58865
587
67639
7641469
659865
783468
459876
233457
4587654
652346
895423
9888754
5436532
235432
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
How about
Excel Formula:
=AND(COUNTIFS(Sheet2!$A:$A,$A2),COUNTIFS(Sheet2!$C:$C,$D2))
 
Upvote 0
How about
Excel Formula:
=AND(COUNTIFS(Sheet2!$A:$A,$A2),COUNTIFS(Sheet2!$C:$C,$D2))
Darn it, it didn't work. It just came up false for each one instead of finding matches. I have attempted to download the XL2BB thing, followed all the directions (i actually had to delete the old one because I used to have it) and it won't let me select "mini sheet" so I couldn't copy it over.

1671555848893.png


I will keep looking for more ideas. I'm just not sure how to make it search and compare :/
 
Upvote 0
It works for me.
Fluff.xlsm
ABCDEF
1amountidentification
2103456FALSE
320432FALSE
4348756FALSE
5356532FALSE
6379876FALSE
746412FALSE
858865TRUE
9595432FALSE
10659865TRUE
11354321FALSE
12175432FALSE
1394764FALSE
1488098723FALSE
1556654FALSE
Sheet1
Cell Formulas
RangeFormula
F2:F15F2=AND(COUNTIFS(Sheet2!$A:$A,$A2),COUNTIFS(Sheet2!$C:$C,$D2))


Make sure you don't have calculation set to manual
 
Upvote 0
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,200
Messages
6,123,611
Members
449,109
Latest member
Sebas8956

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