+ Reply to Thread
Results 1 to 3 of 3

Convert rows to columns with the specific conditions

  1. #1
    Forum Contributor
    Join Date
    10-07-2015
    Location
    Tehran - Iran
    MS-Off Ver
    2013
    Posts
    111

    Convert rows to columns with the specific conditions

    I have a table of rows and 9 columns and I am willing to have each row separated into three columns and three rows. For example:
    On A1:I1, I have:

    1,2,3,4,5,6,7,8,9

    I want to convert this row to three rows and three columns:

    1,2,3
    4,5,6
    7,8,9

    Is there any formula to separate above row?

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Convert rows to columns with the specific conditions

    You could put this formula in A2:

    =INDEX($D$1:$I$1,COLUMNS($A:A)+(ROWS($1:1)-1)*3)

    then copy across into B2:C2, then copy A2:C2 down into row 3.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    10-07-2015
    Location
    Tehran - Iran
    MS-Off Ver
    2013
    Posts
    111

    Re: Convert rows to columns with the specific conditions

    Thanks. Your folmula as well as works.

+ 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: 8
    Last Post: 09-20-2017, 02:09 AM
  2. [SOLVED] Remove duplicate rows with specific conditions
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2016, 11:36 AM
  3. COUNTA in a rows that match specific conditions
    By billyphuz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-03-2013, 11:03 PM
  4. [SOLVED] Macro to Delete Rows based on Specific Conditions
    By stockgoblin42 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-28-2013, 05:29 PM
  5. Replies: 1
    Last Post: 11-29-2012, 06:24 PM
  6. [SOLVED] Convert specific rows into columns in Sheet 2 - VBA
    By missy22 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2012, 09:31 AM
  7. [SOLVED] to convert columns to rows having mulit independent group columns
    By Quacy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-22-2006, 06:25 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