If match?

hhebe

New Member
Joined
Aug 17, 2011
Messages
20
I need help....

I need a formula/function that will compare the data in two different columns and will return MATCH (or something similiar) if the data matches

Thanks ahead of time
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Would you mind explaining the formula to me so it would help me to remember it in the future? :)
 
Upvote 0
You don't need VLOOKUP because you're not returning a value and you can also check to see if it DID find it, rather than if it didn't.


=IF(ISNUMBER(MATCH(B1,$A$2:$A$2000,0)),"Match","")
 
Upvote 0
Another approach:

Code:
=IF(COUNTIF(A$2:A$2000,B2),"Match","")

Matty


Very cool, thank you Matty!

Excelestial, nevermind about the explanation, my co-worker was wondering what the 1 in the formula was but I figured out it was column number :)
 
Upvote 0
Apparently none of the 3 are working correctly. Does it matter if I tell you that it will be comparing data that is already in the same row? also, the data will be 2 sets of street addresses and 2 sets of telephone numbers. Any more suggestions?
 
Upvote 0
Something like this perhaps ?


Excel Workbook
ABCDEF
2Comp-ResultAddress Col1Phone Col1Address Col2Phone Col2
3 Address-1Phone -1Address-6Phone -6
4Address-2Phone -2Address-7Phone -7
5Address-3Phone -3Address-8Phone -8
6Address-4Phone -4Address-9Phone -9
7Address-5Phone -5Address-10Phone -10
8MatchAddress-6Phone -6Address-11Phone -11
9MatchAddress-7Phone -7Address-12Phone -12
10MatchAddress-8Phone -8Address-13Phone -13
11MatchAddress-9Phone -9Address-14Phone -14
12MatchAddress-10Phone -10Address-15Phone -15
13MatchAddress-11Phone -11Address-23Phone -23
14MatchAddress-12Phone -12Address-24Phone -24
15MatchAddress-13Phone -13Address-25Phone -25
16MatchAddress-14Phone -14Address-26Phone -26
17MatchAddress-15Phone -15
18Address-16Phone -16
19Address-17Phone -17
20Address-18Phone -18
21Address-19Phone -19
22Address-20Phone -20
23Address-21Phone -21
24Address-22Phone -22
25MatchAddress-23Phone -23
26MatchAddress-24Phone -24
27MatchAddress-25Phone -25
28MatchAddress-26Phone -26
Sheet5
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B31. / Formula is =ISNUMBER(MATCH(B3&C3,$E$3:$E$16&$F$3:$F$16,0))Abc
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,314
Members
452,634
Latest member
cpostell

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