+ Reply to Thread
Results 1 to 6 of 6

Flipping data in a cell

  1. #1
    Registered User
    Join Date
    09-01-2009
    Location
    Philadelphia, Pennsylvania
    MS-Off Ver
    Excel 2003
    Posts
    12

    Flipping data in a cell

    What's the easiest way to take columns of cells with a number followed by a space and then text, and switch the order to text/space/number? (my columns look like this "8 piscataway", "14 dayton", "42 mason", and I'd like them to read "piscataway 8" etc). TIA!
    Last edited by maryjdelo; 09-02-2009 at 02:05 PM.

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

    Re: Flipping data in a cell

    Try in an adjacent column:

    =MID(A1,FIND(" ",A1)+1,100)&" "&LEFT(A1,FIND(" ",A1))

    copied down.. where A1 contains first item.

    Then copy entire column and paste special | values over the original.
    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.

  3. #3
    Registered User
    Join Date
    09-01-2009
    Location
    Philadelphia, Pennsylvania
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Flipping data in a cell

    Ok, when I paste the formula into the adjacent column it works, but when I try copying that column and pasting it over the original, both columns fill with "#REF!"...

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Flipping data in a cell

    Copy the cell(s)
    Select the original cell(s)
    Select Edit > PasteSpecial > Values
    Delete the added cells
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

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

    Re: Flipping data in a cell

    You have to do a special paste...

    so after copying, go to original column and then Edit|Paste Special.. then select Values.

    Click Ok..

    Now you should be able to delete the formula column.

  6. #6
    Registered User
    Join Date
    09-01-2009
    Location
    Philadelphia, Pennsylvania
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Flipping data in a cell

    Thanks again

+ 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