Using contents of one cell to extract information from a different cell

jessebhunt

New Member
Joined
Apr 8, 2022
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
Hi Everyone:

I've got a spreadsheet that has partial mailing addresses in Column A. Column B contains a whole bunch of information not related to the mailing address, but also contains the mailing address. I'm hoping that there's a way to search Column B for the info in Column A to find the complete mailing address, and then eliminate all of the information in Column B that's unrelated to the complete mailing address.

As an example...

Column A contains the following:
1234 Some Street, City, ST

Column B contains the following:
A whole bunch of unrelated text. More unrelated text. 1234 Some Street, City, ST 12345. More unrelated text.

Note how column B contains a zip code and Column A does not.

I'm hoping to be able to search Column B for the Contents of Column A in order to get the full address, including the zip code, and eliminate all of the unrelated text.

I think this might be a long shot, but I'm hoping there's a way that I don't know about.

Thanks in advance for any assistance that you can provide!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,214,645
Messages
6,120,711
Members
448,984
Latest member
foxpro

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