+ Reply to Thread
Results 1 to 7 of 7

Transpose multiple rows information to single rows and keep only one rows

  1. #1
    Registered User
    Join Date
    06-16-2020
    Location
    India
    MS-Off Ver
    2019
    Posts
    59

    Transpose multiple rows information to single rows and keep only one rows

    I need one help!

    1.I have some data above from column "A" to "AB".
    2.Information from column "A" to "X" is same for one employee. Example for R122(Employee ID) the information is same from column "A" to column "X").
    3.For R133 (employee ID) the information is same from column "A" to column "X").
    4.Rows in column "Z" needs to add column and fill the information from column "Y" as per employee ID.
    5. Rows in column "AA" needs to add in separate column and fill the information from column "AB" as per employee ID

    Thanks in Advance
    Attached Files Attached Files
    Last edited by sanjay.k; 01-12-2021 at 12:40 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-14-2017
    Location
    Poland
    MS-Off Ver
    Office 2010
    Posts
    528

    Re: Transpose multiple rows information to single rows and keep only one rows

    Works fine for data from attached file. The results are in the "Sheet2".
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Best Regards,
    Maras.

  3. #3
    Registered User
    Join Date
    06-16-2020
    Location
    India
    MS-Off Ver
    2019
    Posts
    59

    Re: Transpose multiple rows information to single rows and keep only one rows

    Hi maras_mak,
    Thank you for your support. However there is only one problem.
    It works fine if there are duplicate/multiple entries but if any employee ID has only single record, then it is showing an error.
    Error is showing in line

    If x(i, ii) <> "" Then

    Please help!
    Last edited by sanjay.k; 01-13-2021 at 06:59 AM.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Transpose multiple rows information to single rows and keep only one rows

    For a bulk data.
    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor
    Join Date
    07-14-2017
    Location
    Poland
    MS-Off Ver
    Office 2010
    Posts
    528

    Re: Transpose multiple rows information to single rows and keep only one rows

    Change code to.
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    06-16-2020
    Location
    India
    MS-Off Ver
    2019
    Posts
    59

    Re: Transpose multiple rows information to single rows and keep only one rows

    Thanks jindon,
    It Works perfect. You are really great. Thanks for your suppport.

  7. #7
    Registered User
    Join Date
    06-16-2020
    Location
    India
    MS-Off Ver
    2019
    Posts
    59

    Re: Transpose multiple rows information to single rows and keep only one rows

    Thanks maras_mak,
    It works perfect. You are really awesome. Thanks for your support.

+ 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. [SOLVED] Transpose multiple rows of data into a single row
    By pixifaery in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2016, 05:53 PM
  2. [SOLVED] Macro to transpose multiple rows to a single column
    By Gup in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 10-12-2014, 03:05 PM
  3. Transpose multiple rows of data to a single row
    By dansteg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-24-2014, 03:09 PM
  4. [SOLVED] Transpose multiple rows to single row
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2014, 04:59 AM
  5. Transpose Multiple Rows into a Single Column
    By vnascimento in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-04-2013, 08:47 AM
  6. Replies: 5
    Last Post: 05-25-2013, 07:12 AM
  7. Transpose multiple rows into 1 single row dependent on name
    By Angiec50 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-16-2012, 03:30 AM

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