+ Reply to Thread
Results 1 to 2 of 2

Grab Columns and repeating Pay Period Rows into a stacked sheet

  1. #1
    Forum Contributor
    Join Date
    11-19-2019
    Location
    Michigan
    MS-Off Ver
    Office 365
    Posts
    547

    Grab Columns and repeating Pay Period Rows into a stacked sheet

    I have painfully manual process that takes me forever to do and it will be regular. The file contains 3 sheets.

    1. Productive Premium Worksheet - this is the sheet we use to input the data and it aggregates and splits into pay periods.
    2. Pivot - Takes data from Productive Premium Columns FG:GG and aggregates into first the cost center then to Job class Facility and Pay Type (which is always Productive Premium).
    3. Load file - I have to manually copy the cost center, Job Class, Facility and Pay type, and the Amount to the corresponding Period from the Pivot. The trick is this has to be stacked on top of each other so I have to go column by column replicating these columns and stacking them on top of each other into to the corresponding Pay period. Column A will always be called PAYBUD2022. in the Load File sheet.


    Is it possible to write code to aggregate the data so that it looks like the Load File sheet?

    Thank you for your consideration.
    Attached Files Attached Files
    Last edited by wherdzik; 02-04-2021 at 08:36 AM.

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

    Re: Grab Columns and repeating Pay Period Rows into a stacked sheet

    Although I am not a coder and probably can't help too much, I feel that in order for anyone to help we need some more information. For example, I am not sure why the Load File sheet doesn't display 10600 as the first cost center as on the Pivot sheet? Why is coast center 10680 in B2 and B15 on the Load file sheet but when it is in A6:A8 on the Pivot sheet? I imagine that the more detail we know the more likely someone can help.
    Let us know if you have any questions.
    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. Convert data from 3 rows to 3 columns repeating
    By vineeth.k11 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-22-2019, 10:05 AM
  2. Convert rows to columns and repeating the fixed value
    By decon6 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-21-2018, 08:50 PM
  3. How to move repeating columns to rows
    By TMK21 in forum Excel General
    Replies: 1
    Last Post: 05-14-2015, 04:13 PM
  4. Macro to grab multiple rows and sum on different sheet
    By Steveb03 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2013, 04:00 PM
  5. Replies: 0
    Last Post: 07-31-2006, 12:13 PM
  6. Repeating Rows and Columns on each page of print out
    By BruceM in forum Excel General
    Replies: 1
    Last Post: 07-06-2005, 08:05 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