Pivot tables are highly effective instruments in Microsoft Excel that permit you to summarize and analyze massive datasets. One of the crucial helpful options of pivot tables is the power so as to add calculated fields. Calculated fields are new fields that you could create based mostly on current fields within the pivot desk. This lets you carry out calculations in your information with out having to create a brand new components in every cell.
Calculated fields can be utilized for quite a lot of functions, reminiscent of:
- Including totals or subtotals
- Calculating percentages or ratios
- Combining information from totally different fields
- Creating new fields based mostly on current fields
On this article, we are going to present you learn how to add a calculated subject to a pivot desk. We will even present some examples of how calculated fields can be utilized to enhance your information evaluation.
Including Calculated Discipline in Pivot Desk
Calculated fields improve information evaluation and supply priceless insights.
- Create new fields
- Carry out calculations
- Add totals/subtotals
- Calculate percentages
- Mix information fields
- Enhance information evaluation
- Simplify advanced formulation
- Improve pivot desk experiences
Unlock the facility of calculated fields to remodel your information evaluation.
Create new fields
One of the crucial helpful options of calculated fields is the power to create new fields that don’t exist within the authentic information supply. This may be finished by combining information from a number of fields, performing calculations, or extracting particular components of a subject.
For instance, as an instance you will have a pivot desk that reveals gross sales information for various merchandise and areas. You may create a brand new subject that reveals the entire gross sales for every product class by utilizing the next components:
=SUM(Gross sales)
You may additionally create a brand new subject that reveals the typical gross sales worth for every product by utilizing the next components:
=AVERAGE(Gross sales) / COUNTROWS(Product)
Or, you may create a brand new subject that reveals the proportion of gross sales for every product class by utilizing the next components:
=SUM(Gross sales) / SUM(Complete Gross sales)
These are just some examples of how you need to use calculated fields to create new fields that present priceless insights into your information.
With calculated fields, you aren’t restricted to the information that’s already out there in your information supply. You possibly can create new fields which might be tailor-made to your particular wants and necessities.
Carry out calculations
Calculated fields will also be used to carry out calculations in your information. This may be helpful for duties reminiscent of:
-
Calculating totals and subtotals
You should utilize calculated fields so as to add totals and subtotals to your pivot desk. This may also help you to rapidly and simply see the general efficiency of your enterprise or group.
-
Calculating percentages and ratios
You should utilize calculated fields to calculate percentages and ratios. This may be helpful for evaluating totally different information units or for figuring out developments.
-
Calculating working totals
You should utilize calculated fields to calculate working totals. This may be helpful for monitoring the progress of a mission or marketing campaign.
-
Calculating variations between values
You should utilize calculated fields to calculate the distinction between two values. This may be helpful for figuring out outliers or for monitoring modifications over time.
These are just some examples of the various calculations that you could carry out utilizing calculated fields. With calculated fields, you’re solely restricted by your creativeness.
Add totals/subtotals
One of the crucial frequent makes use of of calculated fields is so as to add totals and subtotals to a pivot desk. This may also help you to rapidly and simply see the general efficiency of your enterprise or group.
-
Add a grand whole
So as to add a grand whole to your pivot desk, merely drag the sector that you just need to summarize to the Values space. The grand whole can be displayed on the backside of the pivot desk.
-
Add subtotals
So as to add subtotals to your pivot desk, drag the sector that you just need to group by to the Rows space or the Columns space. The subtotals can be displayed for every group.
-
Add a number of ranges of subtotals
You possibly can add a number of ranges of subtotals to your pivot desk by dragging a number of fields to the Rows space or the Columns space.
-
Customise the best way that totals and subtotals are calculated
You possibly can customise the best way that totals and subtotals are calculated by utilizing the Summarize Values By dialog field. To open the Summarize Values By dialog field, right-click on the sector that you just need to summarize and choose Summarize Values By.
Including totals and subtotals to a pivot desk is an effective way to rapidly and simply summarize your information. With calculated fields, you possibly can add totals and subtotals to any subject in your pivot desk, no matter whether or not or not it’s already displayed within the pivot desk.
Calculate percentages
Calculated fields will also be used to calculate percentages. This may be helpful for evaluating totally different information units or for figuring out developments. For instance, you may create a calculated subject that reveals the proportion of gross sales for every product class by utilizing the next components:
=SUM(Gross sales) / SUM(Complete Gross sales)
You may additionally create a calculated subject that reveals the proportion of consumers who’ve made a purchase order within the final month by utilizing the next components:
=COUNT(Clients Who Bought In Final Month) / COUNT(Complete Clients)
Or, you may create a calculated subject that reveals the proportion of gross sales that had been made via the net retailer by utilizing the next components:
=SUM(On-line Gross sales) / SUM(Complete Gross sales)
These are just some examples of how you need to use calculated fields to calculate percentages. With calculated fields, you possibly can calculate percentages for any subject in your pivot desk, no matter whether or not or not it’s already displayed within the pivot desk.
Calculating percentages is an effective way to check totally different information units and establish developments. With calculated fields, you possibly can simply calculate percentages for any subject in your pivot desk, with out having to create a brand new components in every cell.
Mix information fields
Calculated fields will also be used to mix information from a number of fields. This may be helpful for creating new fields that present extra insights into your information. For instance, you may create a calculated subject that reveals the total identify of a buyer by combining the primary identify and final identify fields.
-
Mix textual content fields
You should utilize calculated fields to mix textual content fields from a number of columns right into a single subject. For instance, you may create a calculated subject that reveals the total identify of a buyer by combining the primary identify and final identify fields.
-
Mix numeric fields
You should utilize calculated fields to mix numeric fields from a number of columns right into a single subject. For instance, you may create a calculated subject that reveals the entire gross sales for every product by combining the gross sales figures from a number of product classes.
-
Mix date fields
You should utilize calculated fields to mix date fields from a number of columns right into a single subject. For instance, you may create a calculated subject that reveals the beginning and finish dates of a mission by combining the beginning date and finish date fields.
-
Mix different information varieties
You may as well use calculated fields to mix information fields of various information varieties. For instance, you may create a calculated subject that reveals the standing of a buyer order by combining the order date and the delivery date.
Combining information fields is an effective way to create new fields that present extra insights into your information. With calculated fields, you possibly can mix information from any subject in your pivot desk, no matter whether or not or not it’s already displayed within the pivot desk.
Enhance information evaluation
Calculated fields can be utilized to enhance information evaluation in quite a lot of methods. For instance, calculated fields can be utilized to:
-
Determine developments and patterns
Calculated fields can be utilized to establish developments and patterns in your information. For instance, you may create a calculated subject that reveals the typical gross sales for every product over time. This may permit you to see how gross sales are trending and establish merchandise which might be performing nicely or poorly.
-
Evaluate totally different information units
Calculated fields can be utilized to check totally different information units. For instance, you may create a calculated subject that reveals the gross sales for every product in two totally different areas. This may permit you to see which merchandise are promoting nicely in every area and establish alternatives for progress.
-
Create new insights
Calculated fields can be utilized to create new insights into your information. For instance, you may create a calculated subject that reveals the profitability of every product. This may permit you to see which merchandise are most worthwhile and establish alternatives to extend profitability.
-
Make higher selections
Calculated fields can be utilized to make higher selections. For instance, you may create a calculated subject that reveals the ROI of every advertising and marketing marketing campaign. This may permit you to see which advertising and marketing campaigns are simplest and establish alternatives to enhance your advertising and marketing ROI.
These are just some examples of how calculated fields can be utilized to enhance information evaluation. With calculated fields, you possibly can acquire new insights into your information and make higher selections.
Simplify advanced formulation
Calculated fields will also be used to simplify advanced formulation. For instance, as an instance you will have a components that calculates the typical gross sales for every product over time. This components would possibly look one thing like this:
=AVERAGE(Gross sales) / COUNT(Dates)
Should you wished to make use of this components in a pivot desk, you would need to create a brand new calculated subject for every product. This might be loads of work, particularly you probably have loads of merchandise.
Nevertheless, you need to use a calculated subject to simplify this course of. You possibly can create a single calculated subject that calculates the typical gross sales for all merchandise. This components would look one thing like this:
=AVERAGE(Gross sales) / COUNTROWS(Merchandise)
You possibly can then use this calculated subject in your pivot desk to see the typical gross sales for every product. That is a lot simpler than creating a brand new calculated subject for every product.
Calculated fields will also be used to simplify formulation that use a number of standards. For instance, as an instance you will have a components that calculates the entire gross sales for merchandise which might be offered in a selected area and which have a worth higher than $100. This components would possibly look one thing like this:
=SUMIF(Area, “North America”, Gross sales)
Should you wished to make use of this components in a pivot desk, you would need to create a brand new calculated subject for every area. This might be loads of work, particularly you probably have loads of areas.
Nevertheless, you need to use a calculated subject to simplify this course of. You possibly can create a single calculated subject that calculates the entire gross sales for all merchandise which might be offered in a selected area and which have a worth higher than $100. This components would look one thing like this:
=SUMIF(AND(Area = “North America”, Worth > 100), Gross sales)
You possibly can then use this calculated subject in your pivot desk to see the entire gross sales for every area and product worth vary.
Calculated fields are a robust instrument that can be utilized to simplify advanced formulation and make information evaluation simpler.
Improve pivot desk experiences
Calculated fields can be utilized to reinforce pivot desk experiences in quite a lot of methods. For instance, calculated fields can be utilized to:
-
Add new insights
Calculated fields can be utilized so as to add new insights to pivot desk experiences. For instance, you may create a calculated subject that reveals the profitability of every product. This may permit you to see which merchandise are most worthwhile and establish alternatives to extend profitability.
-
Enhance information visualization
Calculated fields can be utilized to enhance the information visualization in pivot desk experiences. For instance, you may create a calculated subject that reveals the gross sales for every product as a proportion of whole gross sales. This may permit you to see which merchandise are contributing probably the most to gross sales.
-
Make experiences extra interactive
Calculated fields can be utilized to make pivot desk experiences extra interactive. For instance, you may create a calculated subject that enables customers to filter the information by product class. This may permit customers to see the information for a selected product class with out having to create a brand new pivot desk.
-
Simplify advanced experiences
Calculated fields can be utilized to simplify advanced pivot desk experiences. For instance, you may create a calculated subject that summarizes the information for a number of merchandise. This may permit you to see the general efficiency of a gaggle of merchandise with out having to take a look at the information for every product individually.
These are just some examples of how calculated fields can be utilized to reinforce pivot desk experiences. With calculated fields, you possibly can create extra informative, visually interesting, and interactive experiences.
FAQ
This part gives solutions to continuously requested questions on utilizing calculated fields in pivot tables.
Query 1: What are calculated fields?
Calculated fields permit you to create new fields in a pivot desk based mostly on current fields. This lets you carry out calculations, mix information, and create new insights with out having to create a brand new components in every cell.
Query 2: How do I create a calculated subject?
To create a calculated subject, click on on the “Analyze” tab within the ribbon after which click on on the “Fields, Gadgets, & Units” group. Then, click on on the “Calculated Discipline” button. Within the dialog field that seems, enter a reputation for the sector after which enter the components that you just need to use to calculate the sector.
Query 3: What kinds of calculations can I carry out utilizing calculated fields?
You should utilize calculated fields to carry out quite a lot of calculations, together with:
- Including totals and subtotals
- Calculating percentages and ratios
- Combining information from totally different fields
- Creating new fields based mostly on current fields
Query 4: Can I exploit calculated fields in a number of pivot tables?
Sure, you need to use calculated fields in a number of pivot tables. Nevertheless, the calculated subject have to be outlined within the information supply for every pivot desk.
Query 5: How can I enhance the efficiency of my pivot desk when utilizing calculated fields?
There are some things you are able to do to enhance the efficiency of your pivot desk when utilizing calculated fields:
- Use environment friendly formulation
- Keep away from utilizing risky features
- Use an information mannequin
Query 6: The place can I study extra about calculated fields?
There are numerous sources out there on-line that may educate you extra about calculated fields. Some good locations to begin embrace the Microsoft Assist web site and the Excel Assist Middle.
Query 7: Can I exploit calculated fields in different spreadsheet packages?
Sure, calculated fields are additionally out there in different spreadsheet packages reminiscent of Google Sheets and LibreOffice Calc.
Concluding paragraph:
Calculated fields are a robust instrument that can be utilized to enhance the evaluation and presentation of information in pivot tables. By understanding learn how to use calculated fields, you possibly can create extra informative and insightful pivot desk experiences.
Along with utilizing calculated fields, there are a selection of different ideas that you need to use to enhance your pivot desk experiences. The following tips can be mentioned within the subsequent part.
Ideas
Listed here are 4 sensible ideas for utilizing calculated fields in pivot tables:
Tip 1: Use significant names on your calculated fields
If you create a calculated subject, it is very important give it a significant identify. This may make it simpler to establish the sector within the PivotTable Fields pane and within the components bar.
Tip 2: Use environment friendly formulation
When creating calculated fields, it is very important use environment friendly formulation. This may assist to enhance the efficiency of your pivot desk. Some ideas for writing environment friendly formulation embrace:
- Use the shortest components potential.
- Keep away from utilizing nested formulation.
- Use vary references as an alternative of particular person cell references.
Tip 3: Keep away from utilizing risky features
Risky features are features that may change their worth even when the underlying information has not modified. This could trigger your pivot desk to recalculate unnecessarily, which may decelerate efficiency. Some frequent risky features embrace:
- TODAY()
- NOW()
- RAND()
Tip 4: Use an information mannequin
If you’re working with a big information set, you possibly can enhance the efficiency of your pivot desk by utilizing an information mannequin. An information mannequin is a group of tables which might be associated to one another. Through the use of an information mannequin, you possibly can create pivot tables which might be based mostly on a number of tables with out having to create a number of copies of the information.
Closing paragraph:
By following the following pointers, you need to use calculated fields to create extra informative and insightful pivot desk experiences.
Calculated fields are a robust instrument that can be utilized to enhance the evaluation and presentation of information in pivot tables. By understanding learn how to use calculated fields and by following the information on this article, you possibly can create pivot desk experiences which might be each informative and insightful.
Conclusion
Calculated fields are a robust instrument that can be utilized to enhance the evaluation and presentation of information in pivot tables. By understanding learn how to use calculated fields, you possibly can create pivot desk experiences which might be extra informative, visually interesting, and interactive.
On this article, we now have mentioned the next details:
- What are calculated fields and learn how to create them
- The right way to use calculated fields to carry out calculations, mix information, and create new insights
- The right way to improve pivot desk experiences utilizing calculated fields
- Ideas for utilizing calculated fields successfully
By following the information and recommendation on this article, you need to use calculated fields to create pivot desk experiences which might be each informative and insightful.
Closing Message:
Calculated fields are a priceless instrument for anybody who needs to get probably the most out of pivot tables. By taking the time to learn to use calculated fields, you possibly can create pivot desk experiences which might be extra informative, visually interesting, and interactive.