pivot tables

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Pivot Tables

Pivot Tables

resolvedResolved · Medium Priority · Version 2010

Anneka has attended:
Excel Advanced course

Pivot Tables

How do I use Calculated fields?

Edited on Mon 30 Jan 2017, 10:25

RE: Pivot Tables

Thanks for your question Anneka.

Suppose you have created a PivotTable showing sales by department. You could use a calculated field to, for example, calculate the VAT on those sales.

Row Labels Sum of Value of sale
Central £134,878
North £104,322
South £74,726
Grand Total £313,926

Here are the steps to create a calculated field:

1. Place your cursor within the Pivot Table.
2. Select the Options tab, then Fields, Items & Sets.
3. Select Calculated Field.
4. Type a name for the calculated field, eg VAT.
5. In the Formula part remove the = and double click the value field from the list of fields and multiply by the VAT rate. In this case the formula will be:

='Vale of Sales' * 0.2

6. Press OK and the calculated field column will be created to the right of the PivotTable:

Row Labels Sum of Value of sale Sum of VAT
Central £134,878 £26,976
North £104,322 £20,864
South £74,726 £14,945
Grand Total £313,926 £62,785

Editing a Calculated Field

If you want to amend a calculated field:
1. Select Option, Fields Items & Sets, Calculated Field
2. In the Name box, select the drop-down arrow to the right.
3. Choose the calculated field to amend and make the changes required.

Hope that helps. Your calculated field may be quite different from VAT. It can contain Excel functions such as IF for conditional calculations.

Regards
Doug
STL

Mon 6 Feb 2017: Automatically marked as resolved.


 

Excel tip:

Counting Blanks

Some times you want to check if there are cells missing data in your range. You can use the COUNTBLANK FUNCTION to acheive this. It is =COUNTBLANK(Range). Note Cells with formulas that return "" (empty text) are also counted. Cells with zero values are not counted.

View all Excel hints and tips


Server loaded in 0.05 secs.