matching fields formula

Imran Azam

Board Regular
Joined
Mar 15, 2011
Messages
100
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

NAMEPOSTCODEID
Alan78617786178145

<tbody>
</tbody>

data 2
NamePostcodeID
AL(7861)(7786178145)

<tbody>
</tbody>


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.

AhoyNC

Well-known Member
Joined
Oct 10, 2011
Messages
4,931
Office Version
  1. 365
Platform
  1. Windows
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
 
Master Excel Bundle

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.

Forum statistics

Threads
1,167,826
Messages
5,855,863
Members
431,771
Latest member
CoryMelth

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