inf1060 spreadsheets. making formulas in this module we will use the program microsoft excel like...

42
INF1060 spreadsheets

Upload: theodore-hunter

Post on 19-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

INF1060spreadsheets

Page 2: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Making formulas

• In this module we will use the program Microsoft Excel

• Like your calculator, you can use Excel to perform many mathematical functions as well as organize data

• In this module we will work on some basic activities to get us started, then work on two major assignments.

Page 3: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Command Function^ Exponentiation* Multiplication/ Division+ Addition- Subtraction> Greater Than< Less Than

Page 4: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

More stuff

• Constants are numbers that remain unchanged in the formula. For example, in =2+3 the numbers 2 and 3 are constant. The only way to change this is to edit the formula

• Variables are values with numbers that can vary or change according to how you set them up

Page 5: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Activity 1

• Open a blank excel document• Type in the number 12 in cell B4 and 144 in C4• Click on cell D4• Type =• Type the formula to multiply the two numbers

(B4*C4)• Press Enter• Save it as Activity 1

Page 6: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Activity 2- recreate this tableA B C D

1 Monthly Budget

2

3 Expenses January February March

4

5 Rent 500 500 500

6 Food 235 225 175

7 Phone 62 79 42

8 Utilities 175 203 225

9 Car Loan 350 350 350

10 Gasoline 100 105 120

Page 7: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Activity 2- Next Steps

1. Enter the label “Total Expenses” into cell A112. Type into cell B11: =B5+B6+B7+B8+B9+B103. Press Enter to end the formula. Do this for the other

categories4. Enter the total for cells C5 to C10 in cell C115. Change the monthly food bill for February to 240. See

what happens.6. Save this as Activity 2

• Note: Excel reads equations using BEDMAS

Page 8: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Functions

• There are over 200 functions in Excel. Here are some examples:

• =Average(B6:C6:D6) would calculate the average spent on food in the graph

• =sum(B6:C6:D6) adds them all together

Page 9: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Functions

To enter functions:1. Click the cell where you want the formula2. Type an equal = sign3. Type the function name i.e. Average4. Type in brackets the values you want to use5. Press Enter

Horray! Are you a wizard?

Page 10: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Activity 2-2

1. Open Activity 22. Add the title Quarterly Report in cell C13. Enter the label “Total” in E34. Enter the formula =SUM(B5:C5:D5) in cell E55. Total the other rows6. Save your work, replacing the original Activity

2

Page 11: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Activity 2-3

1. Enter Average in cell F32. Enter Maximum in cell G33. Enter Minimum in cell H34. Enter =AVERAGE(B5:D5) in cell F55. Enter =MAX(B5:D5) in cell G56. 6. Enter =MIN(B5:D5) in cell H57. The values in F5, G5 and H5 should be 500. Do

you see why?8. Save your work

Page 12: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Activity 2-4

• Replace the cell contents of B11 with =SUM(B5:B10)• Edit C11 so it reads =SUM(C5:C10)• Edit cell C1 to read “Quarterly Report 2012”• Edit the Utilities for March to 205• Delete the contents of cells in the range

E6:H10

Page 13: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Activity 2-5

1. Move the contents of cell A11 into A122. Move the contents of cells B11:D11 down to

B12:D123. Copy the formula in cell E5 into E64. Copy the formula in cell E6 into the range

E7:E105. Copy the formulas in the range F5:H5 into the

range F6:H10

Page 14: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

• Label your activity:Lastname.FirstnameSpreadsheet1. Hand it into the INF1050 Folder

Next Activity- Graphs- Activity 3- Is on the next page!This one is for marks!

Hand in this activity(not for marks, just to see how you do)

Page 15: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Use These Fake Hockey Stats – 1 TeamMr. Rattray has terrible hockey knowledge

Page 16: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Creating a Graph

• Simply highlight the information you wish to use. In this case, all of it.

Page 17: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Next stepsGo to the Insert tab and click on column. Select 2-D Column

Page 18: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

• You should have something like this. Move the graph down below and make it bigger.

Page 19: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Adjusting the X-Axis

Double click on the X-axis on the graph

Page 20: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Next Steps

• Adjust the number under Major Unit to Fixedand 10 . See what happens.

Page 21: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

One Set of Data• This time select only ONE set of data and under Insert select a 2-D Bar

Graph for this one set of data. You will have to select the player names as well as. This time, adjust the Axis Major Unit to “1” so that the axis goes 1, 2, 3, 4, 5, 6, etc. instead of skipping numbers.

Page 22: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Two Players

• Select the info for two players:

• Exclude Height and Weight for this selection if it is part of your data.

Page 23: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Select the Area Graph

Page 24: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Put all 3 graphs below the table

• Voila! You have finished the 1st assignment• (this one is for marks)

• Call this assignment Activity 3 and leave it in your INFO folder.

• Email it to me at [email protected]

Page 25: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Main Assignment

• You will get to create your own monthly budget system, using our template

• We are pretending that you are living on your own.

• You will figure out how much extra money you will have left over to spend on other things and how much you can put into your savings.

Page 26: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Main Assignment

• You will have to create specific columns for the things you would spend money on

• Create columns for rent, food, transportation, entertainment, clothing, and miscellaneous

• You will also have a columns for you earnings from your part-time job and a column for the money used from your savings

Page 27: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

How Do I Do This?

Copy this EXACTLY as shown. I had to split the picture in two

Page 28: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

How much you spent on something How much you got

paid or madeYour overall balance

Page 29: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

How much you spent on something How much you got

paid or made=F11-D12+E12

FORMULAS

So this takes your current balance, subtracts the last payment you made (D12), and adds in any money you may have made (+E12) Copy this formula down the column

Page 30: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Keeping Track

If you buy something, record it’s price in the appropriate column.

Record the date and whereabouts of an item you have purchased in this column

Record the amount for the item here as well. This is important because this is for the formula

Page 31: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Keeping Track More

If you take any money out, record this here then put it in the Amount Paid column tooThis is for cheques. Your

rent will have to be paid in cheques

Page 32: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Way Down Low

Make this down at the bottom all the way across to the T Column. The bottomRow that you see is down at Row 123.

We will use this to record what happens at the end of the month

Page 33: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Formulas!Here, use a Summary formula for all of the G columns that are used.

Here, put =N13. Then copy the formula down. The N column is where we record anything put in your savings

This column representsYour budget

This column shows your total expenses

Page 34: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Formulas!

Create a sum of everything used in the R column.

Create a sum of everything in the T column

Page 35: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Details• You work part-time. You are paid every two weeks. You make $500 every two

weeks bussing tables at a restaurant

• You have to pay 60 dollars a month for a bus pass

• You go shopping for food once every week. Each week you spend $66 on groceries.

• Your rent is $480 a month. You have a room mate. It’s too bad they smell like rotten eggs, but at least you are splitting the rent.

• You spend $20 a week on entertainment/ eating out

• Your Shaw phone and internet bill is $70 a month

• You withdraw $20 from an ATM every month for miscellaneous adventures!

Page 36: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Details

• Before you left for the city, you saved $600, but your apartment was unfurnished, so you have to buy a bed, dresser, table and sheets. Figure out how much these cost by going to IKEA’s website or Walmart. Find some cheap stuff!

• This spreadsheet you make will cover 3 months. There will be 3 pages total, one for each month. This will be explained later.

Page 37: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

The Budget• Once you think you know how much everything costs, estimate how

much it will be by putting it in your budget column. Where the Zeroes are in this picture.

Page 38: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Under or Over Budget?

R9- R123

T9- T123

This part of your budget will tell you if you are under or over budget, and by how much compared to your estimates on slide 37.

Page 39: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Starting Next Month

In this cell enter this formula. It will carry over your money from last month. Repeat for the next page with this month.

Page 40: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Life Comes At You Fast!

Include the following in your expenses:• In February you unexpectedly caught fire. You

no longer have a nice pair of jeans and have to buy another. Include $40 in your costs.

• In March you went out with your friends for dinner and spent $50.

• In April you had to take a cab. Add $40 to this month.

Page 41: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Figure Out:

1. How much you have left over in your chequing account at the end of 3 months

2. Your total savings for 3 months

3. How much you spend in a month

4. How much you can budget in each category monthly (the part at the top of the sheet with the categories) without going broke?

5. Assuming your budget is the same for the next 8 months, what will your savings, earnings and expenses possibly look like? Provide an estimate and how you came to your conclusion.

Include this information in a separate Word document to hand in as well. Call your document Lastname.Firstname SpreadsheetAssignment

Page 42: INF1060 spreadsheets. Making formulas In this module we will use the program Microsoft Excel Like your calculator, you can use Excel to perform many mathematical

Save and Hand In!!!

• Don’t forget to make this for 3 months

• Email your assignment to [email protected]

• The end!