+ Reply to Thread
Results 1 to 2 of 2

How do I substitute numbers for certain words?

  1. #1
    Forum Contributor
    Join Date
    04-05-2007
    Location
    Arlington, TX
    MS-Off Ver
    Office 2010
    Posts
    164

    How do I substitute numbers for certain words?

    I have the monumental task of converting an extremely large database over to a new system. One of the problems I have is some of the data is in a code format, which I need to change to a standard database number.

    For example column B contains several codes such as SIE, HDY, NOS, etc.. and I need to convert these to corresponding numbers such as 1, 2, 3. What is the best way to go about doing this? I'd like to make a spreadsheet that I can paste the data into, and it will automatically convert it over... the important thing is I need the data in the cells to physically change, instead of just using a conditional format to change their appearance (not sure if that's the best explanation).

    I would REALLY appreciate anyones help and will be sure to bump your rep for anything you can offer.
    Last edited by Pyrex238; 02-20-2012 at 11:24 PM.
    Office 2010

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: How do I substitute numbers for certain words?

    With your words in Sheet1 column B
    Create a table in Sheet2, 2 columns

    Please Login or Register  to view this content.
    In Sheet1 cell C1
    =VLOOKUP(B1,Sheet2!A$1:B$3,2,FALSE)
    and copy it down the column
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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