|
Entering Data and Doing Simple Calculations
Bijou Computer Applications Class
|
|
Contents... |
|
|
|
How to
select cells, things in cells, cells, rows, or columns in different
places...
To select
|
Do this |
|
Text in a cell |
If editing in a cell is turned on, select the cell, double-click in it, and
then select the text in the cell. If editing in a cell is turned off, select the cell, and then select the
text in the formula bar. |
|
A single cell |
Click the cell, or press the arrow keys to move to the cell. |
|
A range of cells |
Click the first cell of the range, and then drag to the last cell. |
|
A large range of cells |
Click the first cell in the range, and then hold down SHIFT and click the
last cell in the range. You can scroll to make the last cell visible. |
|
All cells on a worksheet |
Click the
Select All
button. |
|
Nonadjacent cells or cell ranges |
Select the first cell or range of cells, and then hold down CTRL and select
the other cells or ranges. |
|
An entire row or column |
Click the row or column heading. |
|
Adjacent rows or columns |
Drag across the row or column headings. Or select the first row or column;
then hold down SHIFT and select the last row or column. |
|
Nonadjacent rows or columns |
Select the first row or column, and then hold down CTRL and select the other
rows or columns. |
|
More or fewer cells than the active selection |
Hold down SHIFT and click the last cell you want to include in the new
selection. The rectangular range between the active cell and the cell you
click becomes the new selection. |
|
Cancel a selection of cells |
Click any cell on the worksheet.
|
Entering Text
- Select a cell
- Type the text you want to enter on your
keyboard.
- Press Enter.
AutoComplete
Excel will help you more quickly
complete your worksheet if you let it. Unless you turn
it off, AutoComplete will automatically match your new entry with a
previous one and fill it in for you. This is particularly useful if you
have to repeatedly but not consecutively enter names, for example. This
only works for cells that contain text or text and numbers, not those that have
dates, times, or only numbers.
- As you are typing, if the first few
characters you type match an existing entry in that column Excel fills
the rest in for you.
- If that is correct, you simply press
Enter.
- If that is not correct, just keep typing.
- In the example to the right, there are two
entries that begin with "S"
- One of them begins with "Sm"
- If you intended to type "Smith, John" again,
after typing only "Sm" you can press the Enter key.
- If you intended to type "Smiley, Francis"
you would simply keep typing and ignore Excel's suggestion.
To turn
off AutoComplete
- On the Tools menu, click
Options... then the Edit tab.
- Uncheck the Enable AutoComplete for cell
values box.
Create Hyperlinks
- Select the text or image that will become the
hyperlink, or click where you want the hyperlink to go.
- Click the Insert Hyperlink button
on the toolbar, or Right-click and select Hyperlink...
from the shortcut menu.
- In the Insert Hyperlink dialog box:

- you can change the text on the page,
- choose an Existing File or Web page (on the
left)
- choose which list (near left)
- type in a different file or web address
- paste a different file or web address - (you
must use Ctrl+V, right-click doesn't work).
- Click the File... button to Browse
for the file, or
click the Web Page... button to Browse for the web page you need the
address for.
Entering
and Formatting Titles
Using titles on the
worksheets makes it easier to read and understand the information shown.
Note You can add other
formatting characteristics to your title. To make the text bold, click the text cell, and
click the Bold button on the Formatting toolbar. To make an
entire row of headings bold, click the row header first, then click the Bold button on the Formatting toolbar.
- Open a new worksheet, move the
pointer to cell E3, type
Technology Challenge,
and then press enter.
- Click cell E3.
- On the Formatting toolbar, click the Font
box, and click Arial. (You may have to use the down arrow next to the Font box
to find Arial.)
- On the Formatting toolbar, click the
arrow next to the Font Size box, click 14, and then click the Bold
button.
- Save this worksheet as
Technology to use later.

|
Modifying text style and font size. |
A
style is a
collection of formats, like font size, patterns, alignment, that you define
and save as a group. |
- Select a cell, either one with text in it,
or a new one and type some text into it.
- Change font in much the
same ways as in WORD, by clicking the Font Size drop-down box to change
size, the Font Color button, or one of the style buttons (Bold,
Italic).
-or-
- After selecting a cell with text in it,
Right-Click and Click Format Cells...
- Click the Font tab.
- Choose from among the many formatting
options.
|
T he
Formula Toolbar
Underneath
the formatting toolbar is the Formula toolbar:

When you click the Edit
Formula button, the left end of the toolbar changes to this:

Entering column headings and adjusting
column widths & row heights
Column and row headings help you and
others understand the data or information you have entered on your worksheet.
Note
The following exercise deals with
changing column width, but changing row height is the same, only adjusted for
the different direction.
Sometimes the column heading
is too large to fit into a column. Even though it does not show the entire title
or formula, the cell still contains everything you entered into it. You
can see all that is in a cell in the Formula Bar.

Note Press the Enter key to
move down one cell at a time. See the end of the lesson for instructions on
customizing the Enter key.
- Using the
Technology worksheet, click cell B5,
and type
Dates.
- Press tab to go to cell C5, and
then type
Elementary Schools.
- Press tab to go to cell D5, and
then type
Secondary Schools. One cell
will overlap the other.
- Press Enter.
- At the top of the worksheet, position
the pointer at the top of the grid between columns C and D
until the pointer changes into a double-arrow
and then double-click.
- Repeat steps 4 and 5 for the line
between cells D and E.
- Select the words Technology
Challenge, and move the fat +
pointer to a dark cell line until it changes to an arrow.
- Click and drag the
text to begin in cell C3.
(The little info box, like the ones that tell you what a button's function is when you
pass over it and pause, will show you the cells you're passing over and when you get to C3
it will say C3.)

- Click the row number
5
on the column to the left of column
A, then click the Bold button on the Format
toolbar.
- Click Save to re-save the
worksheet.
Insert and Delete Rows and
Columns
Insert Rows
- To insert one row, click
a cell in the row below where you want the new row.
- To insert multiple rows,
select the same number of rows as
you want to insert, by clicking and dragging the row headings. Be sure
the pointer is the "fat" plus sign,
,
not the double arrows.
- On the Insert menu
click Rows.
-or-
Right-click and click Insert in the shortcut menu.
Insert Columns
- To insert one column,
click a cell in the column to the right of where you want the new column.
- To insert multiple
columns, select the same number of columns as you want to insert, by clicking
and dragging the column headings. Be sure the pointer is the "fat" plus
sign,
,
not the double arrows.
- On the Insert menu
click Columns.
-or-
Right-click and click Insert in the shortcut menu.
Hide/Unhide Rows and
Columns
Hide
- Right-click on the row or column heading, or
the range of rows or columns that you want to hide.
- Click Hide in the shortcut menu.
-or-
- Select the rows or columns that you want to
hide.
- On the Format menu, point to Row
or Column then click Hide.
Unhide
- Right-click on the row headings of the rows
above and below, or the column headings of the columns to the right and the
left, of the hidden rows or columns you want to unhide.
- Click Unhide in the shortcut menu.
-or-
- Select cells in the rows above and below, or
in the columns to the right and the left, of the hidden rows or columns you
want to unhide.
- On the Format menu, point to Row
or Column then click Unhide.
Freeze/Unfreeze Rows and
Columns
You can keep row or column labels
visible as you scroll, a very handy thing if you have a number of headings and
might have trouble keeping track of what kind of data is in your table.
- To freeze the top horizontal pane, select
the row below where you want the split to occur.
- To freeze the left vertical pane, select the
column to the right of where you want the split to occur.
- To freeze both the upper and left panes,
click the cell below and to the right of where you want the split to occur.
- On the Window menu, click Freeze
Panes.
Arranging
text with the Copy, Paste, and Cut commands
With Excel, it is easy to modify
data. When you create a table, you may decide on a
different order of column heads or you may want to revise them.
Note Usually Cut
is used to move the contents of a cell or cells to a different location.
Copy
is used to duplicate the contents of a cell or cells in another location.
Using the Cut, Paste, and Copy
commands to arrange text
- Using the
Technology
worksheet, right-click cell C3, and click Cut.
- Right-click
cell C1, and click Paste.
- Right-click cell D5, and click Cut.
- Right-click cell D10, and click Paste.
- Right-click cell C5, and click Cut.
- Right-click cell D5, and click Paste.
- Right-click cell D10, and click Cut.
- Right-click Cell C5, and click Paste.
Entering Data
Note
If you enter data in a column-by-column order, you may find it easier and faster to use the
down arrow key to move between
cells. However, if you always do it that way, you might want to
customize the Enter key.
- Open your
Technology workbook.
- Starting in cell
B6, type the following data into the worksheet, under the corresponding
headings
that you previously saved there:

- Save your file as
TechnologyData.
Note
Office Assistant has information on different ways to enter a formula so
that you can perform a variety of mathematical calculations.
Using
AutoFill
(Automatically
Fill Cells: Working with Series)
AutoFill makes it easy to fill many cells with words
and numbers that form series or repetitions. An example is the days of the
week. If you type Monday in a cell, you can use AutoFill
to make the next cells show Tuesday, Wednesday, etc.
Excel is even smart enough that if you type Mon, you can
fill in the next cells with Tue, Wed, etc. You can
even have it skip cells, as in the screenshot below that has September
followed by 4 blank cells, then October and 4 more blank
cells.
You can see that using the AutoFill feature
you can quickly and easily design a calendar; a daily, weekly, or monthly
checklist; or a special event or topic chart that uses repetitive data or
series.
Note To turn the automatic feature on or off, click
Assistant and type Automatic Entry, then click
Change Options button.
Creating a chart with
AutoFill
- Open a new worksheet.
- In cell C4, type
Monday.
- Click and drag
the fill handle
-
(the small square in the lower-right corner of the dark box that indicates a
selected cell)

and select the cells through cell G4.
You should see the other days of the week appear!
- In cell B4, type
Week 1.
- Click and drag the fill
handle to cell B8.
- In cell A4, type
September.
- Click in cell A4 (within
the word September- the cursor becomes a fat plus sign) and drag to
cell A8 to select all five cells without using the fill handle(!).
- Click and drag the fill
handle to A22.
- See the screenshot below
to see how these operations play out:

Doing
simple calculations
NOTE:
In this section you will Create Formulas, which is 99 44/100% of the reason you use
a spreadsheet like Excel!
With Excel, you can perform a wide
range of mathematical calculations and functions according to what you need from your
data.
To calculate sums (totals) and percentages, use the mathematical operation of adding
numbers to get a total, and then divide each number that was just added by that total.
Calculate the sum of schools with
Web sites
- In the
TechnologyData workbook,
click cell E5, type
Total Sites, and press Enter.
- You should be in cell E6. On the
Formula toolbar click the Edit Formula button:

- Click the Functions arrow, and
choose Sum.

(C6:D6 appears in the Number 1 window.)
- Click OK.
- To sum each pair of numbers,
click E6 and drag the fill handle from E6 to E13.
Note You may have to zoom
out to see the total chart. On the View menu, click Zoom, and choose 50%
or whichever level is best for you. SEE the example at the end of
this section.
Calculate the percentage of schools with Web sites by category
- Click cell F5, type
%
of Elem schools, and then press Tab.
- Click cell G5, type
%
of Sec schools, and press Enter.
- Click F6, and click the Edit Formula
button (the = sign).
- Type
C6/E6, and click OK.
- Right-click cell F6 and click Format
Cells.
- Click on the Number tab,
choose Percentage, and then type
2 in the
decimal places box, if it's not already there.
- Click F6, and drag the fill handle to
F13 to calculate the percentage for each pair of numbers. Click OK.
- Repeat steps 3 through 8 for
Secondary Schools, starting in cell G6, using the formula
D6/E6 to calculate the percentage.
- Save the worksheet as
TechnologyCalc.
NOTE:
You should have made changes to
the Technology worksheet, saving it as TechnologyData and then as TechnologyCalc.
It will have the data seen above, and will ALSO,
and most importantly, have that data because
you entered the formulas that created it!
You did
NOT type the %
of..Schools
answers in, you entered the formulas and
let
Excel
calculate
for you.
This is the point of
using a spreadsheet!
You
may need to show
the formulas to the teacher, in the following manner (click Tools, Options, View,
Formulas), in order to earn credit and move on:

Note You can also view the
formulas and the affected cells by double-clicking on a cell that contains a formula.
Excel shows you a very
cool
color-coded
formula and the cells to
which each element of the formula is referring!
Using the
AutoSum
Function
Excel uses functions
in place of your having to write formulas for common and complicated operations.
AutoSum is presented here, somewhat out of order, because it is so useful
and common, adding being probably the most common math operation and all!
Excel uses some math functions as
buttons on the Standard toolbar. The AutoSum button is displayed as the
Greek Capital letter Sigma, Σ, and is
used to calculate the Sum of a range of numbers.
Totaling numbers with AutoSum
- Open your
TechnologyCalc
workbook.
- Click cells E6 through E13.
- Click the Delete key.
- Click cell E6.
- Click the AutoSum button on the Standard toolbar,

and verify that the cells selected for summation are correct. (They will be
surrounded by "crawling ants!")
- Press Enter, and note
the summation results in cell E6.
- Click E6, and drag the
fill
handle to E13.

- Save the
TechnologyCalc
workbook again.

Note You can sum columns
using the AutoSum button on the Standard toolbar or by
using the Formula bar as you did
before.
Continue learning
about formulas and functions
here.
Customizing
the Enter key
You can change the direction in which
the active cell moves when you press enter. If the default direction is to the right, and you
are entering data in a column, you can change the default to down.
- Open your
TechnologyCalc workbook.
- On the Tools menu, click Options.
- Click the Edit tab.
- Click Move selection after Enter,
and in the Direction box, click Right, and click OK.

- Save the workbook.
Go Back To:
Excel Index

Last
UPDATED
08/20/06
|