+ Reply to Thread
Results 1 to 5 of 5

Extract Characters from a string and paste in a new cell

  1. #1
    Registered User
    Join Date
    09-14-2012
    Location
    Coldstream Victoria Australia
    MS-Off Ver
    Microsoft Excel for Mac Version 16
    Posts
    21

    Extract Characters from a string and paste in a new cell

    Further to my question of yesterday.

    I have a similar problems extracting a P ####### ID from a string, as shown in the attached sample. Adapting the formula from yesterday to find PCD numbers does not seem to work.

    The required answer is shown in the adjacent column to the Source Cell data


    GeorgiaBrown
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Extract Characters from a string and paste in a new cell

    The following adjustment to Phuocam's formula from yesterday seems to work:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by GeoffW283; 12-20-2018 at 09:54 PM.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Extract Characters from a string and paste in a new cell

    or this if more than 1 "Vjazz P" copy to the right

    =IFERROR(-LOOKUP(1,-LEFT(TRIM(MID(SUBSTITUTE($A4,"Vjazz P",REPT(" ",999),COLUMNS($B4:B4)),999,999)),{3,4,5})),"")

  4. #4
    Registered User
    Join Date
    09-14-2012
    Location
    Coldstream Victoria Australia
    MS-Off Ver
    Microsoft Excel for Mac Version 16
    Posts
    21
    Thank you. All works good
    Last edited by AliGW; 12-21-2018 at 07:50 AM.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Extract Characters from a string and paste in a new cell

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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 Characters from a string and paste in a new cell
    By georgiabrown in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-23-2018, 03:26 AM
  2. [SOLVED] Extract characters from a string
    By oneyejack77 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-06-2018, 07:45 AM
  3. Extract string between two characters
    By Alma in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-28-2016, 10:49 AM
  4. [SOLVED] extract string between two characters
    By JackSmith123 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2015, 12:15 PM
  5. [SOLVED] Extract String from between 2 same characters
    By slamdunka in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-30-2014, 09:37 PM
  6. [SOLVED] Extract left characters from string with exception of 2 right characters
    By sweetkel23 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-16-2012, 10:45 PM
  7. Replies: 3
    Last Post: 07-25-2012, 07:54 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