# Match Challenge

#### frankee_gee

##### Board Regular
Hello Mr. Excel,

Please help. I receive a report with about 50 rows of data daily. Two of the headings have to be identical. I was hoping I could use a formula to do this for me.

 A B C (Want results here) Activity Date Transaction Date Match yes / no 1/1/2014 1/1/2014 y 1/2/2014 1/3/2014 n 1/6/2014 1/6/2014 y

<tbody>
</tbody>

It does not have to be a "Y" or "N" ...just something that indicates that there is a mismatch. like a "1" or "0"...

Thanks for your time.

Frank.

### Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

#### vogel997

##### Active Member
=if(a2=b2,"Y","N")

##### Active Member
or
=--(A1=B1)
or for true/false
=A1=B1

#### JoeMo

##### MrExcel MVP
Assuming you want to see if the entries in A have a match in B:
In C2 and copy down.
Code:
``=IF(ISNA(MATCH(A2,\$B2:\$B100)),"No","Yes")``
Adjust the B range to suit.

#### frankee_gee

##### Board Regular
V, V & J,

Beautiful!!! They all worked. Thanks for you help as usual. This will save tons to time.

Thanks again,

Frank.

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,168,013
Messages
5,856,828
Members
431,835
Latest member
AJBud2022

### 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?

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