Download Article
Download Article
Quick step-by-step guide to creating a new pivot table column
This wikiHow teaches you how to insert a new column into a pivot table in Microsoft Excel with the pivot table tools. You can easily change an existing row, field, or value to a column, or create a new calculated field column with a custom formula.
Things You Should Know
- Show the Field List by going to PivotTable Analyze > Field List .
- Drag field items to the Columns area in the Field List to create new columns.
- Go to PivotTable Analyze > Fields, Items, & Sets > Calculated Field to make a custom field.
Steps
-
Open the Excel file with the pivot table you want to edit. Find and double-click your Excel file on your computer to open it.
- If you haven't made your pivot table yet, open a new Excel document and create a pivot table before continuing.
-
Click any cell on the pivot table. This will select the table, and show the “PivotTable Analyze” and “Design” tabs on the toolbar ribbon at the top.Advertisement
-
Click the PivotTable Analyze tab at the top. You can find this tab alongside other tabs like Formulas, Insert, and View at the top of the app window. It will show your pivot table tools on the toolbar ribbon. [1] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- On some versions, this tab may just be named Analyze , and on others, you can find it as Options under the "Pivot Table Tools" heading.
-
Click the Field List button on the toolbar ribbon. You can find this button on the right-hand side of the “PivotTable Analyze” tab. It will open a list of all the fields, rows, columns, and values in the selected table. [2] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
Check the box next to any item on the “PivotTable Fields” list. This will calculate the summary of your original data in the selected category, and add it to your pivot table. [3] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- Typically, non-numeric fields are added as rows, and numeric fields are added as values.
- You can uncheck the checkbox here anytime to remove the field from your pivot table.
-
Drag and drop any field item to the "Columns" section. This will move the selected category to the Columns list, and re-design your pivot table with the newly added column. [4] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- For example, if you have a column of years called “Years” in your source data, you can add the “Years” field to the Columns area to create columns for each year, showing values for each individual year.
- You can drag the field item name from the list of fields or from another area (Filters, Rows, Values).
- Now you’re ready to analyze the data and make a few charts using the pivot table.
Advertisement
-
Open the Excel document you want to edit. Double-click the Excel document that contains your pivot table. This method will create a custom field using the existing fields and data.
- If you haven't yet made the pivot table, open a new Excel document and create a pivot table before continuing.
-
Select the pivot table you want to edit. Click the pivot table on your worksheet to select and edit it.
-
Click the PivotTable Analyze tab. This tab is in the middle of the toolbar ribbon at the top of the Excel window. It will open your pivot table tools on the toolbar ribbon. [5] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- On different versions, this tab may be named Analyze , or Options under the "Pivot Table Tools" heading.
-
Click the Fields, Items, & Sets button on the toolbar ribbon. This button looks like an "fx" sign on a table icon on the far-right end of the toolbar. It will open a drop-down menu. [6] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
Click Calculated Field on the drop-down menu. It will open a new window where you can add a new, custom column to your pivot table. [7] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
Enter a name for your column in the "Name" field . Click the Name field, and type in the name you want to use for your new column. This name will appear at the top of the column. [8] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
Enter a formula for your new column in the "Formula" field. Click the “Formula” field below “Name”, and type the formula you want to use for calculating your new column's data values. [9] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- Make sure you type the formula on the right side of the "=" sign.
- Optionally, you can also select an existing column, and add it to your formula as a value:
- Select the field you want to add in the Fields section.
- Click Insert Field to add it to your formula.
- For example, if you have the fields “revenue” and “costs”, you could subtract them to get a “profit” calculated field.
-
Click OK . Doing so will add the column to the right side of your pivot table.
- Alternatively, click Add to create the calculated field without closing the “Insert Calculated Field” window. This allows you to add additional calculated fields.
- You can reorder the columns by dragging the field items in the pivot table “Column” area.
Advertisement
Expert Q&A
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
- Make sure to backup your original Excel document before modifying the pivot table.Thanks
-
Thanks
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement
Warnings
- Always remember to save your work when you're done.Thanks
Advertisement
References
- ↑ https://support.microsoft.com/en-us/office/create-a-pivottable-to-analyze-worksheet-data-a9a84538-bfe9-40a9-a8e9-f99134456576
- ↑ https://support.microsoft.com/en-us/office/use-the-field-list-to-arrange-fields-in-a-pivottable-43980e05-a585-4fcd-bd91-80160adfebec
- ↑ https://support.microsoft.com/en-us/office/use-the-field-list-to-arrange-fields-in-a-pivottable-43980e05-a585-4fcd-bd91-80160adfebec
- ↑ https://support.microsoft.com/en-us/office/design-the-layout-and-format-of-a-pivottable-a9600265-95bf-4900-868e-641133c05a80
- ↑ https://support.microsoft.com/en-us/office/calculate-values-in-a-pivottable-11f41417-da80-435c-a5c6-b0185e59da77#ID0EBF=Windows,_Mac
- ↑ https://support.microsoft.com/en-us/office/calculate-values-in-a-pivottable-11f41417-da80-435c-a5c6-b0185e59da77#ID0EBF=Windows,_Mac
- ↑ https://support.microsoft.com/en-us/office/calculate-values-in-a-pivottable-11f41417-da80-435c-a5c6-b0185e59da77#ID0EBF=Windows,_Mac
- ↑ https://support.microsoft.com/en-us/office/calculate-values-in-a-pivottable-11f41417-da80-435c-a5c6-b0185e59da77#ID0EBF=Windows,_Mac
- ↑ https://support.microsoft.com/en-us/office/calculate-values-in-a-pivottable-11f41417-da80-435c-a5c6-b0185e59da77
About This Article
Article Summary
X
1. Click on the PivotTable
.
2. Click the checkbox
of the field you want to add.
3. Right-click on the added field.
4. Select Move to...
Column Labels or Values.
Did this summary help you?
Thanks to all authors for creating a page that has been read 714,732 times.
Advertisement