Upload
nora-chinn
View
214
Download
1
Embed Size (px)
Citation preview
20S Applied MathMr. Knight – Killarney School
Slide 1
Unit: SpreadsheetsLesson: SS-L4 Creating Spreadsheet Formulas
Creating Spreadsheet Formulas
Learning Outcome B-4
SS-L4 Objectives: To create spreadsheet formulas from scratch.
20S Applied MathMr. Knight – Killarney School
Slide 2
Unit: SpreadsheetsLesson: SS-L4 Creating Spreadsheet Formulas
In prior lessons, you used spreadsheet formulas were provided. In this lesson, you will learn how to create formulas for the spreadsheets that you use. Formulas in your science or mathematics textbooks or those that you developed yourself can be rewritten for spreadsheets.
Basic operation commands are as follows:
1. = starts all formulas
2. + adds
3. – subtracts
4. * multiplies (do not use x)
5. \ divides
6. ^ exponent (4^2 means 4² and gives 16), (2^5 means 25 and gives 32)
Theory – Basic Operations
20S Applied MathMr. Knight – Killarney School
Slide 3
Unit: SpreadsheetsLesson: SS-L4 Creating Spreadsheet Formulas
Sample Question – Maximum Area
Example:Write a formula to perform the following:
(a) Add cells B3 and E7 (two ways).
(b) Subtract from 50 the product of cells B1 and C1.
(c) Take the square root of the sum of cell B1 squared and cell C1 squared.
Solution:(a)= B3+E7 or =sum(B3,E7)
(b) =50-B1*C1
(c) =SQRT(B1^2+C1^2)
20S Applied MathMr. Knight – Killarney School
Slide 4
Unit: SpreadsheetsLesson: SS-L4 Creating Spreadsheet Formulas
Example – CFL attendance
Example:The following spreadsheet shows CFL attendance for the five western teams for the months of July, August, and September.
(a) Write formulas that would indicate totals per location and totals per month.(b) Write formulas that would indicate average attendance in Winnipeg.(c) Write a formula that would indicate total revenue for July if B.C. charges an average of $20 per ticket, Calgary $22 per ticket, Edmonton $21 per ticket, Saskatchewan $19 per ticket, and Winnipeg $20 per ticket.
Solution:(a) In cell E2 key in
=sum(B2:D2)E3 =sum(B3:D3)E4 =sum(B4:D4)E5 =sum(B5:D5)E6 =sum(B6:D6)B7 =sum(B2:B6)C7 =sum(C2:C6)D7 =sum(D2:D6)
(b) In cell E6, key in =Average(B6:D6)
(c) In cell B8, key in =sum(B2*20, B3*22, B4*21, B5*19, B6*20)
20S Applied MathMr. Knight – Killarney School
Slide 5
Unit: SpreadsheetsLesson: SS-L4 Creating Spreadsheet Formulas
Example – Rectangle Formulas
Example:Given a rectangle's length and width, write formulas to find its perimeter, area, and diagonal length.
Solution:B4 = 2*B1+2*B2 B5 = B1*B2B6 =SQRT(B1^2+B2^2)