+ Reply to Thread
Results 1 to 4 of 4

Macro to make one row data to two column data

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    Mexico
    MS-Off Ver
    Excel 2011
    Posts
    1

    Question Macro to make one row data to two column data

    Hi guys I have a series of data organized in a single row:
    254 524 542 542 658 652 562 562
    they are x and y coordinates, so I need the data to be like this
    254 524
    542 542
    658 652
    562 562

    I would really appreciate a macro that can do this task

    Thanks

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Macro to make one row data to two column data

    Hi luquilla,

    You can achieve this using formula:-

    for x:-
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    for y:-
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    see attached file, enter your data in row 1, select both green cells and drag the formula down:-


    seperating row data as x y cordinates.xlsx

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Forum Contributor
    Join Date
    01-17-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: Macro to make one row data to two column data

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved , to mark your thread as Solved select Thread Tools and click Mark thread as Solved.

    I can't read the mind of my wife so then I get picture but no sound .... and then I mostly get the idea, same goes here picture your outcome and I get the idea.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Macro to make one row data to two column data

    Another: (Assumes your data is in Row 2).

    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)

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