MS Excel 2007
MS Excel 2007
Part I
Objectives
When you complete this workshop you will be able to:
What is Excel?
Microsoft Excel is a general-purpose electronic spreadsheet2 used to organize,
calculate, and analyze data. The task you can complete with Excel ranges from
preparing a simple family budget, preparing a purchase order, create an elaborate 3-D
chart, or managing a complex accounting ledger for a medium size business.
1
Adapted from Byte Back’s- Introduction to Excel (http:www.byteback.org)
2
A table of values arranged in rows and columns. Each value can have a predefined relationship to the other values.
If you change one value, therefore, you may need to change other values as well.
5. Toolbars: Standard and Formatting 7. Enter Labels/text in cells
6. Activate a cell so you can edit it. 8. Enter Data/Numbers in cells
9. Undo the last action
10. Save the current document.
11. Recognize different cursors
12. Use the AutoFill cursor—the black plus
13. Automatically add the cells in a range
Note the Letters above each column of the worksheet: A, B, C… Use the Scrollbar at the bottom of the
worksheet to see the single letters turn to double letters: AA, AB, AC…Use the combination “Control +
Home” on your keyboard to return to the beginning of the worksheet. You can also use the arrow keys on
your keyboard to move on the worksheet. Note the Numbers beside each row of the worksheet: 1, 2,
3…Use the Scrollbar at the right side of the worksheet to see the numbers go into the hundreds. Use the
combination “Control + Home” on your keyboard to return to the beginning of the worksheet.
SPREADSHEET BASICS:
You can get help from Excel in learning the parts of the spreadsheet. With the mouse pointer click on the
Help menu, scroll down and click on “What’s This?” The cursor will become a Question Mark and you can
click on any part of the toolbar to learn more about it. Using the Question Mark Cursor, find the Formula
Bar and click on it. Observe the difference between the cell contents and the Formula Bar contents.
TOOLBARS:
Using the View Menu you can turn toolbars on and off. Go to View Toolbars and click on Standard—if the
toolbar was on it will turn it off, if it was off it will turn it on—this is called a “toggle switch.” Turn the
Standard Toolbar and the Formatting Toolbar off and on and observe what is on them—they are very
similar to the Toolbars in Word and elsewhere in the Microsoft Office Suite. You can also turn the Formula
Bar and Status Bar off and on with toggle switches on the View Menu.
The open worksheet has the first names of four people and their birthdays. You are going to substitute
names and birth dates of at least four people from your family or four friends. Click on the cell with the
name, Jane.
NOTE: One click will select the cell and allow you to change the information. A double click will
give you the insertion cursor and you can edit the information instead of completely replacing it.
Type the name to replace this entry. Use the tab key, arrow key, or mouse pointer to go on to the next
column and replace the birthdays. Replace the names and dates in the other rows as well.
NOTE: If you make a mistake, you can use the Undo button just as you did in Word. Or you can
use the down arrow next to the undo button to undo several steps at the same time.
When you have finished entering data and labels, click on the cell B1 to change the Title to match your
entries—Instead of “Birthdays of my Children” you may want it to say “Birthdays of my Family/Friends.”
SAVE AS:
Save your worksheet with your name-Birthdays Use Save As because you see where you are saving.
When the mouse pointer is over a cell, you have the white plus. Left click on the cell to select the cell.
Then move slowly towards the bottom of the cell—the plus will change into a white arrow—at the right
hand corner it will turn into a black plus.
ASPIRA’s CTC – Introduction to Excel Page 4
MOVEMENT CURSOR:
When you see the white arrow you can move or copy data. (Session Three)
AutoFill CURSOR:
When you see the black plus — click down and drag and the contents will be copied—and Excel will try to
fill in want it thinks you want. January will become January, February, March… and 1, 2, will become 1, 2,
3, 4, 5,…
Note to the student: You need a floppy disk to save your work, do lab exercises, and do long term
projects.
Top 5 Favorites—An Excel Table: You are going to make a Table/List of your favorite fruits, first names,
songs, movies, TV shows, tapes, singers etc. Open a new workbook.
TABLE TITLE:
Choose a topic for your table.
In the cell A1, type a title for your table: My Favorite __________ (Singers/TV Shows/Movies)
Format your title.
AutoFill NUMBERS: In the first column, A, skip the first two cells (These calls have the Table Title and the
Column Label for A)
DATA:
Enter the information in column B, and rate them in column C. (Number 1 means your favorite)
SORT:
Select one cell in the Rating column. Use the AZ sort button to sort by your Rating.
SAVE AS:
Save the file as your name-Favorites and bring it to the second session.
In Class Activities:
CELL INFORMATION:
Each cell of the spreadsheet has at least three and often four types of information attached to it. Even a
simple spreadsheet is a complex set of information related by the cell addresses.
To select cells—with the white plus cursor, click and hold and drag to highlight/select the cells you want.
Try it!
1. The Address--The column letter and the row number that identify the current location of the
information.
Click on Cell A2 of the Favorites worksheet. That means Column A and Row 2
2. The Cell Contents visible in the cell--The data that can be seen on the screen in the cell.
You should see part or all of “ID Number”
Column A has a width that determines how much data can be seen in the cell.
3. The Formatting of the Cell Contents--The instructions for formatting the data in the cell.
“ID Number” has formatting that determines it’s font size and face and any special
emphasis.
In the Example file the formatting is Font size = 10, Font Face = Ariel, Emphasis = Bold
Locate the information on the Formatting Toolbar that shows this formatting.
4. The Cell Contents in the Formula Bar—The data including formulas that is located by the cell
address.
Locate the Formula Bar to the right of the equal sign (=), above the column headings
(A,B,C…)
The Formula Bar will show all the content, even if the cell itself did not. You should see ID
Number.
The Formula Bar will show any formulas that were used to get the information in the cell.
Arithmetic formulas: = 5+2
Formulas using Addresses: = B1+B2 +B3 = Sum(B1:B3)
Formulas using Addresses for linked data—not in Introduction to Excel.
Formulas using Names Ranges—not in Introduction to Excel
DELETING COLUMNS/ROWS
“What’s This” to EXPLORE BUTTONS: With the mouse pointer, click on the Help menu, scroll down and
click on “What’s This?” The cursor will become a Question Mark and you can click on any part of the
toolbars. Use this to learn about two buttons: Merge and Center, and Format Painter.
Format Painter:
The button looks like a paintbrush—you may already know it from Word.
Use What’s this to help you learn how to use it.
Change the formatting on one of the column labels in the Table of Fruits.
• Double click on Format Painter -- use it to change the formatting on the other column
labels.
• Format Painter does not change case.
• Format Painter does not copy margins—or at least not consistently!
• Format Painter does change alignment, font face, font size, and emphasis
Change formatting in your Favorites file and use Format Painter to copy the formatting.
In Class Activities:
TEXT, NUMBERS, AND FORMULAS:
When you type letters, Excel assumes that you are typing text unless you tell it otherwise. And when you
type numbers, Excel gives them the arithmetic value. Excel also recognizes date formats. The Problem
comes when you want to use letters to refer to addresses, formulas, or variables. Then you have to use
the Formula operator which is the equal sign.
= Operator: Type the equal sign first and Excel knows that whatever follows will have either a
numeric value, or be an address containing a numeric value. You can also use variables—
in Excel they are either Named Ranges or Labels. Example: =B1 means put in the value
that is in the cell with the address of column B and Row 1
The Formula Bar: Locate the Formula Bar to the right of the equal sign (=), above the column
headings (A,B,C…) The Formula Bar will show any formulas, address, or variables used to
get the information in the cell.
RANGES:
A range is a rectangle of one or more cells on the spreadsheet. A1:A1 is the cell A1
• Much of the work done on spreadsheets is done on ranges—formatting, applying functions, etc.
• The colon separates the two corners of the range—usually upper left and lower right.
Range notation is rectangular.
The rows have an equal number of cells and the columns have an equal number of cells.
The two addresses are an upper corner and the opposite lower corner separated by a colon.
A1:C4 means include all the cells in the rectangle with those corners.
It would include: A1, A2, A3, A4, B1, B2, B3, B4, C1, C2, C3, C4
Each row has 4 cells and each column has 3 cells.
You can delete the contents using the keyboard by typing delete.
You can delete the contents using the menu, Edit Clear Contents
Select the numbers from 1 through 5. Delete the numbers 1-5
CHANGING THE RANGE: Note: If the cell is blank, Excel defaults the value to zero.
• Change the Range by Typing: Click on the cell with the Sum.
• In the formula bar--Select the Address you want to replace and type over it.
(Note: If you double click you can edit the cell itself)
• Change the range to include the numbers 6-10 Then use undo and use the next method.
• Change the Range using the Mouse: Click on the cell with the Sum
• In the formula bar—select and delete the Range. You will have empty parenthesis.
• Using the mouse, select the range that you want. Type Enter.
(Note: If you double click you can redo the range in the cell itself)
EDITING FORMULAS:
You can edit any part of the formula—the numbers, the addresses, and the operators. Click on the cell to
edit in the Formula Bar. Double click to edit in the cell itself.
EXCEL HAS MANY METHODS TO DO THE SAME THING: Open the file TwoPlusTwo.xls
Practice adding 2 plus 2 in using the different methods.
SHOPPING LIST PROJECT I: You will use this file in session 4-6.
• Make an Excel list of 10-15 items that you regularly buy at the Market. Save As yourname-
Shopping List
• Have column labels that include the following: Fill in the size and price/unit.
Item # Regular Purchases Size of Item Price/unit Quantity Cost
Objectives:
In Class Activities:
MICROSOFT CLIPBOARD:
It retains data that has been Copied or Cut until new information is copied or cut.
Move:
When you see the white arrow, click down and drag—the contents of the cell can be moved to an
empty cell or replace the contents of a cell. Try it.
1. In the Shopping List worksheet, add a column heading in the column to the right of Cost.
2. Type the column label, Type of Goods.
3. You don’t want this to be the last column—so try and move it to the right of Price/unit.
You should get a warning that says “Do you want to replace the contents…”
Choose cancel—or if you said OK use the UnDo button.
In Excel you have to make room for the data you wish to move. (In Word Tables you can
move a row or column and the application will make room for the new data)
4. Place your cursor in the column labeled Quantity and use Insert Column.
5. Now move the column heading to the new space.
6. This does not seem like the best place for the information—it separates data that you will
want to use in computation. Move the information to the right of Regular Purchases. Delete
the extra column
Copy:
When you see the white arrow press and hold the control key while you click down and drag-- the
contents of the cell can be copied to an empty cell or replace the contents of a cell. Try it.
ASPIRA’s CTC – Introduction to Excel Page 13
Use this method to fill in the column Type of Goods with categories such as: Paper Goods, Drinks,
Food, Bread Products, Other. (You may use these or make up categories that make sense to
you.)
COPYING FORMULAS:
Excel takes most of the work out of copying formulas. Once a formula is correctly entered, it can be
copied and Excel will alter the addresses within the formula. If you understand how Excel will change the
addresses, you can work more efficiently.
• Click on the first cell in the column labeled Cost.
• Type in a formula to multiply the Price/unit times the Quantity, and type Enter.
For example: = D2 * E2
• With the cell selected, change to the AutoFill cursor and copy the formula down the column.
• Look at the formulas in the cells below the first cell—see how Excel has changed the addresses.
RELATIVE ADDRESSING:
You have just used what is called “relative addressing” to complete the formulas for the row. For each row,
Excel copied the sum of the two columns in that row which was the intention of the formula in the first row.
If you copy the formula below the table Excel will still change the formula to add the two columns—the
results will be zero, since the default value in blank cells is zero.
In the above example, Excel did not really use addresses—what it used is relative positions. Excel read
the formula as add the two columns to the left. This intention is what was copied rather than the actual
formula—that is why Excel could provide the right addresses.
List size and location: Avoid having more than one list on a worksheet. Some list management features,
such as filtering, can be used on only one list at a time. Avoid placing critical data to the left or right of the
list; the data might be hidden when you filter the list.
Leave space around a list: Leave at least one blank column and one blank row between the list and other
data on the worksheet. Excel can then more easily detect and select the list when you sort, filter, or insert
automatic subtotals.
Do not leave space within a list: Avoid putting blank rows and columns in the list so that Microsoft Excel
can more easily detect and select the list. When you separate labels from data, use cell borders--not blank
rows or dashed lines--to insert lines below the labels. Don't use a blank row to separate column labels
from the first row of data.
Row and Column Contents: Design the list so that all rows have similar items in the same column.
Cell Contents: Don't insert extra spaces at the beginning of a cell; extra spaces affect sorting and
searching.
Some numbers are counting numbers and some represent money—they need to be formatted differently.
To format a column of numbers, you can click on the letter at the head of the column.
• First format the counting numbers.
• Select the column labeled Quantity On the format menu choose Format Cells Number.
• Then in the dialog box choose 0 for the number of decimal place.
• Select the column labeled Price/Unit. Repeat the formatting but choose 2 decimal places.
• Select the column labeled Cost and format it for 2 decimal places.
According to the above guidelines the new list (also called Table) should not be on the same worksheet—
but it can be in the same workbook.
For this session lab project we will insert and name worksheets. Then we will copy data from the
original worksheet to make new ones for each category in Type of Good on the original list.
INSERTING WORKSHEETS:
On the Insert menu, choose Insert Worksheet. A new Worksheet Tab will appear.
NAMING WORKSHEETS:
MOVING WORKSHEETS:
SHOPPING LIST PROJECT II: You will use this file in sessions 5-6.
• To sort a well defined list—first select ONE cell of the list, or the whole list.
(If you choose a column, it may just sort that column!)
Objectives:
In Class: Open your file yourname-ShoppingList-2 or if you do not have it open ShoppingList-2-Done
SIMPLE FUNCTIONS:
The SUM button uses the function SUM (range). The formula for an Excel function is a keyword then a
set of parentheses with one or more values called “arguments” to be provided by the user. In this case it
is the range for the sum—the addresses for the cells that are to be summed.
USING A FUNCTION:
There are three general ways to call a function (Plus the button for SUM)
1. A function may be typed in from the keyboard.
• Type the keyword in lower case, then a parenthesis, then the needed values, then hit
enter. If your typing is correct, Excel will make the keyword uppercase and provide the
closing parenthesis.
• Place your cursor under the Cost Column, type in the function SUM. Enter the range
with the mouse.
2. A function can be called from the Menu: Use Insert Function, choose the function and supply
the range.
UnDo the SUM function for Cost and redo it using this method.
3. A function can be called from the Toolbar: Click on the equal sign = on the toolbar, just above
the worksheet area. This gives you the Formula Palette to enter and edit formulas.
• The Formula Palette displays the name of the function, each of its arguments, a
description of the function and each argument, the result of the function, and the result
of the entire formula.
• To get more information click on Help What’s This and then click on the = sign,
• UnDo the SUM function for Cost and redo it using this method.
CUSTOM HEADER:
• Open the Header using the menu: VIEW Header and Footer
• Hit the Tab Key twice to see the arrows that show the placement of the Tabs
• The positions for text are preset at Left, Center, and Right.
• Type your Name in the Left, Tab to the Center and Type: Introduction to Excel.
• Tab to the Right and use the Date Stamp Button in the Header/Footer Dialog Box. (The calendar)
• Type Enter to end the line with a Hard Return, type Enter again to skip a line.
• Click on the Close Button of the Header/Footer Dialog Box: Observe the Header--what happens?
• Click on the File Menu: Select Print Preview to see your Header.
• Observe the Header text--what happens. Use the Close button to go back to the Normal View.
PRINT: Check Print Preview first so you do not print junk and waste paper!
Choose File Print and answer “Print What” in the dialog box—the choices are:
• Print Selection—what you have highlighted
• Print Entire Workbook—the whole file
• Print Active Sheet—the sheet that is worked on—
• Choose Print Active Worksheet--