match and index not working

my_account

New Member
Joined
Mar 9, 2019
Messages
1
Hi All,

I am trying to compare two tables of having varied rows and columns. I want to see if values in table 1 matches with data in table 2. I am using index and match formula. I am checking each cell in table 1 with table 2 data set.

However I am getting 'no match' everytime. Can anyone please provide right formula.

=IF(ISNA(INDEX(table2_data,MATCH(a2,table2_data,0))),"No Match",a2)

Table A - Sheet 1


a
0000
b
Jan 01, 1900

<tbody>
</tbody>
Jan 01, 1900

<tbody>
</tbody>
Jan 11, 1900

<tbody>
</tbody>
Jan 01, 1900

<tbody>
</tbody>
cBondNoteBillBill
dStreetMarketMarketMarket
ePrivatePublicGovtSchool

<tbody>
</tbody>


Table B - Sheet 2 ( number of rows and columns could be different than table 1)


a
0000
b
Jan 05, 1900

<tbody>
</tbody>
Jan 01, 1900

<tbody>
</tbody>
Jan 10, 1900

<tbody>
</tbody>
Jan 11, 1900

<tbody>
</tbody>
cBond_1BondBillBill_2
dStreetMarketMarketMarket
ePrivatePublicGovt_5School_9


<tbody>
</tbody>


Required Output

0000
No Match
Jan 01, 1900

<tbody>
</tbody>
Jan 11, 1900

<tbody>
</tbody>
Jan 01, 1900



<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Watch MrExcel Video

Forum statistics

Threads
1,122,232
Messages
5,594,956
Members
413,954
Latest member
mrsandy

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
Top