0% found this document useful (0 votes)
7 views

MS_Excel_Subtotals_Lab5

Uploaded by

Israa M Alqatow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

MS_Excel_Subtotals_Lab5

Uploaded by

Israa M Alqatow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Course Name: Introduction to IT Lab

Topic: MS-Excel (Subtotal)

L EC T UR ER: E N G. I S R AA A LQATOW
DEPARTMENT OF I NFORMATION TECHNOLOGY
What is the SUBTOTAL Function
in Excel?
The SUBTOTAL function in Excel allows users to
create groups and then perform various other Excel
functions such as SUM, COUNT, AVERAGE,
PRODUCT, MAX, etc. Thus, the SUBTOTAL function
in Excel helps in analyzing the data provided.
Why do we need to use
SUBTOTALS?
Sometimes, we need data based on different
categories. SUBTOTALS help us to get the totals of
several columns of data broken down into various
categories.
How to use the SUBTOTAL
Function in Excel?
There are two steps to follow when we wish to use the
SUBTOTAL function. These are:

1. Formatting and sorting of the provided Excel data.


2. Applying SUBTOTAL to the table.
Subtotal example
Let’s understand this Excel function with the help of an example. We
use data provided by a manufacturer. He manufactures T-shirts of three
different colors, i.e., Red , Green and Blue. He produces these T-shirts in
three different sizes, i.e. 2, 4, 6. The relevant data are below:
Subtotal example
Step 1
First, we need to sort the worksheet on the basis of data we need to
subtotal. As we need to get the subtotals of T-shirts by colors, we will
sort it accordingly.
Step 2
The next step would be to apply the SUBTOTAL function. This can be
done as shown below:
Select the Data tab, and click on SUBTOTAL.
Step 2
Now, click the drop-down arrow for the “At each change in: field.” We
can now select the column we wish to subtotal. In our example, we’ll
select Color.
Step 2
Next, we need to click the drop-down arrow for the “Use function:
field.” This will help us select the function we wish to use. In our
example, we’ll select SUM to find out the total number of T-shirts lying
in each warehouse.
Step 2
Next, we move to “Add subtotal to: field.” Here we need to select the
column where we require the calculated subtotal to appear. In our
example, we’ll select Number of Units in Warehouse I and Warehouse II.
Results
Results
The level buttons in our example are images of buttons for Levels 1, 2,
3, which can be seen on the left side of the worksheet.

You might also like