Excel Lesson 1
Excel Lesson 1
Excel Lesson 1:
Basic Cell Editing and Formatting
The learning objectives for Excel Lesson 1 are to learn about and practice using:
_____________________________________________________________________
As you did in the Word and PowerPoint lessons, you should complete all tasks in Excel
Online using your school-provided Office 365 account. So let’s get started!
STEP 1. DO THIS:
Open the Chrome browser.
Go to office.com
Login to your school Office 365 account.
Copy the excel file you created in the Common Features lesson to your excel
folder on OneDrive.
After copying the file, navigate to your excel folder, right-click on the file name
and rename the file Last_First_excel_lesson_1.
Then click on the renamed file to open it in Excel Online.
In Excel, you are entering your text in “cells”. The location of the cell is given by its
column letter (A, B, C, etc.) and its row number (1,2,3, etc.).
The colon character is used in Excel to describe a range of cell locations. A range of
columns would have two letters separated by a colon. (A:C, for example, includes all
rows in column A, column B, and column C.)
A range of rows would have two numbers separated by a colon. (3:5, for example,
includes all columns of row 3, row 4, and row 5.)
A two- dimensional range would have the upper left cell letter and number before the
colon and the lower right cell letter and number after the colon. (A1:C3, for example,
includes rows 1 through 3 in column A, rows 1 through 3 in column B, and rows 1 through
3 in column C.)
STEP 2. DO THIS:
In cell A13, type: Number of students.
Auto-Fit Column A Width using the Format button in the Cells group on the Home
tab.
In cell B13, type the number of students whose names you entered in the earlier
exercise. It must be a number from 0 (if you entered none) to 9 (if all cells were
full).
Of course, not all numbers are just numbers. A number is not just a number is not just a
number ….
STEP 3. DO THIS:
In cell B14, type the number ½.
What happened? Excel automatically converts that number to a date, and reformats
the displayed value in a date-month format as 2-Jan. This will happen automatically if
and only if the “fraction” typed in can be a date. For example, if the first number is in the
range 1 to 12 and the second number is in the range 1 to d, where d is the maximum
number of days in a particular month, then Excel will interpret the entry as a date, not a
fraction. But that is not the only time Excel will interpret the “fraction” as a date.
Entering dates.
What happens if you enter a “fraction” like 12/39?
Excel still tries to make it a date, and since the second number is greater than 12, Excel
translates the entry as a month-year format and turns it into 12/1/1939 (formatted as 1-
Dec)!
The displayed value is what you see displayed in the cell. The underlying value is the
value or formula or function actually stored by Excel in the memory address of that
particular cell. We will get to formulas and functions in the next lesson. For now, let’s
concentrate on values.
For students with some programming knowledge, you may be thinking, “that sounds like
what a variable is …” and you would be right! Every cell in the worksheet is like a
In Excel, you can usually see what the underlying value is because it is displayed in the
“formula bar”, the field to the right of the fx symbol at the bottom of the Excel
navigation ribbon and above the columns and rows of your worksheet.
Excel stores dates as sequential serial integers so that they can be used in calculations.
By default, January 1, 1900, is serial number 1, and January 1, 1939, is serial number
14580 because it is 14,580 days after January 1, 1900.
To see the integer value for the date you typed in cell B14, click on the arrow on
the right of the Clear button in the Editing group on the HOME tab and select
Clear Formats.
To see how storing dates as sequential serial numbers helps with calculations, let’s
calculate the number of days some person (or pet or other living thing) has lived.
In cell B15, type the birthdate of some person (or pet or other living thing) using
the same format. For example, my pet, Pumpkin’s, birthdate was 1/12/2014.
You will see the number of days that person (or pet or other
living thing) has lived displayed in cell B16. (Pumpkin is 3,755
days old today!)
STEP 4. DO THIS:
Entering fractions.
Returning to the attempt to enter a fraction that started this foray into dates, it is best
to enter a fraction as a decimal number. Instead of ½, type .5.
Entering percentages.
You can enter a value in a cell in a way that Excel will recognize it as a percentage
value. If you want a number to be treated as a percentage, enter the % sign in the cell
after the number just like you would write it on paper.
Entering currency.
You can enter a value in a cell in a way that Excel will recognize it as a dollar value. If
you want a number to be treated as currency (in dollars), enter the $ sign in the cell
before the number just like you would write it on paper.
Enter ‘0203, (that’s apostrophe, zero, two, one, six) in cell B18.
The apostrophe does not display in the cell, but you see it in the formula bar, and you
know it worked because your “number” was automatically left-justified like all other
text.
STEP 5. DO THIS:
Click on the letter C at the top of column C in your
worksheet to select the column.
Now right-click on the letter C at the top of column C
in your worksheet.
From the drop-down menu that appears, click on
Insert Columns.
You can delete the columns in the same way you created
them.
To insert more than one new column or row at a time, select the number of columns or
rows you want to insert before you click on the Insert command, and Excel will insert
the number of selected rows between the existing columns or rows in your
spreadsheet.
Select columns C:E, right-click on any letter from the selected columns at the
top of your worksheet and click on Insert Columns on the drop-down menu.
The procedure for inserting and deleting a single row or multiple rows is the same. The
new row or rows will be inserted above the lowest numbered row you selected to begin
the insertion.
Using the Clear button to remove the content and/or format of an individual cell
or range of cells.
When you want to delete the content and/or the format of an individual cell or range
of cells but not a whole column or row, use the Clear button in the Editing group on the
Home tab.
Use the Clear button now to clear just the format of cells A1:D11 in your
worksheet.
Now use the Clear button again to clear the content from the same range of
cells.
This shift will not affect any data that might be entered in
columns to the right of the selected range, but it will shift up all
rows beneath the selected rows in the selected columns.
STEP 6. DO THIS:
In cell A1, type: Record of Courses Taught
In cell A3, type: Beginning date of term.
In cell A4, type: Proportion of computer science majors
In cell A5, type: Percentage of students undecided about a major
In cell A6, type: Budget for participation prizes
In cell A7, type: Section number
In cell B2, replace the current contents with 40
In cell B3, replace the current contents with the date on which the current term
If you forgot how to adjust the width of the column A (this was introduced in the Common
Features lesson), position the cursor right on the vertical line separating the column letters
so that you see the cursor change to this shape: and then begin to move
the cursor to the left until the width of column A is where you want it.
STEP 7. DO THIS:
To wrap the text so that it all shows in the cell without changing the column width:
Use the Align Center button in the Alignment group to center the contents of cells
B3:B5.
STEP 8. DO THIS:
Use the Clear Formats option on the Clear Button in the Editing group to clear
all the current formatting in cells B2:B7.
In Excel Online, you have button controls for copying, cutting, and pasting, on the
Clipboard group on the HOME tab. But many people prefer using the keyboard
shortcuts for these functions: Ctrl + C for copy, Ctrl + X for cut, and Ctrl + V for paste.
(Substitute command for Ctrl on a Mac.)
This poses no problem for copy and cut. (For those uncertain about the difference,
copy leaves the source content and format intact and places a copy of both on the
Clipboard. Cut removes the source content and format from its current cell locations
and places a copy of both in the Clipboard.
Paste is a different matter. Paste copies either or both the content and the formatting to
a new location. In Excel Online, if you use the keyboard shortcut to paste, both the
content and the format will be placed in the new location. Clicking on the arrow at the
bottom of the Paste button allows you to choose whether you want to paste just the
value or the format or both. We will discuss the Formulas option in a later lesson.
STEP 9. DO THIS:
Select the cell range B2:B7 in your workbook.
Use the Ctrl-C keyboard shortcut to place a copy of both the content and
Note that the source location range of the copied cells are enclosed in an animated
dotted line border.
Click on the cell C2 to make it the active cell.
Click on arrow at the bottom of the Paste
button to select and click on the Paste
Formatting only option. No values were
copied to the cell range C2:C7, but the
formatting of each cell was.
Lesson learned: when entering numbers as text, especially when you have leading
zeroes, be certain the computer reads the data correctly by using the apostrophe
before the number!
Apply Bold and Italic to the text in cell A1:C1 using the B and I buttons in the
Font group.
Select the cell range A1:C7 and apply the Comic Sans MS font and change the
Font Size to 10 pt.