+ Reply to Thread
Results 1 to 3 of 3

batch find and replace/renaming

  1. #1
    Registered User
    Join Date
    12-02-2008
    Location
    London
    Posts
    51

    batch find and replace/renaming

    Hello,

    I have a long list of company names that I would like to anonymise/rename. In a column I might have:

    BMW
    BMW
    BMW
    Ford
    Rolls Royce
    Rolls Royce

    Is it possible to automatically replace everything in one go - with unique names, so that all BMWs might become "A" or "Company A" etc. Or will I have to do it company by company - there are hundreds of them.

    Many thanks in advance,

    Adam
    Last edited by adame; 02-21-2012 at 10:32 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: batch find and replace/renaming

    If you sort the column so companies are grouped, then you can numerically assign companies...

    Assuming companies start in A2, then in B1 enter a 0, in B2 enter formula:

    =IF(A2=A1,B1,"Company "&SUBSTITUTE(B1,"Company","")+1) copied down

    Then you can copy and paste special values the column over itself or over the original list...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    12-02-2008
    Location
    London
    Posts
    51

    Re: batch find and replace/renaming

    Perfect, thank you very much!
    Adam

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1