22 Excel Basics
22 Excel Basics
A Brief Overview
What is a Spreadsheet?
A spreadsheet is a document that is
entirely made up of rows and columns.
It is used to list and analyze data.
Editing and formatting Excel works much
like the tables in MS Word
10
=AVERAGE(F4:F8)
8
6
4
=count(B2:B25)
2
0
Mon
Tue
Wed
Thu
Fri
Fill handle
Menu bar
Tool bar
Formula Bar
Column
labels
ROW 3
Row labels
COLUMN
gridlines
Worksheet
tabs
Entering Data
When you enter data, the characters appear simultaneously in the Formula
Bar and cell. The characters do not actually go into the cell until you press
Enter or Tab.
When working
with cells,
your mouse
pointer
becomes a
plus icon
To enter data into a cell, first click the cell in which you
want to enter your information. Then type the data in either
the cell or Formula Bar and press Enter or Tab.
Pressing Enter moves you to the next cell down, while
pressing Tab moves you to the next cell to the right.
Resize a Column
In a cell, text can be any combination of
numbers, spaces, and non-numeric
characters.
If the entered text exceeds the column
width it will overlap the boundary into the
next column when that column is blank. If
the next column already contains data, text
that does not fit in the cell is hidden.
Clicking the cell, however, reveals its entire
contents in the Formula Bar.
To delete:
Select either the row or column
you wish to delete and press the
del key or choose delete from
the EDIT menu.
You can copy and paste by selecting cells right click to cut or copy
Select either the exact number of cells to paste into or just the very first
one
right click to paste
Select a
column
Select a
row
Clearing Cells
Choose
Edit Clear
In the lower right hand corner of the active cell is Excels fill handle.
When you hold your mouse over the top of it, your cursor will turn to a
crosshair.
If you have just one cell selected, if you click and drag to fill down a
column or across a row, it will copy that number or text to each of the
other cells.
If you have two cells selected, Excel will fill in a SERIES. It will complete
the pattern. For example, if you
FILL HANDLE
Excel can also auto- fill series of dates, times, days of the week, months
Formulas
Formulas are entered in the worksheet cell and must begin with an
equal sign "=". The formula then includes the addresses of the cells
whose values will be manipulated with appropriate operands placed in
between. After the formula is typed into the cell, the calculation
executes immediately and the formula itself is visible in the formula
bar. See the example below to view the formula for calculating the sub
total for a number of textbooks. The formula multiplies the quantity
and price of each textbook and adds the subtotal for each book.
Formula Operators
There are four basic Mathematical Operators when writing a formula. These operators
are used to tell the formula what action to perform. The following table lists the
operators, its symbol.
Symbo
Operation
Symbol Name
l
Addition
Plus Sign
Subtraction
Dash or hyphen
Multiplication
Asterisk
Division
Forward slash
The next table lists the order of operation for each mathematical operator. As you begin
to write your formulas, keep in mind that information in parenthesis ( ) is always
performed first while everything outside the parenthesis is performed left to right.
Operator
AND, OR, NOT
+ or ^
* or /
+&
=
<>
<=
>=
Operation
Logic Test: AND, OR, NOT
Positive or Negative Value
Exponentiation
Multiplication or Division
Addition or Subtraction
Text Concatenation
Logic Test
Equal to
Not Equal To
Less than or Equal to
Greater than or Equal to
Order of Calculation
1
2
3
4
5
6
7
7
7
7
7
Functions
Example- if you wanted to add the values of cells D1 through D10, you could
type the formula "=D1+D2+D3+D4+D5+D6+D7+D8+D9+D10".
A shorter way would be to use the SUM function and simply type
"=SUM(D1:D10)".
Function
Example
Description
SUM
=SUM(A1:A100)
AVERAGE
=AVERAGE(B1:B10)
MAX
=MAX(C1:C100)
MIN
=MIN(D1:D100)
SQRT
=SQRT(D10)
TODAY
=TODAY()
SUM( ) function
The SUM( ) function is probably the most common function in Excel. It adds a range of numbers. To
build a SUM( ) function, begin by typing the = sign; all functions begin with the = sign. Next type
the word SUM followed by an open parenthesis. You must now tell Excel which cells to sum. Using
the mouse, click and drag over the range of cells you wish to add. A dotted outline will appear
around the cells and the cell range will be displayed in the formula bar. When you have the correct
cells selected, release the mouse button, type a closing parenthesis and press the <Enter> key.
If you do not want to use the mouse, type in the references of the cells you want to sum. For
example, to add cells B3 through B5, type =SUM(B3:B5). Excel interprets B3:B5 as the range of
cells from B3 to B5.
Insert Function
Excel has hundreds of prewritten formulas which make it easy to do
complex procedures with numbers, dates, times, text, and more.
Click Go.
Tips
You can also select a function category in the
Or select a category box. This action will
display a list of related functions, which you
can then browse through.
AutoSum
AutoSum button
In Excel, the standard toolbar has a button that simplifies adding a column or row of
numbers. The AutoSum button, which resembles the Greek letter Sigma (shown above),
automatically creates a SUM( ) function. When you click the AutoSum button Excel
creates a sum function for the column of numbers directly above or the row of numbers
to the left. Excel pastes the SUM( ) function and the range to sum into the formula bar. If
the range is not correct, simply select the proper range with your mouse on the
worksheet. When you have the correct range entered, press the <Enter> key to complete
the function.
Autofilling Functions
Autofill can also be used to copy functions. In the example below, column A and column B each
contain lists of numbers and column C contains the sums of columns A and B for each row. The
function in cell C2 would be "=SUM(A2:B2)". This function can then be copied to the remaining
cells of column C by activating cell C2 and dragging the handle down to fill in the remaining
cells. The autofill feature will automatically update the row numbers as shown below if the cells
are reference relatively
Cell Reference
There are two basic types of cell references in Excel: relative and absolute. The
difference between absolute and relative cell references becomes apparent when you
copy formulas from one cell to another. When you copy a formula containing relative
references, the references are adjusted to reflect the new location. Absolute references
always refer to the same cell, regardless of where the formula is copied. Relative
references are the default.
To create an absolute reference, type $ before each part of the cell address.
Relative / Absolute
Relative
Absolute
This shows the formulas used
to create the order form
below.
We used the fill handle
which usually gives us the
relative reference.
For the sales tax
calculation we needed to
use the absolute reference
in cell C9
Merge cells
A shortcut to merge cells and center data is the icon on the formatting toolbar.
Select the cells you want to merge and click the icon on the toolbar
Printing Tips
To only print a small part of your
spreadsheet
Charts
A chart is a graphic representation of data. Charts are often used to make large quantities of data
more easily understandable, and recognizable on first view. Charts represent data in different ways
depending on the type of data that is presented.
60
50
40
70
30
60
20
50
10
40
0
Amherst
Buffalo
Clarence
Aurora
Kenton
Orchard Park
Buffalo
Seminary
/ East
School
Districts
Williamsville
other
30
70
20
60
10
50
0
Amherst
Buffalo
Clarence
East Aurora
Kenton
Orchard Park
Williamsville
other
40
30
Amherst
20
Buffalo
10
0
Amherst
Clarence
East Aurora
Buffalo
Clarence
East Aurora
Kenton
Orchard Park
Williamsville
other
Kenton
Orchard Park
Williamsville
other
Chart Wizard
Select all the cells containing the data you want to chart.
Average Temperatures
90
80
70
farenheit
60
Buffalo
New York City
50
40
30
20
10
0
Jan
Feb
Mar
Apr
May
Jun
month
Jul
Aug
Sep
Oct
Nov
Dec
After youve created a chart, you can still modify any specification made while running the
Chart Wizard. The Chart menu and the Chart toolbar, which appear whenever a chart or
chart sheet is selected, include options that correspond to the choices the Wizard offers.
You can also click the Chart Wizard button to run the wizard again and revise their
original choices.
Average Temperatures
90
80
70
farenheit
60
Buffalo
New York City
50
40
30
20
10
0
Jan
Feb
Mar
Apr
May
Jun
month
Jul
Aug
Sep
Oct
Nov
Dec