Getting Started With Excel 97 GS3 August 1999
Getting Started With Excel 97 GS3 August 1999
Getting Started With Excel 97 GS3 August 1999
Alignment
AutoFill
AutoFormat
AutoSum
Charts, creating and editing
Column widths, adjusting
Copying cells
Deleting data
GETTING
STARTED
Do's and Don'ts
Filtering
Excel is the
Formatting
leading software for
Forms
all spreadsheet work.
Formula Bar
This document
Formulae
provides an introduction
Functions
to using Excel 97 on the
IF statements
computer networks at
Sheffield Hallam University,
Inserting cells
or on your own computer. Most
Lists
features described here work just
Numbers, formatting
the same way in Excel 2000.
Printing
Protecting
Some familiarity with Windows 3
or Windows 95/98/NT is assumed.
Sorting lists
Worksheets
More
Corporate Information Systems
Contents
Introduction................................................................................................................1
Basic operations.........................................................................................................2
Opening screen 2; Online help; Managing your files 3
Windows NT, Word 97, Excel 97, Access 97 and Office are trademarks of Microsoft Corporation in the United States and/or
other countries. Screen shots reprinted by permission from Microsoft Corporation.
Introduction
Excel is now the "office standard" spreadsheet software,
and it's also an exciting piece of software to come to grips
with. This document helps you to get started in Excel 97 part of
the Microsoft Office 97 software suite, which also includes Word,
Access, and Powerpoint. Separate SHU Getting Started documents
are available for these.
An electronic spreadsheet makes any work involving rows or
columns of numbers many times easier. As soon as you change any
numbers on your spreadsheet, calculations which use those numbers
will be automatically updated. You can apply your own formulae, or
select from Excel's wide range of built-in functions. You can
automatically generate charts in a variety of formats from data in an
Excel spreadsheet, and your chart will automatically update when
you change your spreadsheet data. Excel also provides the tools for
simple database-style work with lists, but use Access where you need
more sophisticated tools for handling and querying databases.
Before you start to use Excel 97 or any other Windows software
application, you should have a reasonable understanding of:
How to use a mouse: to double-click, and click and drag.
How windows work closing, minimising, and moving
between them.
Basic concepts of drives, folders and file
management. If your spreadsheet files include a lot of
graphics, it's also important that you should understand about
file size issues, and the particular problems of working from
floppy disks.
The companion document Windows 95/NT: Getting Started should
help you with these.
Life will be easier for you if you are already familiar
with word processing in Word, before moving on to
spreadsheet work. Microsoft have designed all the Office
97 applications so that they are as similar as possible.
Common menu items will be found in the same place; the
toolbar buttons for formatting text and data are the same; text
and data are edited, cut and pasted in the same way, and the
same drawing toolbar is available to add graphic effects.
Before you use Excel 97 at SHU, you should be familiar with
the Site '98 setup, and procedures for using computers here. See the
separate reference sheets.
All Computer Services workstations at SHU now run
Excel 97. You shouldnt have any difficulty opening a file
created in earlier versions or from other popular spreadsheet
software. See page 3. Excel 2000 files can be moved to and
from Excel 97 without requiring any conversion.
Introduction
Basic operations
Load Excel. On SHU's computers, you'll find it at the top of
the Start menu.
When Excel has loaded, it automatically opens a new workbook,
with a worksheet open ready for you to use.
Any Excel file is a workbook. Think of this as an electronic ring
binder where related worksheets are filed together. The worksheet is
like a massive piece of paper where you can set out your work. You
can have different spreadsheets and charts on different worksheets or
on different parts of the same worksheet, as you prefer. You only see
a small part of the available worksheet area on screen.
You'll notice that if Excel opens with the workbook window
maximised, it doesn't look quite like the illustration - you won't see a
separate file window inside the main Excel window. The toolbars
you see may also not be exactly as illustrated here they can be
customised to suit different users' preferences.
Familiarise yourself with the menu, toolbar, and window
controls at the top of the screen:
Title bar shows name of file
you're working in.
Excel minimise button reduces Excel to an icon in the Taskbar at the bottom
of the screen. Click there to bring Excel back to life.
Excel close button
exits from Excel.
File minimise/size/ close
buttons affect only the
currently active workbook
window within Excel.
Menu bar
Formatting toolbar
Move the cursor slowly over the toolbar buttons. A yellow tool
tips box pops up to describe the function of the tool which the
cursor is currently resting on.
The worksheet is divided into rows and columns: each box formed
by this grid is called a cell. To enter data in a cell, you select the cell
by clicking in it. The active cell is the one you have currently
selected. It will be surrounded by a thick black border. The cell
reference consists of its column and row address: for instance, A1.
The sheet tabs at the bottom of the window let you move quickly
from one worksheet to another within your current workbook. For
easier reference, you can give each worksheet within your workbook
file any name you want. Beneath this, the status bar often provides
useful information relating to your current action.
You only need to single-click on toolbar icons. Don't
double-click this may cancel out the command, or make
something happen twice. (Especially boring if saving to a
floppy disk you're likely to have a long wait!)
Basic operations
Online help
The main source of online help Microsoft offers is the
Office Assistant. In the standard Office 97 setup, the Office
Assistant is always on screen, but at SHU it's kept switched off until
you choose to use it.
To switch on Office Assistant:
In the Standard Toolbar, click the Office Assistant icon.
To close Office Assistant:
Click the X icon at the top right of the assistant box.
Sometimes you need to make a choice from the options Office
Assistant displays before you can close it.
File conversion:
You can easily convert files to
Excel 97 format from Lotus 12-3, Microsoft Works, dBASE,
and Quattro Pro, as well as
earlier versions of Excel. You
can even convert table
layouts from HTML. If you
want to convert multiple files
at the same time, Excel has a
special File Conversion
Wizard for this purpose. This
is an add-in: on your own
computer, you may need to
load it before you can use it.
In the Help Index, look up File
Conversion Wizard. See
page 30 for more about
moving data between
different software.
Basic operations
Formula Bar
Now type in the rest of this little table to look like the example on the
left, but dont type anything in cell C6 yet.
Use tab; the arrow keys; or click with the mouse,
to go to the next cell you want to enter data in.
In cell C6, you need to enter a formula you want
Excel to calculate the number of rows multiplied by the
number of columns. This is entered as: =C3*C4
Always begin a formula with the = sign.
Autofill cursor
MONDAY
Type the whole main heading into cell A1. After formatting the whole of column A as you
require for your row headings, come back to adjust the heading format, then select cells
A1:E1 and centre the heading across them.
Select, then Do
Column
address
bar
Row
address
bar
The general rule when you want to format, change, move or use data
is: Select, then Do. Selected items appear highlighted on screen,
except for the active cell, which remains white even when selected.
To select just one cell: simply click in it.
To select a range of cells: click and drag over them.
To select an entire column or row: click on the row number or
column letter in the address bar.
To select non-adjacent cells: hold down the Control key
(bottom left of keyboard) while you click each one.
To select everything in the worksheet: click the Select All
button in the top left corner of the address bars.
Left
Align
Centre
Right
Align
Adjusting column width to suit your data will often be necessary. For
instance, to change the width of column A:
Position your mouse cursor on the dividing line between A
and B on the column address bar.
When the cursor changes to a "double arrow" shape:
Click and drag until the column is the width you want.
You will often want to adjust a columns width after you have typed
in data, to fit the longest entry. Excel can do this automatically:
To autofit a single column: position the mouse cursor as above,
then double-click when it changes to a double arrow.
To autofit all columns: select the columns, making sure that
any main headings which you want running across multiple
columns aren't included in the selection. From the Format
menu, select Column, then Autofit Selection.
To adjust row height click and drag between address bars as
for columns. Select all first if you want adjustments to apply
to all rows in the spreadsheet.
Deleting data
If you simply want to clear the contents of a cell or cells and leave
them empty, select then press the keyboard Delete key. Where you
want cells and not just their contents to be deleted:
Select what you want to delete.
Click on the right mouse button.
A shortcut menu should now appear. It may not be quite the same
as the example: some menu items are context-sensitive. Note the
difference in Cut, Delete and Clear Contents:
Cut in Excel is mainly used when you want to move cells. See
the next page.
Delete deletes full rows, columns, or selected cells, and
moves the adjacent cells on the worksheet up or across into the
vacated space. When you choose Delete from the menu, the
Delete dialog box will pop up. Select the option you want..
Clear Contents blanks the selected cells, but leaves them in
position exactly like the keyboard delete key.
Copying cells
Select the cells you want to copy, then click the Toolbar Copy
button. Or, select Copy from the right mouse button menu.
A shimmering box will appear around the selected cells.
1. Click in the cell where you want the top left item in your
copied block to be placed.
2. Press Enter; or select Paste from the toolbar or right mouse
shortcut menu.
The shimmering box shows
that Excel is waiting for you
to specify where you want
the selected data copied to.
Moving cells
If you want to move cells to a new position within
your spreadsheet without replacing existing data,
you'll first have to make the space to receive the data
by inserting cells as described above.
To move cells short distances, it's easiest to use drag and drop.
Select the cells you want to move, then point the mouse
cursor at the border of the selection it will change from a
cross to an arrow shape, as illustrated.
Click and drag with the mouse to move the selected cells to
their new position.
If you're using more than one worksheet in your workbook and
want to move cells between them: hold down the Alt key
while you drag. Drag over the worksheet tabs until the one
you want is highlighted, then drop at the position you want.
Drag and drop can be difficult if you're moving cells a long way
across your worksheet if so:
Select the cells you want to move. On the toolbar, click the
Cut button. Or right-click with the mouse to select and bring
up the shortcut menu all in one go, and choose Cut from there.
Now follow the same procedures as when copying (page 8) to
paste the selected cells to a different position.
Naming worksheets
By default, worksheets are named Sheet 1, Sheet 2 etc. To supply
names of your own:
1. Double-click on the tab for the worksheet you want to rename.
2. The name currently on the worksheet tab will be highlighted,
waiting for you to type in your replacement.
10
Bold
Italic
Underline
Formatting numbers
Currency
Commas
Percent Decrease/increase
decimal places
There are a variety of ways you may want to format numbers: with or
without currency signs, decimal places, commas between 1,000s and
so on. Excel also lets you apply a range of specialist formatting.
The commonest number formatting types can be applied to selected
cells straight from the toolbar. These aren't on/off buttons to
reverse their effects, Undo straight away or Format Cells as below.
A much wider range of formatting options is available from the
Format Cells dialog box than from the toolbar:
Select the cells you want to format, then right-click on
the mouse.
In the Shortcut menu which appears, click Format Cells.
The Format Cells Dialog box will open. If necessary, click
the Number tab, and browse through the available formats
and settings to find what you want.
Press OK to select, or Cancel if you were just looking.
11
Using AutoFormat
Excel makes a variety of predefined formats available:
Select the spreadsheet area you want formatted.
Select Format from the Menu Bar, then AutoFormat.
Choose from the set styles: the effects are shown in the
Sample box.
Warning: It is possible
that "Not enough memory"
problems may arise when
using AutoFormat. This is
especially likely if there
are charts within the
worksheet area you have
selected for formatting.
12
Use the Undo button straight away if you decide you dont like the
effects of the AutoFormatting. Note that you can pick and choose
which elements of an autoformat you want to use:
In the AutoFormat box, click on Options.
Set the Formats to Apply checkboxes as required.
13
14
Specialist functions
To use a specialist function, or if you want to browse through the
functions available:
In the Toolbar, click on the Paste Function tool.
The Paste Function box will appear.
Select the function type you want from the
Function Category list, then select from
Function Name. The notes at the bottom of the
window tell you what the highlighted function does.
If you choose the Most Recently Used Function
Category, youll find the most commonly used functions,
including average, mimimum, maximum etc. (If you
were using Excel on your own computer for specialised
purposes, this list would automatically expand to include
your personal favourite functions.)
15
IF Statements
You will often want to make a calculation on data held in your
spreadsheet only if certain conditions apply to it.
In the example, the company director pays an efficiency
bonus if staff manage to keep their overheads to less than
500 a year. Total overheads are given in cell B12.The
amount to be paid will be 500 less the total overheads
incurred. Nothing is paid if overheads total 500 or more. The
IF statement formula generates the value for cell B14.
IF statements are always structured as follows:
=IF(condition,value if condition true,value if false)
The condition in the example is "B12 is less than 500"; value if true
is "500 minus B12"; value if false is zero.
Always make sure that the brackets and the comma
separators are positioned correctly in your IF
statement. And dont forget that, like all formulae,
an IF statement must begin with an = sign.
You may find it helps to use the Function Wizard for
constructing IF statements. It will show you the results
of your conditions while you're entering them.
Displaying Formulae
By default, the results of your formulae will be displayed in the
spreadsheet cells, rather than the formulae themselves. You'll only be
able to see formulae one at a time in the formula bar, when the cell to
which it applies is active. It can often be useful to view all the
formulae you're using on a spreadsheet at the same time.
From the Tools menu, select Options.
Records
17
Before you can use a form, you need at least one sample row in your
list. Excel will interpret what you want most satisfactorily if you
have first set up your column headings in the top row of your list, set
your column widths appropriately, and entered a sample record.
Click anywhere in your list. Make sure you haven't
got multiple cells selected for instance an entire row
or column. Things won't work properly if you have.
From the Data menu, select Form.
What you now see should look like the illustration.
Click on New to add another record to your list.
Use the Tab key, or click with the mouse, to move
between fields.
Use the Scroll Bar, or Find Previous and Find
Next, to move through your records.
Click on Criteria to filter out records meeting specific
conditions. In the illustration, criteria have been set to pick out
all entries whose age is less than 50 and who live in Sheffield.
Excel provides plentiful online help for learning
about its list handling features. From Help Contents,
select Managing Lists.
18
19
Basic concepts
Chart Wizard needs two things to do its job properly:
Numbers for plotting.
These will be contained in one or more rows or columns of
your spreadsheet. Each row or column of numbers for plotting
is known as a data series.
Text (or numbers to be treated as text) for labels or "legends"
the text which appears along the axis, and/or in a chart key.
YEAR
1991/2
1992/3
1993/4
1994/5
1995/6
TOTAL
WOMEN
NOT WHITE
MATURE
20
TOTAL
WOMEN
1991/2
1992/3
18680
20275
7876
8722
1993/4
19183
1994/5
1995/6
1996/7
22321
1997/8
22531
Try this out by selecting the data for a chart to show the
proportion of mature students at SHU between
NOT WHITE MATURE
1991 and 1997.
1593
1682
9262
10253
8038
1680
9607
21868
9267
1908
11786
21532
9186
1956
13360
9858
2310
14143
10289
2572
15274
21
22
23
24
25
26
What you see on screen will be the first page of your printout.
Check that the page looks as you expect. Look at the bottom
of the preview window to check that the printout will consist
only of the number of pages you anticipated. If columns or
rows are overflowing onto extra pages, you'll need to use Page
Setup to switch page orientation and/or scale to fit.
Look at the controls at the top of the preview window:
Use Next and Previous to move between pages. You can
also do this with the Scroll bar on the right of the window
the display at the bottom of the window tells you what page
number you've got to.
Zoom takes you between a whole-page view, and homing in
on a particular area. Click while the mouse cursor is a
magnifying glass shape to home in, and click again to return
to the whole page view.
The Print button takes you straight into the Print dialog box
make sure you've got everything as you want first.
Setup opens the Page Setup dialog box. See the next page.
Click on the Margins button if you want to alter these from
Print Preview. When the black margin handles are visible,
click and drag to reposition them. Note that you can change
column widths from here too. Changes you make to margin
and column settings from Print Preview will apply to all the
pages in a multi-page printout.
Use Page Break Preview to alter where rows and columns
break across pages. Excel will automatically apply scaling as
necessary once you have done this. Click and drag on the
blue dashed lines to make your changes, then return to Print
Preview by clicking on the toolbar button.
The Close button returns you from Print Preview to the
normal editing mode.
If you've been using Page Break Preview, a Normal View
button will have appeared when you return to print preview.
Use instead of Close to return to normal editing mode.
27
Page Setup
In Excel, Page Setup dictates how your spreadsheet will look printed
out, not how it looks on screen. You can scale to fit the printed page;
change orientation to print portrait (the usual tall or thin) or
landscape (short and wide); print with or without gridlines showing
round each cell; set margins from here; and include Headers and/or
Footers (including file name and page numbers) on every sheet.
In the Preview toolbar, click on Page Setup. (In
Excel 2000, the toolbar button is just called Setup.)
Alternatively, you can make changes before
previewing: select Page Setup from the File menu.
Click on the Page tab to change Orientation and
Paper size, if necessary. Paper size must correspond
to what the printer uses. You can also Scale so that
your work prints at whatever percentage you want
of its actual size. Fit To is very often useful to scale
down your work so that it will fit exactly to the
paper size being printed on. If you want page
numbers starting other than at 1, enter the required
starting number in the First Page Number box.
From the Margins tab, Centre on Page is a useful option. If
you want to change the positioning of headers and footers in
relation to the page, you do this from here. Many people prefer
to alter the margins from Print Preview rather than here: its
much easier to see what the effect will be.
Click the Header/Footer tab if you want add page numbers
or any other information on every page. Excel offers you a
range of preset ways to combine page number and filename
information in your headers and footers click on the arrow
by the Header or Footer box to choose from the picklist.
Alternatively, you can add your own Custom Headers and
Footers if you wish.
From the Sheet tab, the setting youll most often want to
change is Print Gridlines the default is usually set so that
gridlines don't print, but you'll often want them. If you check
Row and Column Headings, cell reference numbers will be
printed any headings you've added within the worksheet will
print without this option being checked.
Printing
In Print Preview mode, click on the Print button to open the
Print box. You can set number of copies, and the range of
pages you want printed, from here. With a multi-page job, its
always a good idea to print out just one page first to check. If
you use the toolbar Print button when you aren't in Preview
mode, a single copy of all pages will be sent straight to the
printer you wont be able to specify anything different.
28
Protecting worksheets
In a business situation, it's commonplace that many people should
enter data into a spreadsheet, and that not all those people should
possess a good understanding of how spreadsheets work. It's far more
likely that "spreadsheet disasters" will happen completely by
accident than as a result of malicious tampering. For this reason, its
useful to be aware of Excel's capabilities for protecting all or part of
the data within a workbook file.
You can require a password to edit and save a workbook, and/or to
open and use the data it contains, without permitting editing or
copying. You can also protect the data within a workbook. Good
online help is available on these topics:
In Help contents, find Sharing a Workbook with Others,
then Protecting a Workbook from Changes.
By default, Excel is set up so that all cells will become locked as
soon as you apply protection to a worksheet. You won't always want
this it can be especially useful to protect those cells which contain
formulae, while leaving the rest of the spreadsheet unlocked so data
can be entered. To do this:
1. Unlock all the cells in the worksheet.
Click the Select All button (Top left corner of row and
column address bars).
Right-click anywhere on the selected area, and select
Format Cells from the shortcut menu.
Click Protection. Clear the checkmark by Locked.
2. Lock the cells you want protected.
Select the cells you want to protect. To select non-adjacent
cells: hold down the Control key (bottom left of keyboard)
while you click on each.
Right-click anywhere on the selected area (- you'll unselect if
you click outside it!), and select Format Cells from the
shortcut menu.
Click on Protection, and set the checkmark by Locked.
3. Protect the worksheet.
From the Tools menu, select Protection, then Protect
Sheet or Protect workbook. Leave all the options checked,
and specify a password or not, as you require.
To unprotect a worksheet: from the Tools menu, select
Protection, then Unprotect.
use passwords while you're a learner. If you
Don't
forget them, you won't be able to open your worksheet.
Protecting worksheets
29
30
31
Index
Absolute cell references
Access, transferring data
Address bars
Alignment
Arguments
AutoFill
AutoFill, using with
formulae and functions
AutoFormat
AutoSum
Borders, adding
Cells
Character formatting
Chart data, changing
Chart formatting,
Chart types
Charts, editing
Charts, resizing
Column widths, adjusting
Copying a range of cells
Data series
Databases
Deleting data
Do's and Don'ts
Displaying Formulae
Filtering lists
Formatting numbers
Forms
Formula Bar
Formulae
Formulae, displaying
Functions, specialist
Gridlines, printing
Headers & Footers
Headings, centering
Help
HTML, saving as
IF statements
Inserting cells
Leaving Excel
Labels
Legends
Lists
Locking cells
32
14
30
7
7,12
13
5
14
12
14
12
2
11
25
24
22
25
23
7
8
20
17
8
6
16
19
11
18
4
13-16
16
15
12
28
7
3
30
16
9
3
20
20,24
17
29
Margins
Moving cells
Naming files
Numbers, formatting
Page Setup
Parentheses
Passwords
Paste options
Print Preview
Printer Setup
Printing
Protecting worksheets
Relative & Absolute
cell references
Row height, adjusting
Saving a spreadsheet as a
different file type
Select, then Do
Selecting print area
Sorting lists
Status Bar
Sum
Text Alignment
Tool tips
Transferring data
Typeface and Typesize
Undoing
Word, transferring data
Workbook
Worksheets
Zooming
28
9
6
11
28
13
29
30
27
26
28
29
14
7
3
7
26
19
2
13
11,12
2
30
11
4
22
2
3,10
26
Index