+ Reply to Thread
Results 1 to 6 of 6

How to change the arrangement of numbers and symbols in a cell

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

    How to change the arrangement of numbers and symbols in a cell

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

    Example:

    1800 (70.87")
    to
    70.87 (1800)


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

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,765

    Re: How to change the arrangement of numbers and symbols in a cell

    Try this:

    =SUBSTITUTE(RIGHT(A2,LEN(A2)-FIND("(",A2)),CHAR(34)&")","")&" ("&LEFT(A2,FIND(" (",A2)-1)&")"

    assuming the original value is in A2.

    Hope this helps.

    Pete

  3. #3
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: How to change the arrangement of numbers and symbols in a cell

    =substitute(mid(a1,find("(",a1)+1,len(a1)),right(a1,2),"")&"("&left(a1,find("(",a1)-1)&")"

  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 numbers and symbols in a cell

    Wow!! It is absolutely amazing the things you can do with Excel. Love it! Thank you so much, Pete !!!

  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 numbers and symbols in a cell

    Thank you too, Ghozi! I appreciate such quick responses!

  6. #6
    Forum Contributor
    Join Date
    12-11-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    232

    Re: How to change the arrangement of numbers and symbols in a cell

    Quote Originally Posted by Ghozi Alkatiri View Post
    =substitute(mid(a1,find("(",a1)+1,len(a1)),right(a1,2),"")&"("&left(a1,find("(",a1)-1)&")"
    Need some spaces in your formula or the output looks funny The Stars are were the spaces need to be.

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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