Doghouse308
New Member
- Joined
- May 28, 2019
- Messages
- 13
I have a pivot table that is tracking occurrence per device as follows:
[TABLE="width: 225"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]PJ1065[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ1089[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ1156[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ1197[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ1573[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PJ1754[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ3159[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ3223[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]PJ3648[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ3944[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ4064[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ4073[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ4309[/TD]
[TD="align: right"]1
[/TD]
[/TR]
</tbody>[/TABLE]
I need to find a way to count the number of instances with 2 and with 3 or more occurrences per device. I tried using GETPIVOTDATA, but cannot find a way to count conditionally. I also tried using the GETPIVOTDATA inside of a countif without success.
I greatly appreciate any suggestions. Once I have this one last piece of the puzzle I can complete a dashboard project.
[TABLE="width: 225"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]PJ1065[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ1089[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ1156[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ1197[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ1573[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PJ1754[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ3159[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ3223[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]PJ3648[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ3944[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ4064[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ4073[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PJ4309[/TD]
[TD="align: right"]1
[/TD]
[/TR]
</tbody>[/TABLE]
I need to find a way to count the number of instances with 2 and with 3 or more occurrences per device. I tried using GETPIVOTDATA, but cannot find a way to count conditionally. I also tried using the GETPIVOTDATA inside of a countif without success.
I greatly appreciate any suggestions. Once I have this one last piece of the puzzle I can complete a dashboard project.