matching fields formula

Imran Azam

Board Regular
Joined
Mar 15, 2011
Messages
103
hi

I am trying to match data i have in two files to see if they match based on some conditions

Below is data 1 and data 1

Data 1

[TABLE="width: 500"]
<tbody>[TR]
[TD]NAME[/TD]
[TD]POSTCODE[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]Alan[/TD]
[TD]7861[/TD]
[TD]7786178145[/TD]
[/TR]
</tbody>[/TABLE]

data 2 [TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Postcode[/TD]
[TD]ID[/TD]
[/TR]
[TR]
[TD]AL[/TD]
[TD](7861)[/TD]
[TD](7786178145)[/TD]
[/TR]
</tbody>[/TABLE]


I am trying to create a formula that will match the first 2 characters of Name of data 2 to Name of data 1 and match the numbers only of postcode from data 2 to postcode data 1, match numbers only of ID in data 2 to ID of data 1 , AND if it all matches return match if no return not match

can this be done?

thank you for any help
 
Last edited:

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.
Maybe something like this:
Excel Workbook
ABCD
1Data 1
2NAMEPOSTCODEID
3Alan78617786178145Match
4Sam24014702315656No Match
5Becky56735018894578No Match
6Alan25317786179898No Match
7
8data 2
9NamePostcodeID
10AL(7861)(7786178145)
11SA(2434)(6752224587)
12BE(5673)(4448894578)
13AL(2531)(8786179899)
Sheet
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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