+ Reply to Thread
Results 1 to 2 of 2

replacing large amount of cells

  1. #1
    Registered User
    Join Date
    10-13-2014
    Location
    Shiraz,Iran
    MS-Off Ver
    2010
    Posts
    9

    replacing large amount of cells

    Hello everyone.
    I have a dataset which is a coauthorship network.Its data is like this:

    1992,M_DINE,R_LEIGH,P_HUET,A_LINDE,D_LINDE
    1992,C_BURGESS,J_CLINE,M_LUTY
    1992,M_DINE,R_LEIGH,P_HUET,A_LINDE,D_LINDE
    1992,F_ZWIRNER
    1992,O_HERNANDEZ
    ...
    It has about 38000 rows. I want to replace names of the authors with unique numbers so to do this I copied the names of the authors to another excel file, and now I want to replace the authors names(in the first file) with its row number in the second file. What should I do?Should I write a macro ?
    It doesnot matter whether they are in one file or 2 seperate file.

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: replacing large amount of cells

    I'd go the VB route. It's very fast.

    To use this, go to Excel, hit Alt+F11, Insert, Module, and paste the code below in.

    Change the range in the first part to match the sheet name and column of where your table and numbers is.

    Change the sheet name and Column for where the stuff you want to change is.


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by daffodil11; 10-13-2014 at 06:48 PM.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Math operation on large, variable amount of cells
    By connorwb93 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-06-2014, 10:37 PM
  2. Absolute Cell References for large amount of cells??
    By Bmacnab in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2014, 08:06 AM
  3. Paste a forumla into a large amount of cells
    By Patty McJorst in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-20-2013, 12:00 PM
  4. Help replacing large amount of text with another large amount of text??
    By floydrob in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-30-2012, 05:01 AM
  5. Clear a Large Amount of Cells
    By spl3001 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2008, 06:32 PM

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