Counting the number of unique values

You can easily count the number of unique values of the range using a simple formula.

For example, you want to count the number of unique values of the range:

Data in Excel 2007

You can enter the next formula to the range D2:D12:


Summarize amount from a range D2:D12:

Data in Excel 2007

This formula has a serious limitation: If the range contains any blank cells, it returns an error. The following formula solves this problem:


Ask a Question

We use your email only for the communication between you and our team.

Your email Please enter your email Your email

If you have any questions or suggestions, please feel free to ask OfficeToolTips team.

Thank you for visiting OfficeToolTips

We are glad to help you in your work. However, you are using ad blocker and our efforts will not be rewarded.

Please consider disabling ad blocker before continuing the reading.