+ Reply to Thread
Results 1 to 8 of 8

Left, Right, Mid, or Substitute function to separate values into desired columns

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Left, Right, Mid, or Substitute function to separate values into desired columns

    Looking for the correct combination of Left, Right, Mid, or Substitute function to separate values into desired column. Desired outcome in B2:B29, C2:C29, D2:D29, G2:G29, H2:H29, I2:I27, M2:M27, P2:P27, and Q2:Q27. See sample file.

    Thanks

  2. #2
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: Left, Right, Mid, or Substitute function to separate values into desired columns

    Presumably columns B:D are meant to break out full names in column A. Are there really commas between given names and surname in column A? That'd be extremely unusual.

    For that matter, F8 contains Sablan, Yankee Jr., but G2 shows the last name as Sablan and H2 shows the first name as Yankee Jr.. Given what Jr. usually means in English, why are you showing Jr. in H2 rather than G2?

    In other words, your examples don't make sense. It looks like you just threw something together and expect the rest of us to read your mind to ascertain your intentions.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Left, Right, Mid, or Substitute function to separate values into desired columns

    Try this. Pl see file with formulas.
    Last edited by kvsrinivasamurthy; 05-02-2021 at 12:44 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,525

    Re: Left, Right, Mid, or Substitute function to separate values into desired columns

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behaviour, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Left, Right, Mid, or Substitute function to separate values into desired columns

    kvsrinivasamurthy: phenomenal solution. Thanks a lot.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,525

    Re: Left, Right, Mid, or Substitute function to separate values into desired columns

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  7. #7
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Left, Right, Mid, or Substitute function to separate values into desired columns

    AliGW: Marked closed. Thanks

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Left, Right, Mid, or Substitute function to separate values into desired columns

    Thanks for feedback

+ 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. Extract Values and Place Extracted Values in Desired Columns
    By bjnockle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-15-2020, 06:17 AM
  2. Place values (0s and 1s) into desired columns (column L,M,N and O)
    By bjnockle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2020, 01:40 AM
  3. [SOLVED] Extract texts from cell using SUBSTITUTE, RIGHT, LEFT, or MID FUNCTION
    By bjnockle in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-20-2020, 10:12 PM
  4. [SOLVED] Validating the first letter with Vba Left function in a Textbox not giving desired result
    By Hmerman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-03-2018, 12:47 PM
  5. [SOLVED] How to replace or substitute function formulas but left the cell reference intact?
    By Franky alta in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-02-2016, 12:48 AM
  6. [SOLVED] IF Function referencing IsNumber, Match, Left function on separate sheets
    By Touch9713 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2013, 10:09 PM
  7. [SOLVED] Need help to separate numeric values into separate cells (LEFT and RIGHT won't work)
    By RichMcc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-27-2013, 07:48 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