+ Reply to Thread
Results 1 to 4 of 4

Substitute function

  1. #1
    Registered User
    Join Date
    05-05-2020
    Location
    são paulo
    MS-Off Ver
    windows 10
    Posts
    2

    Substitute function

    Hello All,

    I'm trying to get one text to be replaced by another, but I bump in several issues. The text are several sentences, and each couple sentences can be substitute for one other sentence:

    In one cell, a user can choose the best option amount 16. Examples of the options are: "urgent issue", "SLA breach", "Excessive email correspondence". In another cell I am trying to get these options "translated" into another sentence, for better understand. So for example. Every time that the user choose "SLA breach" in cell B2, the sentence will be translated into "Communication issues (SLA lost or repetitive emails)". The same happens if the user input "Excessive email correspondence" in cell B2.

    Screen Shot 2020-05-05 at 20.16.41.png

    I don't know if this is even possible to do it, but someone can help me? Sorry I was not able to attach an example file, but I did my best trying to explain this

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: Substitute function

    Sounds to me like you need to create a reference table that will contain the options from col A, and a "translation" in the next column. You could then use a simple vlookup to return the required translation
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-03-2020
    Location
    Surabaya, Indonesia
    MS-Off Ver
    Office 365
    Posts
    21

    Re: Substitute function

    Hello daniiviana,

    Just like FDibbins said before, you have to create one table to make iist of reason and their respective translation.
    And then use vlookup formula to return the translation value.
    Maybe you could look at my excel file for more detail.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-05-2020
    Location
    são paulo
    MS-Off Ver
    windows 10
    Posts
    2

    Re: Substitute function

    This is perfect! Thank you!

+ 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. Should I be using the substitute function
    By Delta729 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-20-2018, 12:38 AM
  2. Substitute Function
    By llbean1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-05-2014, 04:53 PM
  3. Replies: 4
    Last Post: 10-28-2014, 11:04 PM
  4. [SOLVED] SUBSTITUTE Function
    By Onceageordie in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-23-2013, 09:26 AM
  5. Substitute function with VLOOKUP
    By gach in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-24-2013, 10:59 AM
  6. substitute function
    By mrggutz in forum Excel General
    Replies: 2
    Last Post: 02-18-2011, 08:54 AM
  7. Substitute function with 2 arguments
    By meyero90 in forum Excel General
    Replies: 10
    Last Post: 08-20-2010, 02:53 PM

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