To count duplicate values as 1 in a pivot table of excel, follow these steps:
- Select the data you want to use for the pivot table
- In the pivot table box, check the “Add this data to the Data Model” box and click OK
3. Place the field you want to count
4. In the values area (more options), select “Distinct Count” and click OK.