+ Reply to Thread
Results 1 to 6 of 6

Reformatting data

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    Orlando, Florida
    MS-Off Ver
    Excel 2003
    Posts
    5

    Reformatting data

    Hello, i want to reformat a file from the data being listed in rows to column with the same order, i have been manually copying and pasting, but that will not work now that the file is so large. There are over 2000 entries that need to be moved around. For example, i have:

    Item1 A B C D
    Item2 1 2 3 4
    etc.

    And i want:

    Item1 A
    Item1 B
    Item1 C
    Item1 D
    Item2 1
    Item2 2
    Item2 3
    Item2 4
    etc.

    How do i do this. I was trying to do the copy-paste special-transpose, but that wasn't working. What do i need to do this?

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Reformatting data

    hi Jchhoule, this may not be the best method available but it beats manual work i guess. All u have to do is fill in those blue highlighted cells i did. the rest of the formula can be copied from the blue cells. For eg,copy A1 & u get A2 formula. Copy H7:I7 & u get H8:I8.

    Hope this helps.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-09-2012
    Location
    Orlando, Florida
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Reformatting data

    Thanks, but that doesn't really work. Not all items have four extras with them, some have 1 extra while others have 20. I attached an example file, in sheet 1 is what i have in sheet 2 is what i need. I need the item number in the item code column (sheet 1 column C) to be in column A in sheet 2. And everything in the same row in sheet 1 to be next to the master item code on sheet 2 in column B. Thanks for any help!
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    860

    Re: Reformatting data

    In a standard module.
    Please Login or Register  to view this content.
    Last edited by HSV; 05-17-2012 at 05:57 PM. Reason: shorter
    Harry.

  5. #5
    Registered User
    Join Date
    05-09-2012
    Location
    Orlando, Florida
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Reformatting data

    Thank you, I tried the code you sent and it half worked. It did everything perfectly except when running it would run into a mismatch error. I cannot figure out where the error is coming from because everything seems to be correct. This time I am uploading the shortest list than needs to be arranged. I ran the macro and left everything there so someone could look at it and tell me what is wrong. I appreciate the help.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    860

    Re: Reformatting data

    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