A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Massive Find and Replace



 
 
Thread Tools Display Modes
  #1  
Old December 10th, 2008, 12:02 AM posted to microsoft.public.excel.misc
Brian D
external usenet poster
 
Posts: 4
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  
Old December 10th, 2008, 12:20 AM posted to microsoft.public.excel.misc
Sheeloo[_3_]
external usenet poster
 
Posts: 1,713
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  
Old December 10th, 2008, 12:48 AM posted to microsoft.public.excel.misc
Pete_UK
external usenet poster
 
Posts: 8,780
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  
Old December 10th, 2008, 02:58 PM posted to microsoft.public.excel.misc
Brian D[_2_]
external usenet poster
 
Posts: 5
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?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:48 PM.


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