+ Reply to Thread
Results 1 to 2 of 2

Excel data conversion from column to row

  1. #1
    Registered User
    Join Date
    08-12-2019
    Location
    eu
    MS-Off Ver
    2016
    Posts
    2

    Excel data conversion from column to row

    Hi

    My problem is that :

    I have a large number of rows that are just shown below row-wise. What I want to do is column-wise conversion. No sort wanted.


    type value1 date1 value2 date2 value3 date3
    kk1 100 1.1.2019 200 02.02.2019 300 03.02.2019
    kk1 100 1.3.2019 200 02.03.2019 300 03.04.2019
    kk2 100 1.1.2019 200 02.02.2019 300 03.02.2019
    kk1 100 1.3.2019 200 02.03.2019 300 03.04.2019
    kk2 100 1.1.2019 200 02.02.2019 300 03.02.2019



    wanted format.( no space needed between rows, is just to be clear view.)


    type value(s) date(s)
    kk1 100 (value1) 1.1.2019 (date1)
    kk1 200 (value2) 02.02.2019 (date2)
    kk1 300 (value3) 03.02.2019 (date3)

    kk1 100 (value1) 1.3.2019 (date1)
    kk1 200 (value2) 02.03.2019 (date2)
    kk1 300 (value3) 03.04.2019 (date3)

    kk2 100 so on.. 1.1.2019 so on..
    kk2 200 02.02.2019
    kk2 300 03.02.2019

    kk1 100 1.3.2019
    kk1 200 02.03.2019
    kk1 300 03.04.2019

    kk2 100 1.1.2019
    kk2 200 02.02.2019
    kk2 300 03.02.2019
    Last edited by iincitr; 08-14-2019 at 03:08 AM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: Excel data conversion from column to row

    Hello iincitr and Welcome to Excel Forum.
    I believe the following does what you want:
    1. For the type use: =IFERROR(INDEX(A$2:A$6,ROUNDUP(ROWS(A$1:A1)/3,0)),"")
    2. For the values use: =IFERROR(INDEX(B$2:G$6,ROUNDUP(ROWS(A$1:A1)/3,0),MOD(1+2*(ROWS(A$1:A1)-1),6)),"")
    3. For the dates use: =IFERROR(INDEX(B$2:G$6,ROUNDUP(ROWS(A$1:A1)/3,0),MOD(1+2*(ROWS(A$1:A1)-1),6)+1),"")
    For future reference you will usually get faster responses if you upload a sample workbook by clicking on the GO ADVANCED button below the Quick Reply window and then scrolling down to Manage Attachments to open the upload window.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Data Layout Conversion (Advanced Rows to Column ?)
    By bibekpd in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-11-2015, 09:24 AM
  2. I need a conversion formula for data in a column
    By jrbtrail in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-04-2012, 09:07 PM
  3. Data conversion from excel to txt
    By ramanan256 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2010, 02:40 AM
  4. Column Data Conversion
    By willem82 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-19-2007, 03:17 PM
  5. Automatic data conversion in Excel
    By Dejan in forum Excel General
    Replies: 2
    Last Post: 07-26-2005, 05:05 PM
  6. [SOLVED] Excel Column and row conversion
    By MSM in forum Excel General
    Replies: 1
    Last Post: 05-07-2005, 11:06 AM

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