Forum Discussion
Pivot table to get number of working days
here attached excel workbook which i need to get number of machines work on a day as a pivot table.
table 1 is data table . table 2 is pivot table which i got with extract date field and table 3 is the format what i need.
output 0 means that machine not work on that relevant date. anyone can help me to get that as per the table 3 format except machine names and output "0" details.
3 Replies
- SergeiBaklanDiamond Contributor
It looks like duplication of https://techcommunity.microsoft.com/t5/Excel/Excel-formula-to-get-number-of-working-days/m-p/887899#M41178
Anyway, the measure is the same
Number of machines work:=CALCULATE(COUNTROWS(Range),Range[Output MC]>0)- RavinduFCopper Contributor
appreciate your support. i don't have power pivot option to do this with my 2013 limited version. is there any other way to do this?
- SergeiBaklanDiamond Contributor
You don't need Power Pivot, it is enough that you have data model which shall be with 2013. You may add measure without Power Pivot.
Anyway, with formula if you add Date column manually
the formula in next column is
=COUNTIFS($A$4:$A$57,$Q6,$C4:$C57,">0")