Академический Документы
Профессиональный Документы
Культура Документы
Student's Surname, First Name: Castigador, Cyril Vince Year & Section: BSA-2A
1) Replace the student’s surname, first name with your name the excel file and doc file before
submitting them.
2) Use print screen or snipping tool to document every step that you perform in this exercise found in
the Excel file named “Exer 2 Excel – Average, Count, SumIF, AverageIF, CountIFS, CountIF –
Student’s Surname, First Name”.
3) Follow the instructions shown here.
4) Make an explanation on the result emphasizing the use of the function. (The explanations are
places on the last page)
1. Average Function – Open the “Average” worksheet of the Exer 2.xlsx file
3. Count Function
Count 2 Worksheet: Ever had a column of data and wanted to check if all of the values contain
valid numbers? It would be cumbersome to count and check them one by one, especially if you
had hundreds of entries! Imagine we have the following data, we see an error, a text and a
couple of numbers:
Thankfully there is an easy way to count how many of these cells contain valid numbers using
the Excel’s COUNT formula.
STEP 1: We need to enter the COUNT function in a blank cell:
=COUNT(
STEP 1: We need to enter the COUNTA function in a blank cell. Notice there are 6 non-blank
cells in here:
=COUNTA(
STEP 2: The COUNTA arguments:
value
What is the value or range of values that you want to check how many are non-blank?
=COUNTA(B9:C12)
You now have your count of values that are non-blank! There are 6 non-blank values!
5. Countblank Function
Countblank Worksheet:Do you have a scenario where you want to count the number of
cells that are blank in your Excel data?
If you are auditing your data and want to make sure that a blank cell is actually
blank (and doesn’t contain an invisible character), then this formula is for you.
STEP 1: We need to enter the COUNTBLANK function in a blank cell:
=COUNTBLANK(
STEP 3: Now let us try for counting the number of Yellow values:
=COUNTIF(C9:C12, “Yellow”)
You now have your count of values that have the Yellow text!
STEP 4: Now let us try for counting the number of names starting
with the Letter J:
Let us use the wildcard expression J*
* signifies a wildcard character i.e. Return any value that begins with a J
=COUNTIF(E9:E12, “J*”)
You now have your count of values that have a starting letter of J!
7. CountIFS Function
CountIFS Worksheet: Do you have a scenario where you want to count the number of
cells that match specific conditions? There is a simple way to count this with
Excel’s COUNTIFS formula! This is very similar to the CountIf Formula! The
only difference is it allows you to add even more conditions as needed…That’s
POWEFUL!
The COUNTIFS formula is very flexible indeed, so let us try to count the
following from our Excel worksheet:
Number of times John got more than 10,000 sales
Number of times Kim got more than 18,000 sales
STEP 1: Let us target the first question: How many times John got
more than 10,000 sales?
We need to enter the COUNTIFS function in a blank cell:
=COUNTIFS(
range2, criteria2
What is our second condition?
We want to find sales that are more than 10,000
COUNTIFS(A9:A13, “John”, C9:C13, “>10000”)
You now have your count of 2!
Scenario:
You’ve been given a spreadsheet that contains the Apple sales by quarter for
three regions. You’ve been asked to summarize the data and provide the
following information:
1) What are the total sales by quarter? SUMIF
2) What are the average sales by quarter? AVERAGEIF
3) How many times per quarter were sales greater than $400? COUNTIFS
4) Total number of times for all quarters, sales were greater than $400?
COUNTIF
8. Copy the formula down through cells ‘G3’ – ‘G5’ and change the
‘Criteria’ value for the appropriate quarter (i.e. 2,3, & 4 for
quarters 2-4)
COUNTIFS: How many times per quarter were sales greater than $400?
In this example, we need to determine two items: A) the quarter AND B) the
number of times sales were greater than $400
1. Place your cursor in cell ‘H2’
2. From the Ribbon select the tab ‘Formulas’
3. Clickfx Insert Function
4. When prompted, type ‘CountIFS’ in the ‘Search for a function:’
box
5. Click the ‘Go’ button
6. Click the ‘OK’ button:
In the Function Arguments dialogue box enter the following:
For the Criteria_range1 click column ‘B’
For the Criteria1 enter ‘1’ for Quarter 1
For the Criteria_range2 click column ‘C’
For the Criteria2 enter “>400” for sales greater than $400,
(make sure >400 is in double quotes “ ”)
7. Click the ‘OK’ button
8. Copy the formula down through cells ‘H3’ – ‘H5’ and change the
‘Criteria1’ value for the appropriate quarter (i.e. 2,3, & 4 for
quarters 2-4)
COUNTIF
The total number of times over all quarters, sales were greater than $400?
1. Place your cursor in cell ‘J2’
2. From the Ribbon select the tab ‘Formulas’
3. Clickfx Insert Function
4. When prompted, type ‘CountIF’ in the ‘Search for a function:’
box
5. Click the ‘Go’ button
6. Select ‘CountIF’ and click the ‘OK’ button:
In the Function Arguments dialogue box enter the following:
A. For the Range click the column ‘C’
B. For the Criteria enter “>400” for sales greater than $400, (make
sure >400 is in double quotes “ ”)
7. Click the ‘OK’ button
The result is; 5 times over all quarters, sales were greater than $400
Result Explanations:
1. Average Function Result: $769.71
The average function is used to find the average between a set of numbers. In this case,
we used the average function to find the average sales from Monday to Thursday.
2. Count Function Result: 2
The count function is used to find the quantity of numbers present in the given set of
data. In the example above, it is used to find how many days did a certain hero work and
who is the hero who worked the most.
3. CountA Function Result: 6
The countA function is used to find cells which are non-blank. This is used to find if how
many units are present in a group of cells.
4. CountBlank Function Result: 3
The CountBlank function is used to find the number of blanked cells in a data. This can
be used in finding which cells are missing or if there are absences.
5. CountIF Function Result: 3, 2, 3
The CountIF function is used to find the number of cells which meets a specific criterion.
In the situation given, different criteria are given, and the function finds the number of
cells which meets the critera.
6. CountIFS Function Result: 2, 1
This function is like the CountIF function but in this function, more than one criterion
can be set. It can count cells even if there are different criteria and ranges that the user
requires.
7. SumIF Function Result: $884
The sumIF function is used to add values that meets the criterion given. If the cell is
within the criteria, the values inside it will be added.
8. AverageIF function Result: $295
The averageIF function will find the average of the numbers which meets the criteria.
The values in a cell that meets the criteria will be used to find the average.