Forum Discussion
Mel_G_01
Jun 01, 2021Copper Contributor
Count of Date in Pivot Table
Hi All, I would like to COUNT the number of days worked within this pivot table, but it is counting every line entry date. For example this Job number is showing 12 days where it should be showing ...
- Jun 01, 2021
Creating PivotTable add data to data model
and next in Value Field Setting select Distinct Count
Without data model this option is not available.
StoneKiwi
Jun 01, 2021Iron Contributor
Hi,
To count the number of UNIQUE days in the range use:
=SUMPRODUCT(1/COUNTIF(enterRangeHere,enterRangeHere))
To count the number of UNIQUE days in the range use:
=SUMPRODUCT(1/COUNTIF(enterRangeHere,enterRangeHere))