+ Reply to Thread
Results 1 to 7 of 7

Help with multiple Substitute formulas, I think??

  1. #1
    Registered User
    Join Date
    03-24-2011
    Location
    Texas
    MS-Off Ver
    2007
    Posts
    16

    Help with multiple Substitute formulas, I think??

    So I have a column with names (last, first, middle init.). In this column there are 18 names that when they occur, I want to be able to add the word Contractor to their first name in parenthesis. The SUBSTITUTE method works flawlessly BUT it only allows me to use 7 instnaces in one formula. How can I accomplish this for 18 different names. I have the 18 names the way I want them (last, first (contractor)) in another column and have tried VLOOKUP but can't get it to work. Thanks for anyones help with this!!

    Chris
    Last edited by chris0228; 03-09-2012 at 02:51 PM.
    Chris Hunt

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help with multiple Substitute formulas, I think??

    If you have a list of those names say in X1:X18, then you can do something like:

    =A2&IF(Isnumber(Match(A2,$X$1:$X$18,0))," (contractor)","") copied down

    assuming the column of names to parse are starting in A2...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Help with multiple Substitute formulas, I think??

    You can you post an example workbook?
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  4. #4
    Registered User
    Join Date
    03-24-2011
    Location
    Texas
    MS-Off Ver
    2007
    Posts
    16

    Re: Help with multiple Substitute formulas, I think??

    Name Sheet.jpg

    Here is a pic of part of the worksheet. The far right column is the list of the 18 names that when they appear in column D, need to read like they do in column E. Thanks!

  5. #5
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Help with multiple Substitute formulas, I think??

    You can you post an example workbook with this information and a before/ after example. Pictures are not really helpful.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help with multiple Substitute formulas, I think??

    Have you considered the formula I gave you above?

  7. #7
    Registered User
    Join Date
    03-24-2011
    Location
    Texas
    MS-Off Ver
    2007
    Posts
    16

    Re: Help with multiple Substitute formulas, I think??

    NBVC, works perfectly, 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