+ Reply to Thread
Results 1 to 5 of 5

Align the data vertically from Horizontal layout

  1. #1
    Registered User
    Join Date
    03-09-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Align the data vertically from Horizontal layout

    Hi,
    I have a certain data, currently in Horizontal layout which I want to present vertically. Simple transpose of data is not what i am looking for.

    Branch PROD NAME ID SL.NO CAT Jan Feb Mar
    AHD AV AMMA 09543898 2 PDP 0.2 0.1 0.2
    AHD AV AMMA 09543898 1 LED 1.4 1.5 1.8
    AHD AV AMMA 09543898 3 VCD 0.0 0.0 0.0
    AHD AV AMMA 09543898 4 HTiB 0.0 0.0 0.0

    I want to present the above data in this way:

    Branch PROD NAME ID SL.NO CAT Jan
    AHD AV AMMA 09543898 2 PDP 0.2
    AHD AV AMMA 09543898 1 LED 1.4
    AHD AV AMMA 09543898 3 VCD 0.0
    AHD AV AMMA 09543898 4 HTiB 0.0

    Branch PROD NAME ID SL.NO CAT Feb
    AHD AV AMMA 09543898 2 PDP 0.1
    AHD AV AMMA 09543898 1 LED 1.5
    AHD AV AMMA 09543898 3 VCD 0.0
    AHD AV AMMA 09543898 4 HTiB 0.0

    Branch PROD NAME ID SL.NO CAT Mar
    AHD AV AMMA 09543898 2 PDP 0.2
    AHD AV AMMA 09543898 1 LED 1.8
    AHD AV AMMA 09543898 3 VCD 0.0
    AHD AV AMMA 09543898 4 HTiB 0.0

    Is there a way we can achieve this? I have around 1000 rows of data for a year, which i have to present in this fashion. Kindly help on the above.
    Regards,

  2. #2
    Valued Forum Contributor
    Join Date
    08-13-2012
    Location
    Gardony, Hungary
    MS-Off Ver
    Excel 2003
    Posts
    558

    Re: Align the data vertically from Horizontal layout

    Can you post a workbook? I could write a macro that rearranges the data.

  3. #3
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Align the data vertically from Horizontal layout

    hi itsmesunilb, option, please check attachment press Run button or run code "test"
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    08-13-2012
    Location
    Gardony, Hungary
    MS-Off Ver
    Excel 2003
    Posts
    558

    Re: Align the data vertically from Horizontal layout

    Another solution: try running this macro when the active sheet is the one you want to rearrange.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-09-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Align the data vertically from Horizontal layout

    Thanks for the reply. It worked for me. thanks a ton..!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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