+ Reply to Thread
Results 1 to 2 of 2

Transposing large amounts of data

  1. #1
    Registered User
    Join Date
    07-05-2013
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    7

    Transposing large amounts of data

    Hello,
    I am new to this forum and have never posted anything.
    I am not familiar with macros and I am faced with the task of having to handle the transposition of large amounts of data from a horizontal dimension into a vertical dimension.

    My data set looks like this:

    Row 1 contains 111 columns (111 different titled colums for payroll element from A to DG, eg.Name, Surname, Payroll ref, Tax, Ni, Pension, etc).
    Each row contains the payroll information in relation to one unique employee.
    There are 3681 employees (3681 rows excluding the title).

    The macro would transpose and rearrange the data from this:

    A B C D E F G......................DG
    1 Name Surname Payroll Ref Tax NI Pension Net Pay
    2 Joe Blogg 12345 £5 £7 £8 £120
    3 Lian Stuck 54321 £4 £6 £9 £100
    .
    .
    .
    3681

    to this format:

    A B C D E
    1 Name Surname Payroll Ref Element Amount
    2 Joe Blogg 12345 Tax £5
    3 Joe Blogg 12345 NI £7
    4 Joe Blogg 12345 Pension £8
    5 Joe Blogg 12345 Net Pay £120
    6 Lian Stuck 54321 Tax £4
    7 Lian Stuck 54321 NI £6
    8 Lian Stuck 54321 Pension £9
    9 Lian Stuck 54321 Net Pay £100

    The macro would only create a new row for any element that contains a value.

    A similar problem has been posted by someone else in this forum but the solution provided there can't make it work here
    because of my poor understanding of macros.

    http://www.excelforum.com/excel-prog...ml#post3659527

    I hope that the above is clear.

    Any help will be greatly appreciated.
    Many thanks.
    Sal

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Transposing large amounts of data

    Sal,
    It is difficult to see the input and output data in text format. Please attach a sample in excel book which shows before and after running the code.

+ 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. Help Transposing Large Amounts of Data
    By NFT86 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-11-2014, 06:05 PM
  2. Averaging large amounts of data
    By clarson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2013, 02:11 PM
  3. Excel 2007 : Filtering large amounts of data
    By as1508 in forum Excel General
    Replies: 9
    Last Post: 05-22-2012, 12:40 PM
  4. transposing large amounts of data
    By Trailrunner47 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2011, 12:44 PM
  5. Large Amounts of Data
    By Drewser33 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-17-2008, 09:13 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