Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Massive Find and Replace

I have 3000 codes in column A1. I have 3000 company names in column A2. I
have a seperate worksheet that has column F with random codes. I need the
codes replaced with the company names. Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Massive Find and Replace

Assuming you have Codes and Names in Sheet1
and Codes in Sheet2 Col F, which you want replaced by Names

Enter this in G1
=VLOOKUP(F1,Sheet1!A:B,2,False)
and copy down till the last row with Codes in Col F

You will get company names in Col G (and #N/A for those codes not found in
Sheet1)

You can then Copy Col G, Paste Special|Values on Col G and delete Col F


"Brian D" wrote:

I have 3000 codes in column A1. I have 3000 company names in column A2. I
have a seperate worksheet that has column F with random codes. I need the
codes replaced with the company names. Any ideas?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Massive Find and Replace

You can use VLOOKUP for this. Note, though, that A1 and A2 are
individual cells, not columns, so your post is a bit confusing. I
think you mean that you have codes in column A and names in column B -
suppose these are in Sheet1, and in Sheet2 you have your random codes
in column F. You can use this formula in G2:

=VLOOKUP(F2,Sheet1!A$1:B$3000,2,0)

and then just copy this down for as many random codes as you have.

Hope this helps.

Pete



On Dec 10, 12:02*am, Brian D <Brian
wrote:
I have 3000 codes in column A1. *I have 3000 company names in column A2.. *I
have a seperate worksheet that has column F with random codes. *I need the
codes replaced with the company names. *Any ideas?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Massive Find and Replace

Thanks to you (Sheeloo) and Pete_UK. It works awsome.

"Sheeloo" wrote:

Assuming you have Codes and Names in Sheet1
and Codes in Sheet2 Col F, which you want replaced by Names

Enter this in G1
=VLOOKUP(F1,Sheet1!A:B,2,False)
and copy down till the last row with Codes in Col F

You will get company names in Col G (and #N/A for those codes not found in
Sheet1)

You can then Copy Col G, Paste Special|Values on Col G and delete Col F


"Brian D" wrote:

I have 3000 codes in column A1. I have 3000 company names in column A2. I
have a seperate worksheet that has column F with random codes. I need the
codes replaced with the company names. Any ideas?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find & Replace: find part cell, replace whole cell katy Excel Worksheet Functions 3 April 3rd 23 01:20 PM
Find and Replace - Replace with Blank Space Studebaker Excel Discussion (Misc queries) 4 April 3rd 23 10:55 AM
find a specific or several values in a massive datasheet walli Excel Worksheet Functions 2 November 19th 07 06:51 AM
where to put results of find operation in find and replace functio DEP Excel Worksheet Functions 5 November 15th 06 07:52 PM
find and replace - replace data in rows to separated by commas msdker Excel Worksheet Functions 1 April 15th 06 01:00 AM


All times are GMT +1. The time now is 10:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"