?
Solved

Excel Calculated Field - How to use Count function

Posted on 2014-08-03
2
Medium Priority
?
526 Views
Last Modified: 2014-08-10
Hi There,
Can someone provide an example of a workbook with a calculated field in a pivot table, where a formula has been used with the count function in the "Insert Calculated Field" formula?

I'm just trying to understand how to use the various features of calculated fields.

THank you.
0
Comment
Question by:rav_rav
2 Comments
 
LVL 14

Accepted Solution

by:
Zack Barresse earned 2000 total points
ID: 40239780
Hi there,

Have you looked at Debra Dalgleish's website? She has many items, especially covering PivotTable's. Here is her page on calculated fields, which even has a short video showing how to add one:
http://www.contextures.com/excel-pivot-table-calculated-field.html

Easiest way to add a count of a field is to drag that field to the Values area. If it's a textual field you should be good to go, because it defaults to Count for text data (Count with PivotTables is a COUNTA, whereas Count Numbers is like the COUNT function). If the field is numeric, change the field settings from Sum to Count. I've attached a sample file showing a Count field.

HTH

Regards,
Zack Barresse
SampleData-xl2013.xlsx
0
 

Author Closing Comment

by:rav_rav
ID: 40252243
Thanks Zack
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question