Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Exploring Microsoft Excel 2007: A Step-by-Step Guide for CIS 100 Students - Prof. Charles , Lab Reports of Computer Science

A simple, step-by-step guide for cis 100 students on how to use microsoft excel 2007. It covers entering labels, numbers, and formulas, saving and exiting the application, and using basic functions. Students will learn how to navigate the spreadsheet, enter data, and perform calculations.

Typology: Lab Reports

Pre 2010

Uploaded on 08/04/2009

koofers-user-736
koofers-user-736 šŸ‡ŗšŸ‡ø

10 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
!
!
Spelman(College(Department(of(
Computer(and(Information(Science(
CIS100(
Lab(Book(
CIS100:(Introduction(To(Computers(
(
By:( Scott(Anderson(
( Charles(Hardnett(
(
Edited(by:( (Blanche(Bryant((
( ( Iretta(Kearse(
( ( Alfred(Watkins(
( ( Tina(Young(
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Exploring Microsoft Excel 2007: A Step-by-Step Guide for CIS 100 Students - Prof. Charles and more Lab Reports Computer Science in PDF only on Docsity!

Spelman College Department of Computer and Information Science

CIS

Lab Book

CIS100: Introduction To Computers By: Scott Anderson Charles Hardnett Edited by: Blanche Bryant Iretta Kearse Alfred Watkins Tina Young

This lab book contains all the major handouts for the CIS 100 course. There will be other

handouts distributed in class (and also available on the class web site).

The bulk of this lab book contains reference material on how to use the Microsoft

Windows XP operating system to manage your programs and files, and instruction on

how to use the major applications that CIS 100 covers: Microsoft Word, Microsoft

Excel, Microsoft Access, and Microsoft PowerPoint. These manuals are designed for

hands-on instruction: to be read while using the application. You might bring this manual

with you whenever you use the computer, but be especially sure to bring it with you

when your class meets in the Tapley 226 computer lab and it is a laboratory day.

The last Chap of the lab book explains how to do the final comprehensive project in CIS

100. Your grade on the final project is worth one fifth of your grade for the course, so

you should pay careful attention to the instructions and advice we give. Alternative final

projects may be assigned by your instructor.

This document is a work in progress. If you have suggestions for improvements, please

let us know. The course web site is, http://www.spelman.edu/~compsci/cis100/.

5.2 Moving Around

  1. The bulk of the Excel window is a screen with lots of rows and columns, with light gray lines separating the boxes.
  2. Click at a few locations in the table. Notice that the cell that you clicked in is highlighted with a solid black border. That is the selected cell. 25
  3. Every cell has an address. You can tell the address of the selected cell in two ways: (1) The row and column that it is in are highlighted, and (2) the cell address is given in a special area just below the Ribbon menus called the Edit box. See if you can select cell ā€œC9ā€. How about ā€œF7ā€?
  4. You can also change the selected cell using the arrow keys. Try it.
  5. Type your name in cell A1. Press Enter when you are done; that finishes your entry into the cell. You should get in the habit of putting your name in A1 with all your spreadsheets, so that there will never be any question of whose file this is.
  6. Save your change by one of three methods: (1) Choose save , or (2) click the icon that looks like a floppy disk, or (3) use the keyboard shortcut, which is ā€œCtrl+Sā€. (That means to hold down the control key, marked ā€œCtrlā€ on your keyboard, and type an ā€œsā€ The control key is another kind of shift key.) ā€œCtrl+Sā€ is a useful shortcut; use it often.
  7. Use the scroll bars at the right and bottom edge of your screen to move to different parts of the spreadsheet. Notice the changes to the row and column labels. The next column after Z is AA, then AB, and so forth. A Excel spreadsheet can have up to 256 columns and 65,536 rows!
  8. You can go to a particular location if you know its address. Click on Home tab, navigate to the Editing menu and click on ā€œGo toā€ , which has a keyboard shortcut of ā€œCtrl+Gā€. When the dialog box comes up, type in IV65536 as the address to go to.
  9. You can return to the left by using the ( Home ) key. To return to the upper left, use Ctrl+Home. This is just like Word 2007! Note: The best way to work with any application is to make sure you are editing the correct filename in the correct location,(if necessary, use ā€œSave Asā€ to save it to the correct location) and then to use ā€œCtrl+S ā€ to save every so often, depending on how much work you’d like to lose in the event of a catastrophe. 5.3 Labels, Values, and Formulas Now, we’ll begin doing some calculations, which is the whole point of a spreadsheet. But first, we need a little terminology. There are only three kinds of things that can be in a cell in a Excel spreadsheet: (1) a label , which is a piece of text, like a word or a phrase, (2) a number , which we can calculate with, and (3) a formula , which uses the numbers to calculate other numbers.
  10. Go to cell A3 and type the word ā€œBudgetā€.
  11. Now look above the spreadsheet, just below the menu tabs and right of the sign, and you’ll see a box containing the cell contents, which is the word ā€œBudgetā€ This special box is called the Formula Bar. You can edit the contents of a cell by clicking in Formula Bar and editing its contents.
  12. Go one cell down, to cell A4, and type 2007. (Always type ā€œEnterā€ when you are done.) Notice how it doesn’t line up with the word ā€œBudgetā€ That’s because, by default, numbers are right-justified and labels are left justified.
  13. Of course, 2007 is not a number we want to calculate with, it’s just the year, and so we really want it to be a label. To force it to be a label, just add an apostrophe at the beginning. That is, type ā€˜2007. (You can either retype it in cell A4 or you can go up to the edit box and just insert the apostrophe.) Notice that the apostrophe does not show up in cell A4; it only appears in the edit box.
  14. Skip down a few cells to cell A6, and type the following table. The first column is all labels, and should be in column A, rows 6-9; the second column is all numbers, and should be in column B, rows 6- 9. Food 300 Clothing 200 Shelter 700 total
  1. Let’s save our work so far, so that we don’t lose it in the event of a crash. Just type ā€œCtrl+Sā€.
  2. We would like the spreadsheet to calculate the total of the second column. Suppose we did it by typing ā€œ=300+200+700ā€ in cell B9. Try it. What happens?
  3. Sure enough, the correct total is computed. Now, go back to cell B7 and change the clothing amount so that we are spending 250 dollars. Does the total change? Of course not, since it’s still calculating 300+200+700.
  4. What we want to do is tell the spreadsheet to compute the total using whatever number is in B7, plus whatever numbers are in B6 and B8. Go to cell B9 and type the following: =B6+B7+B8. You can use lower case (ā€œbā€) instead of ā€œBā€ if you prefer, but don’t forget the initial equal sign. Again, the correct result is calculated. Go back and change some of the numbers to be sure that the formula always recalculates based on the current cell contents.
  5. Look up at the edit box and see that, even though cell B9 shows the number 1250, the actual contents of the cell is the formula =B6+B7+B8.
  6. What happens if we leave off the initial equals sign and just type B6+B7+B8 into the cell? Try it. Since it starts with the letter ā€œBā€ Excel again assumes that it’s a label (as it did with the word ā€œBudgetā€). Starting the formula with an equals sign tells Excel that we are entering a formula, whether it starts with a number or a letter. ( Note: you can actually start it with any mathematical operator +, - , *, etc. and it will be interpreted as a formula, but equals makes more sense.)
  7. It can be tedious to type cell addresses, so sometimes you just want to click on the cell you mean. Go back to cell B9, type the leading plus sign, then click with the mouse on cell B6. Notice how the cell address is typed for you. Then type a plus sign and click on cell B7. Finally, type the last plus sign, click on cell B8, and hit ā€œEnterā€. This method can be a big advantage for someone who thinks visually, rather than verbally (in terms of cell addresses).
  8. Still, this formula can be improved. This time, type =sum(B6:B8) into cell B9. This formula uses one of the built-in Excel functions. There are literally hundreds of them, which you can see by clicking on an empty cell, then clicking on menu item. formulas Insert Function The part of the formula within the parentheses , B6:B8 ,is a range. The two addresses indicate the upper left and lower right of a rectangular block of cells. In this case, we want Excel to sum the numbers in that range.
  9. Ranges are easy to specify by clicking and dragging the mouse. Let’s type the formula again. First type =sum( then click and drag the mouse from B6 to B8. Finally, type the last parenthesis and ā€œEnterā€. That’s a very easy way to add up a column of numbers.
  10. Try changing the formula to =average(B6:B8). Now you know the average of your budget categories. With functions and ranges, you can do lots of interesting things.
  11. One last formula. First, delete the current formula by pressing the ā€œDeleteā€ key when cell B9 is selected.
  12. Because adding numbers is so common, there’s a special short-cut just for that. Up in the icon bar, you’ll find an icon that looks like. For those who have forgotten their Greek alphabet, that’s a capital ā€œSigmaā€ which is the Greek equivalent of ā€œSā€ and mathematicians use it to stand for summation. So, when you see , think ā€œ sum ā€ With B9 still selected, click on that AutoSum icon in the editing menu. Notice the area that Excel highlights. What formula did Excel put in? Hit ā€œenterā€ to accept the formula.
  13. How did Excel figure that formula out? It looked left and up and decided you wanted to sum the column of numbers. (The same icon also works for rows of numbers.) Excel then collected cells into the range until it found a blank cell. It’s a pretty clever rule, but you should always double-check to make sure the formula does what you want.
  14. Save your changes with ā€œCtrl+Sā€. Typing in labels and numbers is pretty straightforward. The power of a spreadsheet comes from formulas, so practice with them, try lots of variations, and get as comfortable as you can with them.

formula? Go to cell E10 and look at the formula. It’s changed! How?

  1. Where it used to be =sum(B6:B8) it’s now =sum(E7:E9). In both cases, the formula is adding up the three cells just above the location of the formula. In other words, the ā€œB6ā€ in the formula in cell B9 doesn’t really mean B6; it means ā€œthe cell three cells above the formulaā€. When we copied the formula, it still meant that. This is called relative addressing , because the addresses used in the formula are relative to the location of the formula.
  2. Change the ā€œshelterā€ amount in the new table to 800. Notice how the two tables are doing separate Calculations---the two totals are independent.
  3. Let’s begin a new table. This one will be about the credit-card debt that we will rack up while we’re in college. As you know, the interest rate on a card is very important, so let’s make a place for that value. Go to cell A12 and enter the label ā€œInterest Rate:ā€ and in cell B enter the value ā€œ 24%ā€ --yes, type the percent symbol.
  4. Go to row 14 and put in the following column headings: No Month Old Interest Charges Paid new
  5. The leftmost column is just going to be 1, 2,.... That would be tedious to type, but Excel gives us a short-cut. First, put a 1 in cell A15 and a 2 in cell A. These will be the first two elements in our series.
  6. Now, select the two cells with the mouse by clicking and dragging. They should be highlighted in light blue with a black border. There will be a black dot at the lower right corner of the border. This is called the ā€œ fill handle ā€.
  7. Move your mouse over the fill handle. The cursor will change from a thick hollow cross (like the Swiss flag) to a thin solid cross.
  8. Now, click and drag your mouse down the first column. Stop at cell A35 and release. Notice how the area is filled in with the numbers 1 - 21.
  9. The second column is going to be the name of the month, like ā€œSep-2007ā€ , ā€œ Oct- 2002 ā€,.... That would be even more tedious to type than the first one, but you can almost guess what to do. Type ā€œ Sep- 2007 ā€ in cell B15 , then click and drag down the column to cell B.
  10. Navigate to the Editing tab and click on the button; select Series , Month for Date Unit and click OK. Wasn’t that easy? Even better, it’s impossible to make a typographical error.
  11. Now, enter our starting balance for our credit card into cell C15. Let’s imagine that our initial balance is $100, so enter 100 into that cell. Your table should look something like this: No Month Old Interest Charges Paid new 1 Sep- 07 100 2 Oct- 07 3 Nov- 07
  12. Now we’re ready to figure out our interest. The interest rate we entered above (in cell B12) is the yearly rate, so to find the monthly rate, we just divide by 12. This interest rate is multiplied by the balance, to yield the monthly interest amount they will charge us. Enter the following formula in cell D15 (if you want, you can click on the appropriate cells, instead of typing their addresses): =C15(B12/12)* You should get 2 or, in other words, they charge you two dollars to lend you a hundred bucks for a month, at 24 percent per year. Makes sense, doesn’t it?
  13. This first month, our new charges will be $200, so enter 200 into cell E15. Let’s pay off $100 of our charges, so enter 100 into cell F15. Our new balance is simply our old balance, plus interest, plus new charges, minus payment, or: =C15+D15+E15-F You should get 202.
  14. The next row is interesting, because we don’t get to make up the old balance. Instead, it needs to be the same as the new balance on the preceding row. How to do this? Try the following formula: =G This formula just ā€œ forwards ā€ the balance from the preceding row. The equal sign is necessary just so that Excel knows the G15 is a cell address and not a label. Your table should look like: 1 Sep- 07 100 2 200 100 202 2 Oct- 07 202 3 Nov- 07
  15. The interest calculation is just the same, so let’s copy/paste that from the cell above. Does the copied

formula work? Why not? Look carefully at the formula and see if you can figure out why not.

  1. It doesn’t work because of relative addressing. When we copied the formula, it continued to multiply the cell to the left (the old balance in C15) by the cell 3 up and 2 to the left (the interest rate in cell B12). This means the copied formula is multiplying by cell B13, which is empty, and an empty cell counts as zero.
  2. Look at figure 5.1, which gives a before-and- after picture of what happened. Make sure you understand it.
  3. The solution is absolute addressing. When we use absolute addressing, we decorate the cell address with dollar signs to mean ā€œ no matter where I copy this formula, I always mean this exact cell.ā€ Go back to cell D15 , and change it to: =C15($B$12/12)* Now, copy this formula to cell D16. Does it work?
  4. Copy the rest of row 15 down, using click-and-drag to select the row, then copy (Ctrl+C) and paste (Ctrl+V). Your table should look like: 1 Sep 100 2 200 100 202 2 Oct 202 4.04 200 100 306. 3 Nov 1 Sep- 07 100 2 200 100 202 2 Oct- 07 202 4.04 200 100 306. 3 Nov- 07
  5. Now, let’s fill the table in a hurry. Click and drag to select C16:G16 , which have the formulas for October. Press (Ctrl+C) to copy it to the clipboard.
  6. Select C17:G35. Press ( Ctrl+V ) to paste the clipboard into the range. Because the clipboard contains a short row of cells and the destination is a rectangular region, Excel copies the clipboard repeatedly.
  7. To find out the total interest you’ve paid, just sum up column D. It’s easiest just to click on the cell below the column ( D36) and click on the Sigma. You should get just under $530. To find out the total of your charges and your payments, sum up columns E and F. Be sure to save your work regularly with (Ctrl+S). Figure 5.1: Copying a relative address changes the address. 5.6 Exercise In this section, we will learn only a few new things, but we will practice setting up a side-by-side comparison, which is a common and valuable use of spreadsheets.
  8. We will compare two strategies to save for a child’s college tuition. Let’s try to save $50,000 in 18 years; that should be enough to send our kid to an inexpensive public school. The first strategy is very safe; we’ll put the money in the bank and let’s assume we’ll get a 4 percent interest rate. The second strategy is more risky: we’ll put the money in a stock-owning mutual fund^1 and hope to average an 8 percent return. (^1) A mutual fund is like a bunch of people getting together to invest their money. For a stock mutual fund, the fund manager uses the money to buy stock in various companies, and the investors gain or lose money depending on how those companies do. (some mutual funds invest in stocks, others in bonds, others in a mixture, and there are more exotic ones , too.) A mutual fund invests in lots of different

Do the same things for the fund balance. Notice that they both say ā€œ Too Little ā€.

  1. The IF function is a new one for us. It needs three things:
  1. Something to test (must be true or false), 2) a value for when the test is true, and 3) a value for when the test is false. These three things are separated by commas. In this case, the values are just words or phrases in quotation marks (what computer people call a ā€œ string ā€). The test is a comparison between the number in a cell and another number, using the same ā€œ greater than ā€ sign you learned in elementary school.
  1. Now, adjust the numbers in the contribution cells until you can find the smallest contribution that is enough. We got $2102 for the bank account and $ for the fund account. Notice how we have to put away over 50 percent more money if we use a nice safe bank account versus a riskier mutual fund.
  2. Finally, we said that the mutual fund investment was risky. What is our final value if the rate of return is only 6 percent? What if it’s 10 percent? What is our total contribution under each investment strategy? Can you see why spreadsheets are so valuable, once you know how to use them? They can help you make all kinds of financial decisions. Notice, though the importance of our assumptions (such as the average annual return) and how easy the spreadsheet makes it to try different assumption