+ Reply to Thread
Results 1 to 5 of 5

How to transform data array from horizontal to vertical layout

  1. #1
    Forum Contributor
    Join Date
    10-02-2021
    Location
    Thailand
    MS-Off Ver
    365
    Posts
    178

    How to transform data array from horizontal to vertical layout

    Convert from such area A:E to H:J

    Can someone please help me ? It would be much appreciated. Thanks in advance
    Attached Files Attached Files
    Last edited by choletseng; 05-08-2022 at 10:21 AM.

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: How to transform data array from horizontal to vertical layout

    Please try

    =LET(z,B2:E99,r,COUNTA(z)/3,c,COLUMNS(z),n,SEQUENCE(r,,0),INDEX(z,INT(n/c)*4+{1,2,3},MOD(n,c)+1))
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    10-02-2021
    Location
    Thailand
    MS-Off Ver
    365
    Posts
    178

    Re: How to transform data array from horizontal to vertical layout

    @Bo_Ry You are so talented, especially LET worked a charm. That's exactly what I needed , TQVM

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,253

    Re: How to transform data array from horizontal to vertical layout

    Try

    =INDEX($B$2:$E$99,INT((ROWS($1:1)-1)/4)*4+COLUMN(A$1),MOD((ROWS($1:1)-1),4)+1)
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Forum Contributor
    Join Date
    10-02-2021
    Location
    Thailand
    MS-Off Ver
    365
    Posts
    178

    Re: How to transform data array from horizontal to vertical layout

    Thank you very much for your formula and help, JohnTopley

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 15
    Last Post: 05-06-2022, 07:52 PM
  2. [SOLVED] How to transform data array from vertical to horizontal layout
    By metrostar in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-06-2022, 09:54 AM
  3. How to Transform Blocks from Horizontal Data to Vertical Data (example attached)
    By Diesel_888 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-10-2018, 09:13 PM
  4. Help on Ideas of how to transform data from a vertical to more horizontal layout
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-29-2016, 03:02 AM
  5. vertical alignment of data greater than '0' from horizontal layout data
    By itsmesunilb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-26-2012, 12:00 PM
  6. repeating vertical data to horizontal layout without repeats
    By Steepleboy04 in forum Excel General
    Replies: 2
    Last Post: 09-23-2011, 01:40 PM

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