Pivot Table in Excel Simulation

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Satyam Yadav (22HMT3151)

BASIC IT TOOLS
SEC ASSIGNMENT
 Create a Calculated Field in Access
1. To create a calculated field in Access queries, open the query into which to insert the
calculated field in query design view.
2. Then click into the “Field Name” text box in the first available, blank column in the QBE grid and
type a name for the new calculated field, followed by the colon symbol (:) and a space.
3. Next, type the expression or formula to evaluate and display in the new field.
4. If referencing table fields, the name of the field must appear in brackets.
5. If you have two fields with the same name in two different tables, then you must specify the
name of the table in brackets first ([]), then a period (.) followed by the field name enclosed in
brackets ([]). For example: [Table 2].[Field4].
6. You can only refer to fields available in the tables added to the query, not just from any table in
your database.
7. Finally, click the “Save” button in the Quick Access toolbar to save your changes.

Calculated Item
A Calculated Item is a custom formula in an Excel pivot table, that can use the
sum of other items in the same field. For example, calculate the sum of 2
other items in a field.
Features: Here are the key features of pivot table calculated items:

 A calculated item becomes an item in a pivot field.


 Its calculation can use the sum of other items in the same field.
 The individual records in the source data are calculated, and then the
results are summed.
 Calculated items are listed with other items in the Row or Column area
of the pivot table.
 Calculated items are NOT shown in the PivotTable Field List.

 How to Create a Calculated Item


 In the pivot table, select a cell that contains an Order Status item. For
example, select cell A5, that contains the Backorder item. 
 On the Ribbon's Options tab, click Calculations
 Click Fields, Items & Sets, and then click Calculated Item.
o Note: If the Excel window is wide enough, you'll see Fields, Items
& Sets as a separate command.
o In Excel 2007, on the Ribbon's Options tab, in the Tools group,
click Formulas, and then click Calculated Item.

 Type a name for the Calculated Item, for example, Sold, and then press
the Tab key to move to the Formula box.
 In the Fields list, select Order Status, and in the Items list, double-click
Shipped, and then type a plus sign (+).
 Double-click Pending, type a plus sign, and then double-click Backorder.
The complete formula is

=Shipped + Pending + Backorder

Note: You can include the space characters or omit them.


 Click OK, to save the calculated item, and to close the dialog box.

The new calculated item, Sold, is added to the Row area in the pivot table.

However, the Grand Totals have increased, because the Sold item duplicates
the values from other items.

Creating pivot table charts


Create a pivot chart
1. Select a cell in your table.
2. Select Insert > PivotChart  .

3. Select where you want the PivotChart to appear.

4. Select OK.

5. Select the fields to display in the menu.

Create a chart from a


PivotTable
1. Select a cell in your table.

2. Select PivotTable Tools > Analyze > PivotChart.

3. Select a chart.
4. Select OK.

You might also like