+ Reply to Thread
Results 1 to 8 of 8

How to change the arrangement of text in a cell

  1. #1
    Registered User
    Join Date
    03-18-2009
    Location
    West Midlands, England
    MS-Off Ver
    Excel 2003
    Posts
    27

    How to change the arrangement of text in a cell

    Guys,

    I wonder if you can assist me;

    I have a range of cells that have text formatted in the following way;

    Ancillary (900)BABY (300)BATTERIES (100)CELEBRATIONS (550)CLOTHING (700)DIY (600)ENTERTAINMENT (150)FOOD & DRINK (850)GARDENING (450)HEALTH & BEAUTY (200)HOMEWARES (400)HOUSEHOLD (350)PET (650)SEASONAL/EVENTS (480)STATIONERY (750)TOYS (800)XMAS (500)

    I need to change the arrangement of the cells so that the Brackets and numbers appear in the cell before the text, how can I achieve that?

    Poor example but each cell will only contain one of the above variants, not all of the variants.

    Any help is most welcome and appreciated.
    Last edited by Starbucks Junkie; 06-10-2009 at 12:38 PM. Reason: Thread Solved

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: How to change the arrangement of text in a cell

    How about use Text to columns with ")" as a delimiter character
    Once the data is in columns concatenate the numbers with ")" to put the bracket back
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

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

    Re: How to change the arrangement of text in a cell

    Or with formula:

    =MID(A1,FIND("(",A1),255)&" "&LEFT(A1,FIND("(",A1)-1)
    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.

  4. #4
    Registered User
    Join Date
    08-02-2012
    Location
    Georgia, USA
    MS-Off Ver
    2010
    Posts
    30

    Re: How to change the arrangement of text in a cell

    Ok, is there a way to change this within the same cell?

    Example:

    1800 (70.87")
    to
    70.87 (1800)

  5. #5
    Registered User
    Join Date
    08-02-2012
    Location
    Georgia, USA
    MS-Off Ver
    2010
    Posts
    30

    Re: How to change the arrangement of text in a cell

    I can do this with text to columns and find/replace but I was hoping for a formula to expedite. Thanks!

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: How to change the arrangement of text in a cell

    adfeddon,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  7. #7
    Registered User
    Join Date
    08-02-2012
    Location
    Georgia, USA
    MS-Off Ver
    2010
    Posts
    30

    Re: How to change the arrangement of text in a cell

    Will do. Thanks

  8. #8
    Registered User
    Join Date
    08-02-2012
    Location
    Georgia, USA
    MS-Off Ver
    2010
    Posts
    30

    Re: How to change the arrangement of text in a cell


+ 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