You are on page 1of 6

Introduction to Excel

Microsoft Excel is a powerful spreadsheet program, composed of a large grid. The grid has rectangular cells arranged in rows and
columns. The table or grid, now much larger than in previous versions, at one million rows by 16,000 columns. Data can be stored in
these cells as Text, Numbers or Formulas. Excel can also help you organize, analyze and attractively present data.

Excel allows you to:

enter, edit and change the appearance of data


calculate and analyze data
create charts using the worksheet data

Excel Advantages:

Data can be entered easily


Changes can be made in individual cells or globally
Formulas can make repeated calculations easy
Recalculation of calculations is automatic
Format and layout can be altered
Graphs are quick
You print out only what you want
Your work can be saved for another time

Excel can be used by:

Industry and commerce for finance, recording and forecast


Homeowners for budgeting, calculations and expenses
Schools for pupil records, timetables or tests and exams
Clubs for membership fees, sports results and records

MS Excel 2007 - Getting Orientated

This section explains the changes between this Excel 2007 and earlier versions.

What's changed
We no longer have a File Menu or Task pane. When you open Microsoft Office Excel 2007 for the first time, you'll notice that it looks
very different from previous versions of Office. That's because it's been redesigned so that the user interface (UI) can make your work
easier, faster, and more efficient. Office 2007 introduces three new features which replace menus, toolbars and the task pane used in
previous versions of Office.

These features are:


The Ribbon

The three parts of the Ribbon are tabs (1), groups (2), and commands (3).

1. Tabs. There are seven basic ones across the top. Each represents an activity area.

2. Groups. Each tab has several groups that show related items together.

3. Commands. A command is a button, a box to enter information, or a menu.

The Mini Toolbar is another time-saving feature, which is initially transparent, however when text is selected, it displays formatting
commands in the actual document, right where you want to use them.

The Quick Access Toolbar

1
Introduction to
Microsoft Excel 2007

Screen Elements

The Ribbon
The Ribbon is designed to help you quickly find the commands that you need to complete a task. Commands are organized in logical
groups, which are collected together under tabs. Each tab relates to a type of activity, such as writing or laying out a page. To reduce
clutter, some tabs are shown only when needed. For example, the Picture Tools tab is shown only when a picture is selected.

Microsoft Office Button


Here you will find the same basic commands available in earlier releases of Microsoft Office to open, save, and print your file.

Quick Access Toolbar


The place to keep the items that you not only need to access quickly but want to be immediately available regardless of which of the
Ribbon's tabs you're working on. If you put so many items on the Quick Access Toolbar that it becomes too big to fit on the title bar,
you can move it onto its own line.

2
Formula Bar PAGE UP Moves one screen up in a worksheet.

A place where you can enter or view formulas or text. SPACEBAR In a dialog box, performs the action for the
selected button, or selects or clears a check box.
Expand Formula Bar Button CTRL+SPACEBAR selects an entire column in a worksheet.
This button allows you to expand the formula bar. This is SHIFT+SPACEBAR selects an entire row in a worksheet.
helpful when you have either a long formula or large piece of CTRL+SHIFT+SPACEBAR selects the entire worksheet.
text in a cell.

Worksheet Navigation Tabs TAB Moves one cell to the right in a worksheet.
By default, every workbook has 3 sheets. You are able to
navigate the sheets by clicking on the sheet tab. Commonly utilized features are displayed on the Ribbon. To
view additional features within each group, click the arrow at
Insert Worksheet Button
the bottom right corner of each group. ( MS Excel Tabs)
Click the Insert New Worksheet button to insert a new
worksheet in your workbook.
 Home: Clipboard, Fonts, Alignment, Number, Styles,
Normal View Cells, Editing
This is the “normal view” for working on a spreadsheet in  Insert: Tables, Illustrations, Charts, Links, Text
Excel.  Page Layouts: Themes, Page Setup, Scale to Fit,
Sheet Options, Arrange
Page Layout View  Formulas: Function Library, Defined Names, Formula
View the document as it will appear on the printed page. Auditing, Calculation
 Data: Get External Data, Connections, Sort & Filter,
Page Break Preview
View a preview of where pages will break when the document Data Tools, Outline
is printed.  Review: Proofing, Comments, Changes
 View: Workbook Views, Show/Hide, Zoom, Window,
Zoom Level Macros
Allows you to quickly zoom in or zoom out of the worksheet.
There are many elements to and excel formula.
Horizontal/Vertical Scroll
Allows you to scroll vertically/horizontally in the worksheet.  References: The cell or range of cells that you want
to use in your calculation
Navigating in the Excel Environment
 Operators: Symbols (+, -, *, /, etc.) that specify the
Below is a table that will assist you with navigating/moving
around in the Excel calculation to be performed
environment.  Constants: Numbers or text values that do not
change
Key Description  Functions: Predefined formulas in Excel
ARROW KEYS Move one cell up, down, left, or right in a
worksheet. SHIFT+ARROW KEY extends the selection of cells Highlighting/Selecting Areas Using the Mouse
by one cell. To Select Cells:Click and drag using the
big puffy cross
BACKSPACE Deletes one character to the left in the Formula
Bar. To Select a Column:
Also clears the content of the active cell. In cell editing mode, Click on the column letter
it deletes the character to the left of the insertion point. To Select a Row:
Click on the row number
DELETE Removes the cell contents (data and formulas) from To Select the Entire Worksheet:
selected cells without affecting cell formats or comments. In Click above row 1 and to the left of column A
cell editing mode, it deletes the character to the right of the Moves a cell’s contents:
insertion point.
Activates the Autofill feature.
END Moves to the cell in the lower-right corner of the window
when SCROLL LOCK is turned on. Also selects the last Entering Text
command on the menu when a menu or submenu is visible. Any items that are not to be used in calculations are
CTRL+END moves to the last cell on a worksheet, in the lowest considered, in Excel’s terminology, labels. This includes
used row of the rightmost used column. If the cursor is in the numerical information, such as phone numbers and zip codes.
formula bar, CTRL+END moves the cursor to the end of the Labels usually include the title, column and row headings.
text. CTRL+SHIFT+END extends the selection of cells to the
last used cell on the worksheet (lower-right corner). If the To Enter Text/Labels:
cursor is in the formula bar, CTRL+SHIFT+END selects all text 1) Click in cell
in the formula bar from the cursor position to the end—this 2) Type text
does not affect the height of the formula bar. 3) Press Enter
ENTER Completes a cell entry from the cell or the Formula NOTE: By default, pressing the Enter key will move you
Bar, and selects the cell below (by default). to the cell below
the active cell.
ESC Cancels an entry in the cell or Formula Bar. Closes an
open menu or submenu, dialog box, or message window. The label actually “lives” in the cell you typed it into, if you
type long text it might
HOME Moves to the beginning of a row in a worksheet. appears to be in multiple columns. It is important to
CTRL+HOME moves to the beginning of a worksheet. understand this concept
when trying to apply formatting to a cell. Using the formula
PAGE DOWN Moves one screen down in a worksheet. bar will confirm where
the label actually “lives.”

3
3) Highlight the cells where you would like to paste the
Autofill formula
Frequently, it is necessary to enter lists of information. For 4) Select Paste button on Home Ribbon in the Editing
example, column headings are often the Section
months of the year or the days of the
week. To simplify entering repetitive or Autosum Function
sequential lists of information, Excel has The most common formula in Excel is SUM, or the addition of
a tool called Autofill. This tool allows multiple values. In this example, we could create a formula
preprogrammed lists, as well as custom lists, to be easily that reads =C6+D6+E6+F6+G6+H6. That’s a lot of typing!
added to a spreadsheet. Some examples of the automatic auto Instead, we can use the SUM function and specify a range of
fill lists are months, days, etc. cells. Functions, as explained previously, are more complex
formulas that are invoked by typing their name. In this
example, we will use the SUM function. Excel has over 200
Entering Values functions that can be used. Because SUM is the most common
Numerical pieces of information that will be used for function, it is the only one with its own toolbar button. A
calculations are called values. They are entered the same way range is a group of cells that are specified by naming the first
as labels. It is important NOT to type values with characters cell in the group and the last cell. For example, A1:D1 is a
such as “,” or “$”. range that includes cells A1, B1, C1 and D1.

To Enter Values: To Create the Total Column’s Values Using Autosum:


1) Navigate to a cell 1) Click in the cell where you would like the Total to be
2) Type a Value located
3) Press Enter 2) Press the Autosum button on the Home Ribbon

Creating Formulas
In order to calculate the values for the remaining rows, we will
create formulas. It is possible to create formulas in Excel
using the actual values, such as “4000*.4.” However, one of
the benefits of using a spreadsheet program is the ability to
create a formula in one cell and copy it to other cells. Most
spreadsheet formulas use a concept called relative referencing.
This is the explanation of relative referencing from Excel’s help
file: “A relative cell reference in a formula, such as A1, is based
on the relative position of the cell that contains the formula
and the cell the reference refers to. If the position of the cell
that contains the formula changes, the reference is changed. If
you copy the formula across rows or down columns, the
reference automatically adjusts. By default, new formulas use The Autosum function automatically looks for cells that have
relative references. For example, if you copy a relative values in them. It will read values until the first blank cell.
reference in cell B2 to cell B3, it automatically adjusts from Autosum will always first look for values in the cell above it,
=A1 to =A2.” It is also important to know the operators Excel then to the left of it. This means that you need to be aware of
uses for formulas: what cells will be in the formula. Autosum will give you the
choice of what cells to use by showing you what it thinks it
should use before completing the formula.
3) Press Enter

Saving a Worksheet
When working in Excel it is necessary to save your files. It is
also very important that while working, your file is saved
frequently. When naming a file, you are restricted to 255
To Create a Formula: characters. Avoid most punctuation; spaces are acceptable.
1) Click in a cell
2) Press the = key To Save the File:
3) Type the formula 1) Select the Office Button
4) Press Enter 2) Select Save
3) Type a file name
Copying Formulas 4) Click Save
Like many things in Excel, there is more than one way to copy
formulas. This class will show you some of the methods; feel Editing Cells
free to choose which one(s) work best for you. Excel provides a major enhancement over earlier spreadsheet
products in its ability to edit cells easily. There are various
methods for cell editing, including double-clicking in the cell,
To Copy Formulas Using Autofill: using the F2 key, and typing in the formula bar.
1) Click in the cell that contains a formula
2) Position the mouse on the Autofill handle (a skinny black To Edit a Cell in the Worksheet:
cross will appear) 1) Position yourself in a cell you would like to edit
3) Click and drag to copy the formula 2) Press the F2 key on the keyboard
3) Use the backspace or delete keys to edit the cell
To Copy Formulas Using Copy and Paste: 4) Press Enter when you have finished editing the cell
1) Click in the cell that contains a formula
2) Select Copy button on Home Ribbon in the Editing Formatting a Worksheet
Section The topics in this section will cover the following:
• Undo
• Clearing Cells
• Formatting Values
• Formatting Labels
• Format Painter
4
• Centering Text Across Columns To Insert the MIN Function into the Worksheet:
1) Click on a cell
Undo 2) Type =min(
Excel and other Windows applications have a convenient 3) Highlight the range of cells to be calculated
method of correcting mistakes known as Undo. In many 4) Type a closed parentheses
applications, including Excel, you can undo an almost limitless 5) Press ENTER
number of commands. The Undo button has a small
downpointing arrow next to it. When pressed, it will display a To Insert the COUNT Function into the Worksheet:
list of actions that can be undone. Redo works in the same 1) Click on a cell
way, allowing you to repeat actions. Excel will undo actions in 2) Type =count(
reverse chronological order, meaning that the most recent 3) Highlight the range of cells to be calculated
command is reversed first, then the one prior to that, and so 4) Type a closed parentheses
on. You cannot reverse an earlier action using Undo without 5) Press ENTER
first undoing the actions that were performed after it.
NOTE: The list of commands to undo is reset after the Function Defined
file is saved. You cannot use Undo to fix an error after To execute a basic descending or ascending sort based on one
the file is saved. column:

To Undo a Command:  Highlight the cells that will be sorted


Click Undo  Click the Sort & Filter button on the Home tab
 Click the Sort Ascending (A-Z) button or Sort
Clearing Cells
As we begin to look at formatting, it is important to understand Descending (Z-A) button
what makes up the contents of a cell. There are three distinct
items that can be in a cell:
• Contents
• Formats
• Comments
These allow items to be formatted properly, even if the values
change. However, when trying to delete or clear a cell, it can
be a bit tricky. Excel stores formats and contents separately,
simply deleting the contents does not delete the format.

Excel Functions
As we have previously seen, the power of Excel lies in its
ability to perfor calculations. The real strength of this is shown
in Functions. Functions are more complex formulas that are
executed by using the name of a function and stating whatever Charts allow you to present information contained in the
parameters the function requires worksheet in a graphic format. Excel offers many types of
FUNCTION DEFINED charts including: Column, Line, Pie, Bar, Area, Scatter and
=SUM(range of cells) returns the sum of the selected more. To view the charts available click the Insert Tab on the
cells Ribbon.
=AVERAGE (range of cells) returns the average of the selected
cells Create a Chart
=MAX(range of cells) returns the highest value of the
selected cells  Select the cells that contain the data you want to use
=MIN(range of cells) returns the lowest value of the in the chart
selected cells
 Click the Insert tab on the Ribbon
=COUNT(range of cells) returns the number of values of the
 Click the type of Chart you want to create
selected cells Basic Sorts

To Enter the SUM Function: Merge Cells


1) Click in a cell
2) Type =SUM( To merge cells select the cells you want to merge and click the
3) Highlight the range of cells that are to be added (The colon Merge & Center button on the Alignment group of the Home
means tab. The four choices for merging cells are:
“through”)
4) Type a closed parentheses  Merge & Center: Combines the cells and centers the
5) Press ENTER contents in the new, larger cell
 Merge Across: Combines the cells across columns
To Insert the Average Function into the Worksheet:
without centering data
1) Click in a cell
2) Type =average(  Merge Cells: Combines the cells in a range without
3) Highlight the range of cells be calculated centering
4) Type a closed parentheses  Unmerge Cells: Splits the cell that has been merged
5) Press ENTER
Align Cell Contents
To Insert the MAX Function into the Worksheet:
1) Click on a cell To align cell contents, click the cell or cells you want to align
2) Type =max( and click on the options within the Alignment group on the
3) Highlight the range of cells to be calculated Home tab. There are several options for alignment of cell
4) Type a closed parentheses
contents:
5) Press ENTER

5
 Top Align: Aligns text to the top of the cell mark wasn’t over 50. If functions have 3 sections with a
 Middle Align: Aligns text between the top and comma between each section as shown below.
bottom of the cell =If(condition to test, answer if condition is true, answer if
condition is false)
 Bottom Align: Aligns text to the bottom of the cell
1) Click in cell G5 and enter the heading Pass/Fail.
 Align Text Left: Aligns text to the left of the cell 2) Enter the following If function.
 Center: Centers the text from left to right in the cell
 Align Text Right: Aligns text to the right of the cell =If(F6>=50,"Pass","Fail")
 Decrease Indent: Decreases the indent between The first part of the formula checks to see if the number in cell
the left border and the text F6 is greater than 50 or equal to 50. The = sign is important.
 Increase Indent: Increase the indent between the If it was left out then someone who scored exactly 50 wouldn’t
be included.
left border and the text
The second section says that if this test condition is true, the
 Orientation: Rotate the text diagonally or vertically text Pass will be displayed for the answer. Note that where
text is used in a formula, it must be enclosed in quotation
Using an If Function marks. The third section specifies the answer (Fail) if the test
If functions can be useful if you want an excel formula to condition is not true.
select from 2 different answers based on criteria you specify. 3) When the If function has been entered, use the fill
In our grades example, we can use an If function to say a handle to copy the formula down to cell G14. There
student has passed if their mark was over 50 and fail if their should be 7 passes and 2 fails.

Lookup Functions

Lookup functions are a bit like an IF function. They allow you to create a formula that will choose from several different answers based
on information in a table. We will use a vertical lookup function to create a formula which checks a student’s mark and shows what
their grade will be.

Vertical Lookup
1) Open the Grades workbook if it is not already open.

The first thing we will need to do is create the table that will contain the grade cut-off points.

2) Click in cell K6 and enter a zero.


3) Complete the information in cells K6 to L10 as shown to the right.
4) Click in cell H5 and enter the text Grade.
5) Click in cell H6. This is where we want the first grade to go.

Like an If function, a Lookup function has different parts. The cell the function is checking, in this case the student
The sections of a lookup function are described below. mark
Lookup value

Table array The cells the answers are coming from - our table of grade
cut-offs

Column index The column in the array that the answer will come from.
In our case, the function will match the student grade with
a number in the first column of the array, then it will check
the second column to find the matching grade, so the
second column is the column index.

Range lookup If the function doesn’t find an exact match in the table
array, putting true in this section will mean that it will use
the closest match instead.

Enter the following formula. =VLOOKUP(


7) Click on cell F6 (the cell with the first student’s mark).
8) Type a comma to end the first section and then select the grades cut-off table (which
should be cells K6 to L10.
9) Press F4 to make sure this section uses absolute references ( $K$6:$L$10). When we
copy the function down for the other students we want to make sure it is still correctly
referring to the cells with the grade cut-off marks.
10) Type another comma and then the number 2.
11) Type another comma and then type true.
12) Type a closing bracket and then press [Enter] to complete the formula. The completed
formula should be =VLOOKUP(F6,$K$6:$L$10,2,TRUE).
13) Use the fill handle to copy the function down to cell H14 so that every student has a
grade.
If your lookup table goes horizontally instead of vertically then you can use a horizontal lookup
function. It works exactly the same except that you type Hlookup instead of Vlookup.
14) Save and close the file.

You might also like