How Do I Count Distinct Records in an Excel Pivot Table?

Save

Microsoft Excel is a powerful spreadsheet software program that is often used to compile and manipulate large amounts of data. Excel offers a feature known as the Pivot Table, which is an interactive table that will automatically extract, organize and summarize data for you. You can utilize Excel to count all the distinct records that occur in any of the Pivot Tables you create.

  • Add a column to the database with which you are working; give it a text heading of your choice and add this field to your pivot table.

  • Enter the following formula in the first cell of the column you created:

    =IF($A$2:$A2=A2)>1,0,1)

    where A is the column which you are searching and 2 is the first row of data in your pivot table.

  • Copy the formula down the entire column you created and the cells in that column will display the number of distinct records in that row.

References

  • Photo Credit computer image by Ewe Degiampietro from Fotolia.com
Promoted By Zergnet

Comments

You May Also Like

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!