Excel Lesson 2
Excel Lesson 2
Excel Lesson 2:
Formulas and Functions
The learning objectives for Excel Lesson 2 are to learn about and practice:
To complete this lesson, you will begin with a workbook named mygradebook.xlsx
provided by the instructor. Download the Excel workbook from CANVAS.
STEP 1. DO THIS:
Download the workbook named mygradebook.xlsx from CANVAS to your
desktop.
Log in to your Office 365 account, select OneDrive, and navigate to your
excel folder.
Upload mygradebook.xlsx from your computer desktop to your excel folder on
OneDrive.
Click on the file name to open the file in Excel Online.
Click on the FILE tab and Save As (Rename) and save with the file name
Last_First_excel_lesson_2 (Your last and first name in place of Last and First)
Review the contents before continuing. Note that there are multiple worksheets in this
workbook, identified by the tabs at the bottom of the window.
Review each of the worksheets in turn by clicking on its tab. Each of the tabs after
the Summary tab is a main topic in the lab and represents a group of assignments for
which you receive points that when added up determine your lab grade in the
course.
Beginning with the Office365 worksheet, each sheet has the same labels in the first
row: Topic, Project, Quiz, Total. Then, in column A starting in the row beneath the
Topic label, are a number of lesson topics. For Office365, there were only 2 lesson
topics. The number of lesson topics varies for each main topic.
Starting in the row immediately beneath the list of lesson topics are a series of labels
for values that will be computed in the worksheet: Total, Count, Average, Maximum,
and Minimum. The same series of labels is included on each of the main topic
worksheets.
The Summary worksheet is different. It’s called the Summary worksheet because this is
where the details entered on the other worksheets will be summarized and shown in
relation to the total possible points for each main topic and the overall total.
Note there are some numbers for possible points already entered on the Summary
worksheet. There are no numbers entered on the other worksheets. You will be adding
numbers to the other worksheets; you will be adding some numbers to the Summary
worksheet directly, but you will mostly be adding formulas to the Summary worksheet.
In the next step, add the made-up points for this exercise shown below; later you can
go back and enter the points that you have actually earned from the CANVAS
gradebook if you want to use mygradebook for real to keep track of your points.
STEP 2. DO THIS:
Click on the Office365 tab
STEP 3. DO THIS:
Click on cell D2, and type: =
Repeat these steps once more to enter the formula =D2+D3 in cell D4.
Cells D2, D3, and D4 now display totals. Note that this is the displayed value.
The underlying value—the formula you typed in—can be seen in the formula
bar. Click on cell D2 and compare your worksheet with the screenshot below.
The total is displayed in cell D2 and the formula is displayed in the formula bar.
Of course there is a built-in function for computing a sum in Excel You will use
that later.
The next step for now is to get that total in D4 to display on the Summary
worksheet.
STEP 4. DO THIS:
The next step is to compute the difference between the total possible points
for this topic already displayed in cell D5, and the new total points earned
displayed in E5 on the Summary worksheet.
STEP 6. DO THIS:
Click on cell F5, and type: =.
Click on cell D5.
In cell F5, type: -
Click on cell E5.
Press Enter.
You have now constructed addition and subtraction formulas in your
workbook. The top part of your Summary worksheet should look like this, unless
you changed the values entered for project and quiz scores on the Office365
worksheet.
Calculating Percent of Points Earned requires dividing the Total Topic Points
Earned by the Total Possible Points.
STEP 8. DO THIS:
In cell B14, enter the formula =E5/D5.
The value displayed in cell B14 has not yet been formatted to show
Percentage. Do that now.
With cell B14 selected, click on the Percentage button in the
Number group on the HOME tab.
Change the number of decimals displayed to one by clicking
once on the Decrease Decimals or Increase Decimals button in
the same Number group.
Now you know how to enter formulas for addition, subtraction, multiplication,
and division.
It’s time to exercise a couple of the best features of Excel: auto-completing
built-in functions, and auto-filling data and formulas!
Using AutoSum Functions
Excel makes some of the most commonly used data summary functions
available via a single button in Excel Online called AutoSum. It’s located in
the Editing group on the HOME tab. If you have your browser window
reduced in size to half screen, you may not see the text, “AutoSum” on the
button, but you will see a large Greek Sigma symbol like this: ∑ That is the
AutoSum button.
The workbook you were provided already has the labels included for
calculating each of these on each main topic worksheet. Begin with the
Office365 worksheet.
STEP 9. DO THIS:
Select the Office365 worksheet.
Click on cell B4.
With cell B4 as the active cell, click on the AutoSum button in the
Editing group on the HOME tab.
If you clicked on the arrow and are offered options, choose Sum.
Excel tries (successfully this time) to guess which cells you want to include in the
sum. A border appears
around the cells that will
be included unless you
make a different choice.
Excel is right this time, so …
Press Enter.
Excel auto-completes the
formula and displays the
total in cell B4.
Now use the Count Numbers function to compute the number of project scores in cell
B5.
Use auto-fill on both data and formulas to complete more of the Summary sheet.
All of the topics except Exams have the same number of possible points per project,
25. The value 25 is already entered in C5 and C6. Use auto-fill to fill in data for cells
C7:C9.
through cell C9. Now cells C7:C9 should have the value 25.
Next, use auto-fill to fill in the formulas for Total Possible Points.
Use the Auto-Sum function to get the total of number of projects in B11, and then
auto-fill the totals for C11 and D11.
Now the Summary worksheet is complete except for entering the appropriate
worksheet cell reference for each topic in column E. That cannot be done with auto-
fill because there is no pattern to the number of lessons under each topic. Those
references will have to be entered individually.
You could auto-fill the Difference column in advance but there is no particular
advantage to doing so since the Difference is the same as the Total Possible Points
until some Points Earned are available in column E.