Replacing data from one sheet to another

brjv42

New Member
Joined
Nov 7, 2005
Messages
11
Hello,

I have a current spreadsheet that contains a mailing list for one of my organizations. The problem is that my county has changed everyone's address to 911 addresses so houses are easier to find.

I have two spreadsheets...the first one with all the names and old addresses and all types of other information...the second one includes the old addresses with the new replacing addresses next to it. I would just copy and paste but both spreadsheets are not in alphabetical order and it would take forever to change them all.

My question is...what is the easiest way to search throughout each spreadsheet, find the matching old addresses and replace the old address with the new.

Please HELP!!!!

Thanks, brjv42
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
How many cells does the address take up?


If it is just one, try using VLOOKUP.

If not, please supply an example of the spreadsheet.
 
Upvote 0
The address only takes up one cell...

I did try to code VLOOKUP, but I don't know if I did it correctly, it keep giving me the wrong cell references.

Any help with this would be appreciated...

Thanks
 
Upvote 0
Hello,

Book 12 is the file with name, address and other information
Book 13 is the file with both new and old address.

Book 12 column A contains the old address
Book 12 column B contains the new address

Book 13 column A contains the old address
In B2 on book 13 enter this formula

=VLOOKUP(A2,[Book12]Sheet1!$A:$B,2,0)

and copy down as far as required.

Has this helped? change the cell refs as required.
 
Upvote 0

Forum statistics

Threads
1,207,173
Messages
6,076,923
Members
446,242
Latest member
JECYN

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