Employee Timesheet Pivot Table

jsmucker24

New Member
Joined
Aug 30, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Introduction
Good afternoon, I have a workbook containing 3 sheets of data.
  1. 1; "Employee" containing Employee Name; Date Hired; and Years Worked;
  2. 2 "DataTable" containing time data, Date, Start Time, End Time, etc..
  3. 3 contains a Pivot Table in which I need to pull together a report, containing
    1. Employee Name,
    2. Total Hrs,
    3. Average Days worked pr week,
    4. Years Worked
    5. Pd Vacation Days Earned (Years Worked + 5)
    6. Year End Bonus earned ( (Years worked * 100) + (Average Days * 100)
Issue
As you see I need to add Calculated Fields to my pivot table to get some of my results. The only one that I am stuck with is the Years Worked value, (which is in the Employees Table, outside of the main data source). I have tried adding a column with a vlookup function in the datatable and then showing the value as Min or Max but when I add calculated fields, Excel wants to calculate based on the underlying data which is the sum of "Years Worked".
Any ideas on how to work around this? or how to restructure my data?

PS; The user will frequently be adding new employees to the list.
 

Attachments

  • Employees Table.png
    Employees Table.png
    36.3 KB · Views: 9
  • DataTable.png
    DataTable.png
    112.1 KB · Views: 9
  • PivotTable.png
    PivotTable.png
    33.9 KB · Views: 9

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
If you bring your tables into Power Pivot - Data Model (part of your 360 subscription), you can join the tables on a common field and then have the data available for your pivot table.
 
Upvote 0

Forum statistics

Threads
1,225,134
Messages
6,183,061
Members
453,147
Latest member
Lacey D

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top