Closed Thread
Results 1 to 3 of 3

Macro to transpose 10,000 sets of 4 cells into 1 col into 4 cells into 4 different column

  1. #1
    Registered User
    Join Date
    02-25-2014
    Location
    Milan, Italy
    MS-Off Ver
    Excel 2011 for Mac 14.3.9
    Posts
    2

    Macro to transpose 10,000 sets of 4 cells into 1 col into 4 cells into 4 different column

    Dear Experts,
    I am a simple user of Excel and yesterday I was confronted with a huge obstacle for me but which I think it could be easily solved with a macro.
    I need a macro to transpone about 10,000 sets of 4 cells in one column into 4 cells into 4 different columns.

    FROM:
    4546
    AAA
    BBB
    CCC
    2323
    DDD
    EEE
    FFF
    8808
    GGG
    HHH
    III

    to
    4546 AAA BBB CCC
    2323 DDD EEE FFF
    8808 GGG HHH III

    Many thanks for any help.
    Sbark

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Macro to transpose 10,000 sets of 4 cells into 1 col into 4 cells into 4 different col

    You don't need a macro for that; it can all be done by formulae.
    Assuming your data are in column A of Sheet1, insert the following into A1 of another sheet. Copy across 4 columns then copy all 4 columns down as far as you need.
    =OFFSET(Sheet1!$A$1,(ROW()-1)*4+COLUMN()-1,0)
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,811

    Re: Macro to transpose 10,000 sets of 4 cells into 1 col into 4 cells into 4 different col

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to transpose 10,000 sets of 4 cells in column 4 cells in 4 columns
    By Sbark in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-25-2014, 08:39 PM
  2. [SOLVED] vlookup to convert row of cells into column of cells (transpose)
    By kosherboy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-13-2014, 06:07 PM
  3. Replies: 9
    Last Post: 07-22-2012, 12:03 PM
  4. [SOLVED] Match cells in Column A, then transpose (matching) row data from column B, C, D, etc.
    By Jahoker in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-15-2012, 10:37 AM
  5. [SOLVED] count cells with year sets in a column?
    By Brainless_in_Boston in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 05-04-2006, 05:15 PM

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