+ Reply to Thread
Results 1 to 3 of 3

Multiple Substitutes

  1. #1
    Registered User
    Join Date
    09-29-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    21

    Multiple Substitutes

    Hi,

    In A:A ie, A1, A2, A3 etc I have values like ;
    A1=14352
    A2=15234
    A3=53412

    etc..

    I want to replace
    "1" with "India
    "2" with "Canada"
    "3" with "Australia"
    "4" with "UK"
    "5" with "US"

    Is there any way to use multiple substitutes or Ifs or anything?

    Kindly help.
    Last edited by johnrichie; 10-03-2011 at 03:12 AM.

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Multiple Substitutes

    Hi, maybe:

    =substitute(substitute(substitute(substitute(substitute(A1,5,"US"),4,"UK"),3,"Australia"),2,"Canada"),1,"India")

    Hope that helps

    Regards
    नमस्ते

  3. #3
    Registered User
    Join Date
    09-29-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Multiple Substitutes

    Quote Originally Posted by CANAPONE View Post
    Hi, maybe:

    =substitute(substitute(substitute(substitute(substitute(A1,5,"US"),4,"UK"),3,"Australia"),2,"Canada"),1,"India")

    Hope that helps

    Regards
    नमस्ते
    Great Canapone! Thanks!

+ 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