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

Session 4 : Microsoft Excel- Countif and Sumif

1. Regional cokie sale [countif]

2. Property value and commission is given for ghatkopar area [ counif and sumif]
a. Find out Sum of the commissions for property values over 160,000.
b. Sum of the property values over 160,000.
c. Sum of the commissions for property values equal to 300,000.
d. Sum of the commissions for property values greater than the value in D3.

3. Sale of food items of a different categories are given. Find out following things
[food.xlsx]
a. Sum of the sales of all foods in the "Fruits" category.
b. Sum of the sales of all foods in the "Vegetables" category.
c. Sum of the sales of all foods that end in "es" (Tomatoes, Oranges, and
Apples).
d. Sum of the sales of all foods that do not have a category specified.

Countifs and sumifs function

Description

Applies criteria to cells across multiple ranges and counts the number of times all criteria
are met.

Syntax
COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2]…)

SUMIFS function

Description

Adds the cells in a range that meet multiple criteria.

Syntax
SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2,
         criteria2], …)

1) CSS Corp.’s stock is available and now manager is asking you [countifs.xlsx]
a. Count in 2013 how many laptop we had in stock
b. How many pendrives we had between 2009 and 2013.
c. Define the name to product column and find out how many speakers we had
before 2012

2) Use sumif and countif file and find out


a. How many records are there for apples with weight greater than 50
b. Find out how many products are there with weight 54.
c. Total weight of apples, peaches, oranges

3) Use file function countif.xlsx and find out


a. How many males are there in our customer database who are still single
b. How many females are there who are married and have salary >50000
c. How many women are there who are divorced and have kids.
d. Find the total salary of men who are single

4) Use function countif file and find out


a. What is the amount we generated by selling CD ROM in Texas
Find out the number of orders that exceed 1500 for the client Smith. And
then for the clients given in file.
b. Find out the number of orders we got from smith in dec 2008
c. The revenue we received from yang in first six month of 2007
d. What is the amount we generated by selling CD ROM to smith
e. How many CD rom we have sold to Charlton
f. What is the amount of revenue we have generated in texas by selling
products for which unit cost is less than 1.

Match Function

Use MATCH instead of one of the LOOKUP functions when you need the position of


an item in a range instead of the item itself.
Syntax :--
MATCH(lookup_value, lookup_array, [match_type])

MATCH_TYPE BEHAVIOR
1 or omitted MATCH finds the largest value that is less than or equal
to lookup_value. The values in thelookup_array argument must be
placed in ascending order, for example: ...-2, -1, 0, 1, 2, ..., A-Z, FALSE,
TRUE.
0 MATCH finds the first value that is exactly equal to lookup_value. The
values in thelookup_array argument can be in any order.
-1 MATCH finds the smallest value that is greater than or equal
to lookup_value. The values in thelookup_array argument must be
placed in descending order, for example: TRUE, FALSE, Z-A, ...2, 1, 0,
-1, -2, ..., and so on.

Index Function

Left Lookup

4. Use file called left lookup.xlsx and find out

● Which person made sale = 2682


● Who made maximum sale
● Who sold to minimum number of customers

Use left lookup file

You might also like