Reputation: 57
we have 4 date columns(created year/month. closed year/month). The tricky part in the output is the closed count.
In the output, the columns(year,Month) are based on (created year/month) so when i pivot the source data value the closed ticket count should be based on the columns(closed year/month).
Thanks In Advance
Upvotes: 1
Views: 2125
Reputation: 35915
I don't think you can do that kind of calculation with a pivot table. But you can use a regular table and Countifs to get the result you describe.
The formula in D17 is
=COUNTIFS(Table1[Created Year],B17,Table1[Created Month],C17)
In E17
=COUNTIFS(Table1[status],"closed",Table1[Closed Year],B17,Table1[closed month],C17)
Copy down
Upvotes: 1