Comparing addresses

22strider

Active Member
Joined
Jun 11, 2007
Messages
311
Hello Friends

I need your help in comparing two columns in two different tables containing addresses.
Format 1: Addresses in the first table are in the format of:
1234 22nd Street
4565 21st Street
Format2: Addresses in the second table are in the format of:
1234 22 Street
4565 21 Street

You may notice that "nd" after 22 is missing in the second format. And "st" after 21 is also missing. I am trying to find a way of comparing them, so that they appear as a match.

Thanks
Rajesh
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Build an expression to remove the ordinals. Something like...

NewAddress: Replace(Replace(Replace(Replace([Address],"st "," "),"nd "," "),"rd "," "),"th "," ")

Assuming that the table is Clients and the original field is Address.

Denis
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,822
Members
452,946
Latest member
JoseDavid

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