You are on page 1of 8

Last Name Location Pay Grade Salary 1)

Hovey Oshawa 5 $100,000 $8,000


Overton Vancouver 1 $40,000 $0
Fetherston Oshawa 4 $37,244 $2,980
Lebrun Edmonton 3 $80,000 $4,000
Hanson Calgary 4 $65,000 $5,200
Beck Montreal 7 $125,000 $12,500
Simmons Montreal 5 $102,000 $8,160
Akhalaghi Oshawa 2 $36,000 $1,800
Harris Edmonton 1 $22,000 $0
Averages #NAME? #NAME?
1) In cell E2 create a function that gives the employee a bonus of 10% of their salary if t
grade 4 or higher, 5% if they are in pay grade 2 or higher and ($0) for anything else.
2) If their home location is "Oshawa" output "Ontario", if it's "Vancouver" output "BC"
else output "Alberta". Use range names where possible.
3) Repeat question 1 above but this time do it in reverse order (Start with 0 for the
IMPORTANT: bonu
NAMED
NAMED RANGES: Complete the Named Ranges Example (See Below RANGES ARE ABSOLU
B20:F28) and t
C2:C10 and D2:D10. Use the name above the range. Ie B2:B10 would be called Loca
CELL REFERENCES BU
4) Repeat question 1 above but this time use range names wherever THEY WORK LIKE
possible.
RELATIVE REFERENCE
5) Repeat question 2 above but this time use range names wherever possible.
WHEN FORMULAS AR
6) Repeat question 3 above but this time use range names wherever possible.
COPIED

NAMED RANGES EXAMPLE


Student Math Biology Chemistry
John 85 74 71
Lisa 55 66 21
Jill 66 92 91
Simon 44 15 1
#NAME? #NAME? #NAME?
Function Average
=IF(AND(G2>=2, H2>=2),J2*10%,0)
=IF(OR(F2="PT", H2>=2),J2*10%,0)
=IF(H2>=7,10%*J2,IF(H2>=4,8%*J2,IF(H2>=2,5%*J2,0)))
=IF(H2<2,0,IF(H2<4,5%*J2,IF(H2<7,8%*J2,10%*J2)))
2) 3) 4) 5)

Ontario $8,000 #NAME? #NAME?


B.C. $0 #NAME? #NAME?
Ontario $2,980 #NAME? #NAME?
Alberta $4,000 #NAME? #NAME?
Alberta $5,200 #NAME? #NAME?
Quebec $12,500 #NAME? #NAME?
Quebec $8,160 #NAME? #NAME?
Ontario $1,800 #NAME? #NAME?
Alberta $0 #NAME? #NAME?

us of 10% of their salary if they are in pay grade 7 or higher, 8% if they are in pay
and ($0) for anything else.
t's "Vancouver" output "BC" if it's "Montreal", output "Quebec" and for everything

der (Start with 0 for the


IMPORTANT: 1.bonus).
NAMED
Names must begin with a letter, an underscore (_), or a backslash (\)
RANGES
(See Below ARE ABSOLUTE
B20:F28) 2. Names
and thencan't contain
continue spaces
above andand
namemost
thepunctuation characters.
ranges B2:B10,
2:B10 would be called3.Location.
CELL REFERENCES Names
BUT can't conflict with cell references – you can't name a range "A1"
whereverTHEY WORK LIKE
possible. or "Z100".
RELATIVE REFERENCES
wherever possible.
4. Names are not case-sensitive – "home", "HOME", and "HoMe" are all t
WHEN FORMULAS sameARE
to Excel.
wherever possible.
COPIED 5. Make sure the name you use are appropriate and easy to figure out wh
you have named
E
Simple Avg
#NAME?
#NAME?
#NAME?
#NAME?
6) What's really happening?
#NAME? 10% 7 and higher >=7 Everything else VifF
#NAME? 8% 4 5 6 >=4 <7
#NAME? 5% 2 3 >=2 <4
#NAME? 0% 0 1 Everything else VifF <2
#NAME?
#NAME?
When creating a nested if the most important thing to realize is that o
#NAME?
a condition has been met, the function will end.
#NAME?
#NAME?

% if they are in pay =if(logical, value if true, if(logical, value if true…., value if false)

" and for everything

derscore (_), or a backslash (\)


epunctuation characters.
ranges B2:B10,
es – you can't name a range "A1"

", "HOME", and "HoMe" are all the

opriate and easy to figure out what


hing to realize is that once
tion will end.

true…., value if false))


The Seven Dwarfs Mining C
Name Age Mine Level Daily Gold Mined Weapon Drink Level Q1
Bashful 99 5 500 Axe 6 Middle Aged
Doc 122 4 800 Chisel 10 Geezer
Grumpy 111 7 750 Chisel 8 Geezer
Happy 87 5 500 Hammer 5 Young
Sleepy 100 7 250 Axe 1 Papa
Dopey 90 2 150 Hammer 3 Middle Aged
Sneezy 110 3 400 Axe 4 Geezer
Gold Bonus 102.7142857 4.71428571 478.57142857143
$5,000.00
Q1. If they are under 90 years old output "Young", at least 90 but under 100 yrs old output "Middle Aged", at least 100 but un
Q2. If they have a mine level of 3 or under they get a bonus of $500, a mine level of 4-5 and they get a bonus of $1000 and for
Q3. If their daily gold mined is 0-250 display "Slacker!" above 250 and up to and including 400 "OK", above 400 and up to and
Q4. If they have had under 2 drinks (drink level) display the text "Sober", at least 2 but under 4 display "Buzzed", at least 4 but
Q5. If their weapon is an Axe they get a danger pay bonus in cell A11, if their weapon is a hammer they get $2000 for a danger
Q6. Repeat question 1 but this time use a different operator. In other words…do it in reverse order. The Answers should be th
Q7. Repeat question 2 but this time use a different operator. In other words…do it in reverse order. The Answers should be th
Q8. Repeat question 3 but this time use a different operator. In other words…do it in reverse order. The Answers should be th
Q9. Name the following ranges B3:B9 "Age", C3:C9 "MineLevel", D3:D9, "DailyGoldMined", E3:E9 "WeaponYourInitialsHere" i
Q10. Delete the range name called "DeleteMe" and make sure only the names I've asked you to create are in the names mana
Q11. Repeat question 1 but use range names where possible.
Q12. Repeat question 3 but use range names where possible.
Q13. Repeat question 5 but use range names where possible.
Q14. Use an average function in cells B10, C10 and D10 to average the dwarves Age, Mine Level and Daily Gold Mined. Make s

When done, save as FirstNameLastNameLabTen, then submit.


The Seven Dwarfs Mining Company
Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q11
$1,000 Good Drunk $5,000 Middle Aged $1,000 Good Middle Aged
$1,000 PED User Hammered $0 Geezer $1,000 PED User Geezer
$5,000 PED User Hammered $0 Geezer $5,000 PED User Geezer
$1,000 Good Drunk $2,000 Young $1,000 Good Young
$5,000 Slacker! Sober $5,000 Papa $5,000 Slacker! Papa
$500 Slacker! Buzzed $2,000 Middle Aged $1,000 Slacker! Middle Aged
$500 OK Drunk $5,000 Geezer $1,000 OK Geezer

Middle Aged", at least 100 but under 110 output "Papa", and for everyone else output "Geezer".
they get a bonus of $1000 and for everyone else they get the Gold bonus in cell A11.
0 "OK", above 400 and up to and including 500 "Good" , everyone else is "PED User".
4 display "Buzzed", at least 4 but under 8 display "Drunk" and for anything higher display "Hammered".
mmer they get $2000 for a danger bonus and for every any other weapon they get a danger bonus of $0 .
order. The Answers should be the same!
order. The Answers should be the same! DONT FORGET YOUR INITIALS
order. The Answers should be the same!
3:E9 "WeaponYourInitialsHere" ie "WeaponDB", F3:F9 "DrinkLevelYourInitialsHere" and A11 "GoldBonus".
u to create are in the names manager.
Every question must be answered for every dwarf. In
other words you will need to fill your answer down each
column. Remember your absolute cell references when
doing this as they may sometimes be necessary.
evel and Daily Gold Mined. Make sure you use range names.

Seven Dwarfs
ubmit.

Mining Co.
Q12 Q13
Good $5,000
PED User $0
PED User $0
Good $2,000
Slacker! $5,000
Slacker! $2,000
OK $5,000

Marks
2
2
2
. 2
0. 2
1
UR INITIALS 1
1
nus". 2
1
nswered for every dwarf. In 1
d to fill your answer down each
absolute cell references when 1
metimes be necessary. 1
1

arfs
20

Co.

You might also like