


Let’s start by adding a column to your data with a header of your choice.Using the Function COUNTIFĪnother approach to calculating the Unique entries is simply using the formula COUNTIF in your Datasheet. Therefore, we have only 18 unique service providers in the country. Here we go: you have a Distinct/Unique Count for each region in the pivot table.Now scroll down to the end to get “Distinct Count” and click OK.After this click on the “Value Field Settings”.

Here’s the trick: click on the small arrow next to “Count of Service provider” in the Pivot Table fields.This will give you the same pivot table you had earlier, but the pivot table fields look a little different. After this, you will get a usual pivot table and arrange your data in the pivot table fields as you did earlier.Now tick mark the box at the bottom of the dialogue box, “Add this data to the Data Model” and hit OK.Here click on the pivot table and a dialogue box appears.To start with, click on any cell in the data and go to the “Inset” tab in your ribbon.If you are using Excel for Microsoft 365, Excel 2019, Excel 2016, and Excel 2013, you have the access to Data Model. The data model is yet another thing I love about the newer versions of Microsoft Excel. More on Pivot Table Using a Data Model with a Pivot Table
