+ Reply to Thread
Results 1 to 7 of 7

Converter Table

  1. #1
    Forum Contributor
    Join Date
    05-06-2015
    Location
    Sri Lanka
    MS-Off Ver
    2016, 2007
    Posts
    135

    Converter Table

    Hello,
    This is my problem.
    I have single column data set, 1000+ rows. with duplicates
    e.g.

    Seetha
    Amara
    Seeta
    Khamal
    Amara
    ........
    .......

    I need to find specific words and replace them with new ones, but not one by one. I need excel to refer another two columns for this.
    e.g.
    Original Word -> Convert to
    Seetha -> S
    Seeta -> S
    Kamal -> K
    Khamal -> K

    So Khamal and Kamal will be converted to K, Seetha and Seeta to S, and Amara will remain unchanged.

    Any idea?
    Thanks.
    Last edited by Dineth; 05-06-2015 at 01:42 PM.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Converter Table

    Can't you just use VLookup?

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: Converter Table

    What rules are you trying to follow? why should Khamal and Kamal be shortened to K and Amara not be shortened? What is in the "other two columns"?

    can you post a worksheet?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Contributor
    Join Date
    05-06-2015
    Location
    Sri Lanka
    MS-Off Ver
    2016, 2007
    Posts
    135

    Re: Converter Table

    Quote Originally Posted by Glenn Kennedy View Post
    What rules are you trying to follow? why should Khamal and Kamal be shortened to K and Amara not be shortened? What is in the "other two columns"?

    can you post a worksheet?
    OK, This is the story. I am getting filled personal data from many workstations. It has a column called Job title. We could easily avoid this problem if we use drop down menu, as we failed to do so they have entered data in numerous ways.

    Please consider this
    EO
    Ext Officer
    Extension Officer
    Ex. Off.

    All these entries are for the same job title. Extension Officer. It doesn't really matter which word I use, Extension Officer or EO as far as all use the same, otherwise when pivoting it gives wrong results.

    I could upload the file, yet it's not in English Language.
    Thanks for your help.

  5. #5
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Converter Table

    If you have created a reference table, you can use vlookup to change the designation
    Thanks
    Attached Files Attached Files
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  6. #6
    Forum Contributor
    Join Date
    05-06-2015
    Location
    Sri Lanka
    MS-Off Ver
    2016, 2007
    Posts
    135

    Re: Converter Table

    Quote Originally Posted by mahju View Post
    If you have created a reference table, you can use vlookup to change the designation
    Thanks
    Thank you very much. This is the answer. I am not good with Vlookup, I will practise it some more.
    You are very kind, may your all good wishes come true.

  7. #7
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Converter Table

    Thanks for your appreciation

    One thing left
    If you have some values that you did not want to change, then use this formula in D11

    Please Login or Register  to view this content.
    copied down.

    Vlookup function
    =============

    This function has four arguments

    1." Lookup_value" is the value you want to Find in the first column in "table_arrey", c11 in this case.

    2. "Table_arrey" is the range from which you find the value "$C$3:$D$6" in this case Use "$" sign as indicated in the previous formula as well.

    3. "col_index_num" is the number of column to the left, In this case 2

    4. "Value_if_error" has two values "0 / false" for exact match and "1 / true" for approximate match.

    Thanks

+ 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] VBA to VBS converter - possible?
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2015, 06:16 PM
  2. Converter
    By burak in forum Excel General
    Replies: 0
    Last Post: 05-09-2012, 10:56 AM
  3. [SOLVED] converter
    By recipe type data in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-04-2006, 08:20 PM
  4. PDF Converter
    By AccessHelp in forum Excel General
    Replies: 4
    Last Post: 01-07-2006, 10:45 AM

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