Results 1 to 11 of 11

Creating A Column In A Pivot Table Based On Certain Data In The Table

Threaded View

  1. #1
    Registered User
    Join Date
    02-03-2024
    Location
    Mesa, AZ USA
    MS-Off Ver
    MS 365
    Posts
    11

    Creating A Column In A Pivot Table Based On Certain Data In The Table

    Hello All!

    I have an Excel spreadsheet that I've exported from our timekeeping software, which includes columns for Job Description, Employee Name, Start & End Times, and a Total for that particular punch time. The issue I'm having is that certain customers require that I report the daily time for each employee as a total, minus any travel time to and from the job. Previously, this was an easy task, since there was only one row per job, per day, per employee, and I could create a new column, only subtracting the specific travel time for that entry. However, starting this month, we've been required to breakdown the punch times for various work stoppages (i.e., customer delays, equipment delays, meal periods, etc.), so there may be as many as 8-10 rows for the same job, for the same day, for the same employee, and there's no way to get a total of the hours worked per day, except to create a pivot table. I'm struggling with how to create a column on the pivot table that would allow me to automatically subtract an hour from the total hours shown as the pivot table will change size, dynamically, depending on which job I filter on.

    As an example, any job description containing the customer, FM Safford, would need to have a total of 1 hour subtracted from each employee's total time for that job on whatever day it was reported, whereas, if the customer is FM Morenci, then that job needs to have 2 hours subtracted from the total time shown for each employee.

    I have attached a sample spreadsheet and pivot table the way I need them to appear.

    Thank you for any help you can provide!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Creating a pivot table with data based on drop down values
    By blueboy90780 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-29-2020, 11:38 PM
  2. [SOLVED] Question Issue creating pivot table from table data
    By TenDeadGoats in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2020, 05:10 PM
  3. Replies: 6
    Last Post: 01-24-2017, 06:56 PM
  4. Creating a Pivot Table using Data Table in different file?
    By JasonMcQueen in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-13-2016, 11:56 AM
  5. Replies: 1
    Last Post: 07-29-2015, 05:19 PM
  6. Creating validation list from table column based on data in another column
    By dreamthrum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-11-2013, 08:38 PM
  7. Creating a pivot table from raw data with both row and column headings
    By marshymell0 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-03-2013, 04:31 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