If Statment Tasks Part 2 - New Task

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 20

Task 1 - Book Sal

Student Discount
Books Shop Price Student Discount Value
Diary of a Wimpy Kid: Virgin £ 5.50 Yes £ 0.55
Harry Potter and the Sorcerer's Stone Amazon £ 6.00 no £ -
The Heroes of Olympus Virgin £ 4.50 Yes £ 0.45
The Hunger Games Amazon £ 5.50 No £ -
The Maze Runner HMV £ 6.50 Yes £ 0.65
The Book with No Pictures Virgin £ 3.50 Yes £ 0.35
Mockingjay Amazon £ 5.00 No £ -

Count All Books 7 Total


Sales from Virgin 3 Highest
Sales from Amazon 3 Lowest
Sales from HMV 1 Average

Sumif (Final Price)


Sumup total Virgin Sales 12.15
Sumup total Amazon Sales 16.5
Sumup total HMV Sales 5.85 Final Price inc discount
Mockingjay

The Book with No Pictures

The Maze Runner

The Hunger Games

The Heroes of Olympus

Harry Potter and the Sorcerer's Stone

Diary of a Wimpy Kid:

£- £1.00 £2.00 £3.00 £4.00 £5.00 £


1 - Book Sales
Final Price inc 1) Apply Formatting (Apply Borders, shading & format Text (including currency)
discount 2) Use an If Statement to work out the student discount value:
£ 4.95 The student discount is 10% of the price. (True)
£ 6.00 If No discount has been given then the false value is 0 (False)
£ 4.05
£ 5.50 4) Work out the Final Price (Price-Student Discount Value)
£ 5.85
5) Work out the Total, Highest, lowest and average values of the Final Price.
£ 3.15
£ 5.00 6) Use an appropriate count and sumif function to find the values for the cells
shaded in yellow.
£ 34.50 Graph:
£ 6.00 7) Create a simple bar chart showing the final price for each Book. Include
£ 3.15 appropriate titles.
£ 4.93

al Price inc discount


ay

es

es

us

ne

d:

£- £1.00 £2.00 £3.00 £4.00 £5.00 £6.00 £7.00


at Text (including currency)
unt value:

0 (False)

Value)
values of the Final Price.

nd the values for the cells

for each Book. Include


Task 2 - Tv Shows
Final Price inc
Tv Shows Genre Delivery Type Price Delivery Value Delivery
Once Upon A Time Adventure Free $ 12.50 0 $ 12.50
The Walking Dead Horror A $ 13.50 3.5 $ 17.00
Lost Adventure B $ 10.50 4.5 $ 15.00
Heroes Adventure B $ 12.50 4.5 $ 17.00
The 100 Action A $ 11.50 3.5 $ 15.00
Under the Dome Action Free $ 10.50 0 $ 10.50

Total $ 87.00
Count All Tv Shows 6 Highest $ 17.00
Adventure 3 Lowest $ 10.50
Horror 1 Average $ 14.50
Action 2

Sumif (Final Price)


Total Adventure Sales Value 44.5
Total Horror Sales Value 17
Total Action Sales Value 25.5 Final Price inc Delivery

Under the Dome

The 100

Heroes

Lost

The Walking Dead

Once Upon A Time


v Shows
1) Apply Formatting (Apply Borders, shading & format Text (including currency)
2) Use an If Statement to work out the delivery value:

If the delivery type is A than the delivery cost is 3.50 (True)


If the delivery type is B than the delivery cost is 4.50 (True)
If the delivery is free then the false value is 0 (False)

4) Work out the Final Price (Price+Delivery Value)

5) Work out the Total, Highest, lowest and average values of the Final Price.
6) Use an appropriate count and sumif function to find the values for the cells
shaded in yellow.

Graph:
7) Create a simple bar chart showing the final price for each Tv show. Include
appropriate titles.

elivery
Task 3 - Apps
Discount Final Price inc
Apps Category Price Code Discount Value discount
Minecraft – Pocket Edition Games $ 2.50 No 0 $ 2.50
Goblin Sword Games $ 3.50 A $ 1.75 $ 1.75
Sleep Cycle alarm clock Health $ 1.75 No 0 $ 1.75
Afterlight Photo & Video $ 2.80 A $ 1.40 $ 1.40
7 Minute Workout Challenge Health $ 2.25 B $ 1.58 $ 0.68
Videoshop Photo & Video $ 1.75 A $ 0.88 $ 0.88

Total $ 8.95
Count All Apps 6 Highest $ 2.50
Games 2 Lowest $ 0.68
Photo & Video 2 Average $ 1.49
Health 2

Sumif (Final Price)


Total Games Sales Value 4.25
Total Health Sales Value 2.425
Not Games Sales Value 4.7

Final Price inc discount


Videoshop

7 Minute Workout Challenge

Afterlight

Sleep Cycle alarm clock

Goblin Sword

Minecraft – Pocket Edition

$- $0.50 $1.00 $1.50 $2.00 $


s
1) Apply Formatting (Apply Borders, shading & format Text (including currency)
2) Use an If Statement to work out the delivery value:

If the discount code is A than the discount is 5% of the price (True)


If the discount code is b than the discount is 7% of the price (True)
If there is NO discount than false value is 0 (False)

4) Work out the Final Price (Price-Discount Value)

5) Work out the Total, Highest, lowest and average values of the Final Price.

6) Use an appropriate count and sumif function to find the values for the cells
shaded in yellow.

Graph:
7) Create a simple bar chart showing the final price for each App. Include
appropriate titles.

c discount

00 $1.50 $2.00 $2.50 $3.00


Task 5 - Cameras
Final Price inc
Cameras Brand Delivery Type Price Delivery Value Delivery
D3300 Nikon Free $ 450.00 0 $ 450.00
EOS 70D Cannon A $ 400.00 5.5 $ 405.50
EOS 6D Cannon B $ 350.00 8.5 $ 358.50
LUMIX Panasonic B $ 550.00 8.5 $ 558.50
D810 Nikon A $ 350.00 5.5 $ 355.50

Total $ 2,128.00
Count All Cameras 5 Highest $ 558.50
Nikon 2 Lowest $ 355.50
Cannon 2 Average $ 425.60
Panasonic 1

Sumif (Final Price) Final Price inc Delivery


Total Nikon Sales Value 805.5 $600.00
Total Cannon Sales Value 764
Not Panasonic Sales Value 1569.5 $500.00

$400.00

$300.00

$200.00

$100.00

$-
D3300 EOS 70D EOS 6D LUMIX D810
Cameras
1) Apply Formatting (Apply Borders, shading & format Text (including currency)
2) Use an If Statement to work out the delivery value:

If the delivery type is A than the delivery cost is 5.50 (True)


If the delivery type is B than the delivery cost is 8.50 (True)
If the delivery is free then the false value is 0 (False)

4) Work out the Final Price (Price+Delivery Value)

5) Work out the Total, Highest, lowest and average values of the Final Price.

6) Use an appropriate count and sumif function to find the values for the cells
shaded in yellow.

Graph:
7) Create a simple bar chart showing the final price for each Camera. Include
appropriate titles.
Delivery

OS 6D LUMIX D810
ng currency)

nal Price.

or the cells

ra. Include
Task 6 - Tablets
Discount Final Price inc
Tablets Brand Price Discount Code Value Discount
Surface Pro 3 Microsoft $ 340.00 No 0 $ 340.00
Nexus 7 Google $ 370.00 Staff $ 55.50 $ 314.50
Venue 8 Pro Dell $ 450.00 Student $ 45.00 $ 405.00
iPad mini Apple $ 340.00 Student $ 34.00 $ 306.00
iPad Apple $ 450.00 No 0 $ 450.00
Surface Pro 2 Microsoft $ 225.00 No 0 $ 225.00

Total $ 2,040.50
Count All Tablets 6 Highest $ 450.00
Student Discounts 2 Lowest $ 225.00
Staff discount 1 Average $ 340.08
No discount 3

Sumif (Final Price)


Total Microsoft Sales Value 565
Total Apple Sales Value 756
Not Microsoft Sales 1475.5

Final Price inc Discount


$500.00
$450.00
$400.00
$350.00
$300.00
$250.00
$200.00
$150.00
$100.00
$50.00
$-
Surface Pro 3 Nexus 7 Venue 8 Pro iPad mini iPad Surface Pro 2
s
1) Apply Formatting (Apply Borders, shading & format Text (including currency)
2) Use an If Statement to work out the delivery value:

If the discount code is for students than the discount is 10% of the price (True)
If the discount code is for staff than the discount is 15% of the price (True)
If there is NO discount than false value is 0 (False)

4) Work out the Final Price (Price-Discount Value)

5) Work out the Total, Highest, lowest and average values of the Final Price.

6) Use an appropriate count and sumif function to find the values for the cells
shaded in yellow.

Graph:
7) Create a simple bar chart showing the final price for each Tablet. Include
appropriate titles.

iPad Surface Pro 2


Task 7 - Software
Discount Discount Final Price inc
Software Brand Price
Code Value Discount
Photoshop Adobe £ 55.00 No 0 £ 55.00
Word Microsoft £ 34.00 A £ 2.04 £ 31.96
Fireworks Adobe £ 65.00 No 0 £ 65.00
Windows 8 Windows £ 125.00 B £ 12.50 £ 112.50
Dreamweaver Adobe £ 65.00 B £ 6.50 £ 58.50
Excel Microsoft £ 35.00 A £ 2.10 £ 32.90
Powepoint Microsoft £ 25.00 A £ 1.50 £ 23.50

Total £ 379.36
Count All Software 7 Highest £ 112.50
Adobe 3 Lowest £ 23.50
Microsoft 3 Average £ 54.19
Windows 1
Final Price inc Discount
Sumif (Final Price)
Adobe 178.5 £120.00

Microsoft 88.36 £100.00


Windows 112.5
£80.00
Not Microsoft 291
£60.00

£40.00

£20.00

£-
ks r l nt
op or
d
or s8 ve ce oi
osh W w w ea Ex p
ot ire do w w
e
Ph F in m Po
W ea
Dr
ware
1) Apply Formatting (Apply Borders, shading & format Text (including currency)
2) Use an If Statement to work out the delivery value:

If the discount code is A than the discount is 6% of the price (True)


If the discount code is b than the discount is 10% of the price (True)
If there is NO discount than false value is 0 (False)

4) Work out the Final Price (Price-Discount Value)

5) Work out the Total, Highest, lowest and average values of the Final Price.

6) Use an appropriate count and sumif function to find the values for the cells
shaded in yellow.

Graph:
7) Create a simple bar chart showing the final price for each software. Include
appropriate titles.

scount

r l nt
ve ce oi
ea Ex ep
w w
m Po
ea
Dr
urrency)

Price.

e cells

Include
Task 8: Cars
Delivery Delivery Final Price inc
Car Name Brand Price
Type Value Delivery
Land Cruiser Toyota £ 23,000.00 Free 0 £ 23,000.00
Prado Toyota £ 13,000.00 A 150 £ 13,150.00
Path Finder Nissan £ 16,000.00 B 250 £ 16,250.00
Sonic Chevrolet £ 15,000.00 A 150 £ 15,150.00
Murano Nissan £ 12,090.00 A 150 £ 12,240.00
Captiva Chevrolet £ 16,500.00 B 250 £ 16,750.00
xterra Nissan £ 8,000.00 B 250 £ 8,250.00

Total £ 104,790.00
Count All Cars 7 Highest £ 23,000.00
Chevrolet 2 Lowest £ 8,250.00
Nissan 3 Average £ 14,970.00
Toyota 2
Not Toyota 5

Sumif (Final Price)


Chevrolet 31900
Nissan 36740
Toyota 36150
Not Nissan 68050

Final Price inc Delivery


£25,000.00

£20,000.00

£15,000.00

£10,000.00

£5,000.00

£-
Land Prado Path Sonic Murano Captiva xterra
Cruiser Finder
Cars
1) Apply Formatting (Apply Borders, shading & format Text (including currency)
2) Use an If Statement to work out the delivery value:

If the delivery type is A than the delivery cost is 150 (True)


If the delivery type is B than the delivery cost is 250 (True)
If the delivery is free then the false value is 0 (False)

4) Work out the Final Price (Price+Delivery Value)


5) Work out the Total, Highest, lowest and average values of the Final Price.

6) Use an appropriate count and sumif function to find the values for the cells
shaded in yellow.

Graph:
7) Create a simple bar chart showing the final price for each Camera. Include
appropriate titles.

Delivery

onic Murano Captiva xterra


rency)

rice.

e cells

clude
Task 8: Grades
Pupil Name Percentage % Grade Highest % 95
Abdulla 95 A* Lowest % 23
Ahmed 85 A Average % 60.63
Ali 34 Fail
Essa 23 Fail
Fares 54 D
Iker 72 B
Ibrahim 55 D
Khalid 67 C

Count All Pupils 8


A* grades 2
B Grades 1
C Grades 1
D grades or less 4
1) Use a nested if to work out the pupils gradesL

If the percentage is More than or equal to 90 - A* (True)


If the percentage is More than or equal to 80 - A (True)
If the percentage is More than or equal to 70 - B (True)
If the percentage is More than or equal to 60 - C (True)
If the percentage is More than or equal to 50 - D (True)
If the percentage is More than or equal to 40 - E (True)

If the percentage is less than 40 then the false value is "Fail" (False)

4)
5) Work out the Highest, lowest and average grades.

6) Use an appropriate count function to find values for the cells shaded in yellow.

You might also like