Maintenance Notification: We are upgrading our servers today so you may experience intermediate outages. Thank you for your patience.
Create and modify PivotTables
MO-211

Add calculated fields

  1. 1Select a cell in the PivotTable.
  2. 2PivotTable Analyze › Fields, Items & Sets › Calculated Field.
  3. 3Name: Commission. Formula: =Sales*0.05. Add, then OK.

A calculated field is a new field worked out from the other fields with a formula. It lives in the PivotTable, not in the source data, and Excel adds it to Values as soon as you select OK.

What the MO-211 task asks

In our MO-211 practice exams the task gives the field's name and its formula in words: “Add a calculated field named Revenue equal to Sessions * 45, and show its Sum in the Values area.”

The grader reads the calculated field from the saved PivotTable: its name, its formula, and that it is in Values. A column added to the source data instead is not a calculated field, however right its numbers.

Worked examples

Set up the grid below to follow along. Each example starts from it as shown; every result is what Excel showed.

Sheet Orders
ABCDE
1DateRegionProductUnitsSales
25-Jan-2026NorthBikes2900
312-Jan-2026SouthHelmets10450
419-Jan-2026WestLocks8160
526-Jan-2026NorthHelmets6270
62-Feb-2026SouthBikes31350
79-Feb-2026WestBikes1450
816-Feb-2026NorthLocks12240
923-Feb-2026SouthLocks5100
102-Mar-2026WestHelmets4180
119-Mar-2026NorthBikes1450
1216-Mar-2026SouthHelmets8360
1323-Mar-2026WestLocks10200
Sheet Pivot (Region in Rows, Sum of Sales in Values)
AB
3Row LabelsSum of Sales
4North1860
5South2260
6West990
7Grand Total5110
A 5% commission
Do this
  1. 1PivotTable Analyze › Fields, Items & Sets › Calculated Field.
  2. 2Name: Commission. Formula: =Sales*0.05. OK.
Excel showsSum of Commission: North 93 · South 113 · West 49.5 · Grand Total 255.5

Each region's sales times 0.05. Excel names the value field Sum of Commission.

Insert a field instead of typing it
Do this
  1. 1In the dialog, select Units in Fields, then Insert Field.
Excel showsFormula: =Units, ready to finish

Insert Field writes the field's name for you, with quotes when the name has a space.

A ratio is worked out from the totals
Do this
  1. 1Add a calculated field Price: =Sales/Units.
Excel showsSum of Price: North 88.57142857 · South 86.92307692 · West 43.04347826

Excel adds up Sales and Units for the region first, then divides: North is 1860 / 21. It is not the average of each row's price.

In the video
Do this
  1. 1Fields, Items & Sets › Calculated Field › Commission, =Sales*0.05 › OK.
Excel showsSum of Commission, Grand Total 255.5

The first example, done in Excel on this workbook.

Watch it done in Excel

The last example above, recorded in real Excel on the same grid.

Exam traps

Expecting a row-by-row result

A calculated field works on the totals, not on each row. Price is North's 1860 sales over its 21 units, 88.57142857, not the average of its four row prices. When a task needs a value per row, that is a column in the source data.

Adding a column to the source

A Commission column on the data sheet gives the same totals after a refresh, but the PivotTable has no calculated field, and that is what the task checks.

Calling it by a field's name

A calculated field cannot share a name with a source field. Use the name the task gives; if it clashes, the task will have said so.

FAQ

Can a calculated field be averaged or counted?

Value Field Settings lets you choose Average, but the number does not change: Average of Price still shows 88.57142857 for North, because the formula is always worked out on the totals.

How do I change or delete one?

Open Calculated Field again, pick it from the Name list, then Modify or Delete.

Is a calculated field the same as a calculated item?

No. A calculated item adds a new item to one field, such as a new region made from two others. Tasks about a new field mean a calculated field.

New to this?

This page covers what the exam asks. For the full how-to, read our guide on dfwexcel.com.

Add a calculated field to a PivotTable — dfwexcel.com

Try it under exam conditions

Take a full, timed MO-211 practice exam, upload the workbook you built, and get a score out of 1000 with a per-task breakdown of where the points went. Your first one is free.

No credit card needed.