+ Reply to Thread
Results 1 to 3 of 3

Help with Formula to split a text

  1. #1
    Forum Contributor
    Join Date
    06-17-2014
    Location
    london
    MS-Off Ver
    365
    Posts
    398

    Help with Formula to split a text

    Hi All

    I was wondering whther anyone can help me with the follwoing problem.

    In Cell A1 & A2 I have a string which is
    AAAAAAA (BBBBB) (D111)
    BBBB (1804)
    What I need to do in cell B1 to have a formula which will split the above text so that in cells B1 & B2 I only have the 4 digit text in the second bracker i.e. in B1 = D1111 but B2 will only be 1804 (note A2 does not have two set of open and close brackets).

    I other words I just want , starting from right to count the 6 dighits and get rid of the two brackets i.e. right(a1,6) or right(a2,6) but somehow i dont wnat to include the ( and )

    Is this possible?

    Any help is apprecaite it.

    Thanks in Advance

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: Help with Formula to split a text

    Hi there. Try this out:

    =MID(RIGHT(A1,6),2,4)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    06-17-2014
    Location
    london
    MS-Off Ver
    365
    Posts
    398

    Re: Help with Formula to split a text

    This works perfectly. Thank you for your help

+ 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. Formula to split text
    By geliedee in forum Excel General
    Replies: 3
    Last Post: 01-06-2015, 10:25 AM
  2. [SOLVED] Formula to split Text
    By Taisir in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-23-2014, 02:28 AM
  3. [SOLVED] Formula to Split up string of text
    By kenadams378 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-04-2013, 05:43 AM
  4. Formula To Split Text at a Certain Point
    By steiney in forum Excel General
    Replies: 2
    Last Post: 04-07-2011, 12:55 PM
  5. [SOLVED] Formula to split Text from Numbers in cell
    By John Ortt in forum Excel General
    Replies: 2
    Last Post: 06-07-2006, 06:35 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