Pivot Table Calculation Item

ypurcaro

New Member
Joined
Mar 7, 2013
Messages
29
Hello,
I am trying to build a dashboard on the time keeping. So, the raw data has header such as Date, Categories, Hours and Sites. Under the Categories, we have "OT, "NT" and "Abs" and under Sites, we have MW, NC, and WE.
So, I have to find out the total of Over time, Normal Time and Absent time in percentage. To calculate the % of OT, here is the calculation OT/(OT+NT). Now, my problem is, on the pivot table, the OT, NT, ABS are items but not field. So, I could still calculate the items but then after I got the calculation, I won't be able to group the date month, quarter and year. Anybody has any idea what should I do, I'm so frustrated.

Thank you.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
In pivot table put date on rows, categories on columns, hours in values.
after that, in date column by the help of filter you can find date as monthly yearly
 
Upvote 0
Solution
In pivot table put date on rows, categories on columns, hours in values.
after that, in date column by the help of filter you can find date as monthly yearly
Hi Rajesh,

Yes, I tried that as well, but it won't let me group as QUARTER 1, QURATER 2...it gives me the whole 3 months in daily.

Thanks again for replying.
 
Upvote 0
mr excel.xlsx
ABC
2DateQQ
314/12/201944
423/11/201944
529/02/202011
612/10/201944
728/01/202011
827/12/201944
906/05/201922
Sheet4
Cell Formulas
RangeFormula
B3:B9B3=CHOOSE(MONTH(A3),1,1,1,2,2,2,3,3,3,4,4,4)
C3:C9C3=MONTH(MONTH(A3)&0)

You just need to insert one more column to convert date into quarter
 
Upvote 0

Forum statistics

Threads
1,214,921
Messages
6,122,280
Members
449,075
Latest member
staticfluids

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