0% found this document useful (0 votes)
31 views18 pages

ENGG1003 Lab02 HandsOnExcel

Lab 02 for ENGG1003 focuses on hands-on activities using Excel, including setting up the application, downloading a specific file, and performing calculations such as Body Mass Index (BMI) and assignment weightings. Students are instructed to fill in worksheets, apply formulas, and visualize data through charts. Finally, they must save their work and submit the completed file via Blackboard.

Uploaded by

ychw318
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views18 pages

ENGG1003 Lab02 HandsOnExcel

Lab 02 for ENGG1003 focuses on hands-on activities using Excel, including setting up the application, downloading a specific file, and performing calculations such as Body Mass Index (BMI) and assignment weightings. Students are instructed to fill in worksheets, apply formulas, and visualize data through charts. Finally, they must save their work and submit the completed file via Blackboard.

Uploaded by

ychw318
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

ENGG1003

Digital Literacy and


Computational Thinking—P

Lab 02 Hands-On Excel


2022-23 Term 1
Lab 02 Activities

 Setup Excel on your computer (through CUHK O365)


 Download from Blackboard
Lab02_ProfilingScoreBMI.xlsx
 Inspect two given worksheets [Scoresheet] &
[Parameters]
 Follow given steps to complete the file
 Save your work in the same file
 Upload and submit your saved file to Blackboard
2
Setup Excel App
(Standalone)
 Through CUHK O365 (FREE!)
Sign-in: http://www.cuhk.edu.hk/o365
Login ID: [email protected]
OnePass (CWEM) Password

 Details:
https://www.itsc.cuhk.edu.hk/all-it/email-messagin
g-and-collaboration/office-365-proplus/
3
Using Excel Online
(Browser)
Desktop or notebook
computers are
recommended; tablets
and smartphones may
not be good for this lab.

Online Excel has


limited capabilities;
and the User
Interface (UI) is also 4

different!
Download Given Lab File

 Download, Save properly and Open


 Lab02_ProfilingScoreBMI.xlsx

 Save to folder ENGG1003\Lab02\...


 You may move or copy the file from
Downloads\

 OR Save to your OneDrive cloud storage


5
Recap: Save Your Work
Properly
 Setup your own filing system: create a folder
for your works in ENGG1003
 Keep on your own computer, e.g., Documents
 Keep on portable storage such as USB drive
 Keep on cloud storage such as OneDrive
(CUHK O365)

 Folder structure is hierarchical, i.e., tree-like


with branches called sub-folders

6
We are going to fill
in all yellow boxes
Worksheet [Scoresheet]

7
Worksheet [Scoresheet]
Calculate Body Mass Index (BMI)

 Each student record is stored one on a row


 Row 1 is usually for field names, i.e., attribute or header
 E.g., columns K and L represent Body Weight and Body Height
resp.

 Let's focus on row 2, leaving other rows alone

 Click cell M2, enter this formula:


where weight in kg, height in m
= K2 / L2 ^ 2

 What do you see? What do think about the symbol ^ ?


8
Setup and check
parameters…
Worksheet [Parameters]

9
Worksheet [Parameters]

 Cells B2:F2 represent weights of Asg1,2,3,4,5


 Select cells B2:F2 by dragging OR holding Shift
key
Click ribbon Formulas  Define Name  OK
 Select cell G2, enter this formula:
Keep the suggested
= SUM( AsgWeighting ) name AsgWeighting

 Do the same for CourseWeighting


 Define Name for cells in range B5:D5
 Enter a proper formula in cell E5
10
Worksheet [Parameters]

 Careful eyes may notice that the SUMs are wrong (Total shall be 100%) !
 Visual aid can help:
 Click cell G2

Click ribbon Home  Conditional Formatting 


Highlight Cells Rules  Less Than…  Enter 100% with Light Red Fill…

Click ribbon Home  Conditional Formatting 


Highlight Cells Rules  Greater Than…  Enter 100% with Light Red Fill…

 Do the same for cell E5

 Correct Asg3 weight to 20%


 Correct Assignment weight to 30%
11
Back to Worksheet [Scoresheet]
Assignment Total & Course Total

 Columns C-G represent scores of Asg1,2,3,4,5


respectively

 Let's focus on row 2, leaving other rows Weighted


alone Sum

E.g., C2 * 25% + D2 * 25% +


 Click cell H2, enter this formula: E2 * …
= SUMPRODUCT(C2:G2, AsgWeighting) Weighted Sum

E.g., H2 * 30% + I2 * 30% +


 Finish cell N2 similarly. J2 * …

* Alternative formula for cell H2: 12

= SUMPRODUCT(C2:G2, Parameters!$B$2:$F$2)
Worksheet [Scoresheet]
Copy Formulas
 Row 2 is ready and it serves as a template for the
rest

 Copy / Drag the cell H2 downward


 Or just double click
"the little dot at cell corner"

 Copy / Drag the cell M2 downward Drag downward


OR
Double click the dot
 Copy / Drag the cell N2 downward

13
Worksheet [Scoresheet]
Statistics
 Click cell C23
 Find minimum score of Asg 1 using this formula:
= min(C$2:C$21)
 In cell C24: max(C$2:C$21)
 In cell C25: average(…)
 In cell C26: median(…)
Drag to the right
 In cell C27: stdevp(…)
 Standard deviation of population (all records)

 C23:C27 is ready for copying to columns D to N by


dragging 14

 Bingo! All yellow boxes are filled with proper formulas!


Worksheet [Scoresheet]
Filled with Proper
Formulas!

You shall fill in correct formulas; the above numbers


15
are just for
verification!
Worksheet [Scoresheet]
Observation
 Looking at the numbers, can we see any pattern?

How about a
graph?
16
Worksheet [Scoresheet]
Data Visualization
 Select cells M1:N21

 Click ribbon Insert  Chart  Scatter

 Select the Chart

 Click ribbon Design  Pick a BLUE design

 Click ribbon Design  Add Chart Element  Axis Titles  …

 Correct the axis titles

17
Blackboard Submission

 Login Blackboard course ENGG1003

 Go to Lab 02 HandsOnExcel online submission form

 Under [Attach Files], Browse and select your saved


file Lab02_ProfilingScoreBMI.xlsx from your newly
created folder

 Do NOT Write Submission or type in Comments box

 Click [Submit] button


18

You might also like