Unit 3.1: MS Excel Fundamentals

--:-- --
↓ Scroll for more

Unit 3.1

MS Excel Fundamentals

PRC 110: Software Skills Practicum

📖 Read the full note

Learning Objectives

  • Navigate the Excel Interface.
  • Enter and Format Data.
  • Use Relative vs Absolute references.
  • Use Freeze Panes and Print Titles.

The Excel Interface

Key Concepts

  • Workbook (.xlsx file)
  • Worksheet (tabs)
  • Cell Address (e.g. B10)
  • Range (e.g. A1:B10)

Data Types

  • Text (usually left)
  • Numbers (usually right)
  • Dates (serial numbers)

Same grid, Name Box and formula bar in every spreadsheet

A spreadsheet window (LibreOffice Calc) showing grid, Name Box, formula bar and sheet tabs

Hands-on: Move Like a Pro

Open student_grades.csv in Excel, then try:

PressYou land on…
Ctrl + ↓ from A1A11: the last student (S110)
Ctrl + → from A1F1: the last header (History)
Ctrl + HomeBack to A1
Type XFD1048576 in the Name Box → EnterThe very last cell of the sheet

One sheet = 1,048,576 rows × 16,384 columns. You will never scroll there; use the keys.

Real Case: The Missing 15,841

England, October 2020: 15,841 positive COVID-19 test results were left out of official daily counts, delaying contact tracing.

  • Lab data was being loaded into the old .xls format.
  • .xls holds only 65,536 rows; extra rows were silently cut off.
  • Modern .xlsx holds 1,048,576 rows, but it has a limit too.

💬 Discuss: What simple check would have caught this? → Compare the row count in vs. out, every time.

Each row was a person

A UK walk-through COVID-19 testing site

Hands-on: What Type Did Excel See?

In a blank sheet, type each value in column A and watch the alignment:

TypeExcel showsWhy
PokharaLeft-alignedText
1500Right-alignedNumber
00123 (roll no.)123Leading zeros dropped. Type '00123 to keep them as text
2026-11-12A date (right-aligned)Format it as General → it becomes a serial number like 46338

Phone numbers, roll numbers, PAN numbers: identifiers, not quantities. Store them as text.

Real Case: Excel Renamed Human Genes

  • Gene symbols like SEPT1 and MARCH1 were auto-converted by Excel into dates (1-Sep, 1-Mar).
  • A 2016 study found errors like this in about one in five genetics papers that shared gene lists as Excel files.
  • In 2020 the official naming body renamed the genes: SEPTIN1, MARCHF1.

📊 Poll: Easier to change the software or the science? Why did scientists choose to rename the genes?

Set a column to Text before typing or pasting codes.

SEPT1 became 1-Sep

A DNA double-helix model

Hands-on: Let Excel Type for You

AutoFill

  1. Type Jan in H1.
  2. Drag the fill handle (small square, bottom-right) to M1.

✅ Jan, Feb … Jun.

Flash Fill

  1. Names "Aarav Sharma", "Sita Patel" in A2:A3.
  2. Type Aarav in B2, go to B3, press Ctrl + E.

✅ B3 fills with "Sita".

Flash Fill copies a pattern once; it won't update if names change later (a formula would).

🎬 Watch: Flash Fill with Ctrl+E

Formatting & Freeze Panes

  • Number Formats: Currency, Percent, decimals.
  • Conditional Formatting: Colour rules.
  • Freeze Panes: Keep header row visible.

Hands-on: Same Number, Four Looks

Type 1234.5 in four cells, then format each one:

FormatHowShows
NumberCtrl + Shift + !1,234.50
CurrencyCtrl + Shift + $$1,234.50 (symbol follows Windows region)
PercentCtrl + Shift + %123450%. Percent expects 0.13, not 13!
Custom rupeesCtrl + 1 → Custom → "Rs "#,##0.00Rs 1,234.50

Formatting changes only the look; the formula bar still shows 1234.5.

Hands-on: Highlight Weak Marks

  1. In student_grades.csv select C2:F11 (all marks).
  2. Home → Conditional Formatting → Highlight Cells Rules → Less Than → 50 → Light Red Fill.
  3. Add a second rule: Greater Than 89 → Green Fill.

✅ 2 red cells: Sita History 45, Priya Math 46.

✅ 5 green cells: Sita 97, Vikram 95, Neha 94, Rohan 94, Neha 91.

Change Priya's 46 to 55: the red disappears by itself. That's what makes it "conditional".

Colour-scale conditional formatting on a marks table

Custom diagram: colour-scale conditional formatting on a marks table (illustrative names and marks)

Check: Interface Basics (1/2)

Ask a student or group first — then click to check.

Check: Interface Basics (2/2)

Ask a student or group first — then click to check.

Hands-on: Freeze Panes & Print Titles

Freeze headers + names

  1. Click C2.
  2. View → Freeze Panes → Freeze Panes.

✅ Row 1 and columns A–B stay put when you scroll right or down.

Repeat headers on every printed page

  1. Page Layout → Print Titles.
  2. Rows to repeat at top: $1:$1.

✅ Ctrl + P preview: page 2 also starts with the header row.

Freeze Panes is for the screen; Print Titles is for paper/PDF.

Cell Referencing

Crucial when copying formulas!

Relative (A1)

Changes when copied — e.g. line totals.

Absolute ($A$1)

Locked — e.g. VAT rate in $H$1. Toggle with F4.

Mixed ($A1, A$1) locks one axis — useful for matrices.

Worked Example: VAT at 13%

H1 holds the VAT rate 13%. Prices are in B2:B4.

ItemPrice (B)✅ =B2*$H$1 filled down❌ =B2*H1 filled down
Notebook15019.5019.50
Pen253.25 (=B3*$H$1)0 (=B3*H2)
Calculator1,200156.00 (=B4*$H$1)0 (=B4*H3)

The wrong version slides down to empty cells H2, H3, so VAT becomes 0. Press F4 on H1 to lock it.

🎬 Watch: Why $E$2 Stays Put

Hands-on: A 9 × 9 Table in One Formula

  1. New sheet: type 1–9 in B1:J1 and 1–9 in A2:A10 (use AutoFill).
  2. In B2 type =$A2*B$1.
  3. Fill right to J2, then fill B2:J2 down to row 10.

✅ E5 shows 16 (4 × 4) and J10 shows 81.

❓ Why the two $? → $A keeps every formula on column A; $1 keeps every formula on row 1.

Try =A2*B1 instead and look at E5: it's a huge number, not 16.

Check: Relative vs Absolute

Ask a student or group first — then click to check.

Real Case: One Wrong Range

Economics, 2010–2013: an influential Harvard paper on government debt and growth had an AVERAGE formula whose range missed five countries' rows. A graduate student found it in 2013, and the debate over austerity shifted.

Banking, 2012: JPMorgan's "London Whale" losses topped US$6 billion. Its own review found a risk spreadsheet that divided by a sum instead of an average, understating risk.

Audit habit: Ctrl + ` shows all formulas; click a cell + F2 outlines the range it uses.

💬 Discuss: Who should check a spreadsheet before a big decision is made from it?

1979: the first spreadsheet ran on this

An Apple II computer in a museum. Stand-in: VisiCalc ran on it, but VisiCalc is not on screen; no free VisiCalc image exists on Commons

Practicum 3.1

Student data sheet

  1. Headers + 5 students (or student_grades.csv).
  2. Format header; Freeze Top Row.
  3. Bonus column using absolute $G$1.

Credits

  • Image: LibreOffice Calc 6.2 screenshot — The Document Foundation (screenshot by Vulcan), MPL 2.0, via Wikimedia Commons (source)
  • Image: Torbay COVID-19 testing site — Partonez, CC BY-SA 4.0, via Wikimedia Commons (source)
  • Image: DNA helix model — Ude, Public domain, via Wikimedia Commons (source)
  • Image: colour-scale conditional formatting on a marks table (illustrative names and marks) — Made for PRC 110, CC BY 4.0
  • Image: Apple II at Musée Bolo — Rama & Musée Bolo, CC BY-SA 2.0 fr, via Wikimedia Commons (source)
  • Video: How to Flash Fill in Microsoft Excel — Simon Sez IT, YouTube b0KP0qCBxp0, 0:30–1:19
  • Video: Absolute vs Relative References in Excel: the $ Sign Explained — Analyze This, YouTube S8DX3OYVQv0, 0:00–1:27

Teaching content © Arjan KC. Third-party media remain the property of their owners.

Thank You 🙏

Questions on the Excel interface, formatting or references?

PRC 110: Software Skills Practicum · Unit 3.1

Next: Unit 3.2 Formulas and Functions I · Bring your formatted student_grades sheet.