Vous êtes sur la page 1sur 6

# ITPR Class Exercises

## 1. Problems: (Absolute cell address) Use file Elbill1.xls

The following table shows details of electricity meter readings for ten different
customers:
ELECTRICITY BILLS
Name
Previous
Present
Sandra Atkins
35839
36852
13538
14011
Anne Browne
20153
20542
Peter Curle
28603
29256
Ken Dobson
32568
33410
Denise Martin
42398
43630
Jean Paget
15644
16731
John Quinn
22715
23510
Jill Shaw
9638
10263
Keith Williams
17988
18346
You must now carry out the following tasks:
1. Add a Units Used column to show the number of units of electricity used by each
2. The cost of one unit of electricity is 4.50(Absolute cell reference).
3. Add a Units Charge column to show the total cost of the units used by each
customer. (Hint: Unit Cost * Units used)
4. There is a standing charge of 150(Absolute cell reference) on each customer's
account.
5. Add an Amount Payable column to show the total amount each customer must pay
the electricity board (Hint: Units Charge + Standing Charge).
6. Format the last two columns to currency format.
7.

2. Langton Breweries Ltd uses barley as the chief raw material in producing a variety
of beers for the home and export markets. The barley, which is purchased from cereal
growers, is graded according to its quality into A, B and C categories.

Use

Barley.xls.
The following table gives the quantity (in tonnes) and respective quality of barley sold to the
company by 12 different cereal growers:
LANGTON BREWERIES LTD
Supplier
J Andrews
L Benson
W Brunell
H Colwell
B Cullen
K Davies
T Dukes
S Freeman

Quantity
87
136
163
48
107
64
82
58

Quality
A
A
C
B
A
B
B
A

O Harris
M Lloyd
R Meegan
J Ward

183
119
76
142

A
A
C
B

The basic purchase price of the barley is Rs. 85 per tonne. In order to encourage the
production of top quality barley, however, the company uses the following
bonus/penalty scheme based on barley quality:
Category A - 10% bonus is paid
Category B - No bonus paid or penalty charged
Category C - 25% penalty is charged
The barley is collected from each supplier by one of the company's trucks. The company charges
a Rs. 2.50 per tonne collection fee.
You are required to carry out the following tasks:
Add 5 new columns to show:
a) The basic price paid to each supplier
b) The bonus paid (if any) to each supplier (Hint: Use IF)
c) The penalty charged (if any) to each supplier (Hint: Use IF)
d) The overall collection fee deducted by the company for each supplier
e) The actual amount received by each supplier after bonuses were awarded, penalties
charged and collection fees deducted.

## 3.The COUNTIF, COUNTIFS- use Rock.xlsx

Suppose I have a list of songs that were played on the radio. For each
song, I know the singer, the date the song was played, and the length of
the song. How can I answer questions such as these about the songs in
the list:

## How many were at least four minutes long?

How many were played after June 15, 2005?
How many were played before 2009?
How many were sung by my favorite singer and were exactly four minutes
long?
How many songs are there which sung by Madonna either 3 minutes or 4
minutes.

## 4.The SUMIF, AVERAGEIF, SUMIFS, and

AVERAGEIFS Functions makeup2007.xlsx

## Im a sales manager for a makeup company and have summarized for

each sales transaction the following information: salesperson, date of

sale, units sold (or returned), total price received (or paid out for
returns). How can I answer the following questions?
How many units were returned?
What is the total dollar amount of sales in or after 2005?

How many units of lip gloss were sold? How much revenue did lip
gloss sales bring in?

## W hat is the average number of units sold in each transaction made by

a specific salesperson?

## What is the total dollar amount of lipstick sold by a specific

salesperson?

5.Vlookup
1. You are thinking of advertising Microsoft products on a sports telecast. As
table.
15
\$12,000
610
\$11,000
1120
\$10,000
21 and higher
\$9,000
you pay \$10,000 per ad. Write a formula that yields the total cost of
2.Use Invoice.xlsx file and generate ACME Widgets Invoice.(use vlookup function)

6.Pivot Table:
1. Contoso, Ltd. produces microchips. Five types of defects (labeled 15)
have been known to occur. Chips are manufactured by two operators (A
and B) using four machines (14). You are given data about a sample of
defective chips, including the type of defect, the operator, machine
number, and day of the week the defect occurred. Use this data to chart
a course of action that would lead, as quickly as possible, to improved
product quality. You should use a PivotTable to stratify the defects with
respect to type of defect, day of the week, machine used, and operator
working. You might even want to break down the data by machine,
operator, and so on. Assume that each operator and machine made an
equal number of products. Youll find this data in the file Contoso.xlsx.
2.You own a fast food restaurant and have done some market research in an
attempt to better understand your customers. For a random sample of
customers, you are given the income, gender, and number of days per week
that residents go out for fast food. Use this information to determine how
gender and income influence the frequency with which a person goes out to

## eat fast food. The data is in the file Macdonalds.xlsx.

Finally, lets get a breakdown of average travel spending by age, for men and
women separately. All you have to do is drag Gender to the Column Labels
zone of the field list resulting in the PivotTable shown in Figure 43-32 (see the
Final Table worksheet).

7.Sorting Data
1.Use Makeupsor ttemp. xlsx file

## I want to sort the data so that:

Transactions are listed alphabetically by salesperson. I want to sort in the
usual A-to-Z order so that all of Ashleys transactions are first and all of Zarets
transactions are last.
Each persons transactions are sorted by product. Thus, Ashleys eye liner
transactions will be followed by Ashleys foundation transactions and so
on.

## For each salesperson and product, transactions are listed by number of

units sold (in descending order).

If a salesperson makes two or more sales of the same product for the same
number of units, transactions are listed in chronological order.

8.Filtering Data
Joolas is a small company that manufactures makeup. Its managers track each
sales transaction in a Microsoft Excel 2013 worksheet. Sometimes they want to
extract, or filter out, a subset of their sales data. For example, they might want
to identify sales transactions that answer the following questions:

How can I identify all transactions in which Jen sold lipstick in the East region?

How can I identify all transactions in which Cici or Colleen sold lipstick or
mascara in the East or South region?

How can I copy all transactions in which Cici or Colleen sold lipstick or mascara
in the East or South region to a different worksheet?

## How do I clear filters from a column or database?

How can I identify all transactions that involved sales greater than \$280 and
greater than 90 units?

9.Frequency Distribution
1. Generate Frequency Distribution Table.
Class Interval
RNO
Mark
Below 35
s
36 50
03101
56
03102
67
51 60
03103
45
61 - 70
03104
35
71 80
03105
78
81 90
03106
90
Above 90
03107
56
03108
54
2. Construct a frequency distribution table for the following selling prices of 15
properties.
6000
38000
43600
31000
39600
44800
37400
31200
40600
34800
37200
41800
39200
38400
45200
Use class intervals 5000 wide starting at 25000.

10.Conditional Formatting
1. The file Test.xlsx contains exam scores for students. The top 10
students receive an A, the next 20 students receive a B, and all other
green, and the C grades in blue.
2. Use timetable.xlsx and highlight the sessions : coursename/faculty.

11.Goal Seek

I am buying 40 pounds of candy. Some of the candy sells for \$10 per pound
and some sells for \$6 per pound. How much candy at each price should I buy to
result in an average cost of \$7 per pound?

12.Data Table
1. SUNRISE ELECTRONIC FIRM has designed a formula for calculating the
total salary of its employees, based on the years of education (High
School Diploma, BS, MS, PhD) and the number of years of experience ( 1
to 15 years). In any case \$1000 would be the base salary.
The total salary is 1000+ no.of years of experience * 50 + no.of years of education *
75
For example, an employee with 5 years of experience and 12 years of education will
make 1000+5*50+12*75 =\$2150.
1. Generate Data Table 1 to calculate Salary based on Experience 1 to 20 years.
2. Generate Data Table 2 to calculate Salary based on Education and Experience :
Experience 1 to 15 years
Education 12, 16, 18, 21 years

## 2. I am going to build a new house . The amount of money I need to

borrow (with a 15-year repayment period) depends on the price for
which I sell my current house . Im also unsure about the annual
interest rate Ill receive when I close . Can I determine how my
monthly payments will depend on the amount borrowed and the
annual interest rate?