Related lecture: Lecture 6CLO 3Duration: 2 hours
| Item | Details |
|---|---|
| 1. Lab number | Lab 06 |
| 2. Lab title | Microsoft Excel / Google Sheets formulas and data analysis |
| 3. Related lecture | Lecture 6: Microsoft Excel and Google Sheets |
| 4. Relevant CLO | CLO 3 |
| 5. Duration | 2 hours |
Requirements
6. Required hardware
- Computer
7. Required software
- Microsoft Excel or Google Sheets
- Bhimber Mart sample dataset (CSV) from the Resources page
8. Learning objectives
- Import a dataset and write formulas.
- Use functions and absolute references.
- Sort, filter, format and chart data.
9. Background theory
Formulas calculate from cell references; functions summarise ranges; absolute references fix constants; charts visualise patterns.
Revise the detailed explanation in Lecture 6 before starting.
10. Step-by-step procedure
- Download bhimber-mart-sales.csv from the Resources page and open it in Excel (or File → Import in Sheets).
- Save as Lab06_YourName.xlsx (or rename the Sheet).
- Add a column Total Rs with =C2*D2 (adjust to your columns) and fill down.
- Below the table, calculate Total sales (SUM), Average sale (AVERAGE), Highest (MAX), Lowest (MIN) and Number of items (COUNTA).
- Add a Status column: =IF(StockLeft<10,"Low stock","OK") using the correct cell.
- Use COUNTIF to count Low stock items.
- Type 5% in a cell labelled Discount. Add Discounted Total = Total*(1-$Discount cell$) and fill down. Change the discount to 10% and observe.
- Format price and total columns as currency (Rs) with no decimals.
- Apply conditional formatting to Status: ‘Low stock’ in red.
- Turn on Filter and show only the Grocery category; copy the result to a new sheet named Grocery.
- Sort the main table by Total, largest to smallest.
- Insert a column chart of the top 10 items by Total with a title and axis labels; insert a pie chart of sales by category using a small summary table (SUMIF).
- Freeze the header row (View → Freeze Panes).
11. Practical task
Complete the Bhimber Mart analysis workbook with formulas, status flags, discount scenario, filtered Grocery sheet, sorted table and two charts.
12. Expected output
Lab06_YourName.xlsx with sheets Sales and Grocery, summary statistics, two titled charts and a short findings note.
13. Screenshots to capture
Capture these important stages and paste them in your report with a caption (Figure 1, Figure 2 …). Press Windows + Shift + S on Windows, Power + Volume down on Android.
Screenshot 1: Formula Bar showing the IF formula
Screenshot 2: Discount column with absolute reference
Screenshot 3: Conditional formatting highlighting low stock
Screenshot 4: Filtered Grocery view
Screenshot 5: Column chart with title
14. Troubleshooting guide
| Problem | Solution |
|---|---|
| Formula shows as text | The cell is formatted as Text or the = is missing; change format to General and retype. |
| #VALUE! error | A number column contains text such as ‘Rs’; remove it and use number formatting instead. |
| Discount gives wrong values after copying | The discount cell is not absolute; add $ signs. |
| Sorting mixed up items and prices | Only one column was selected; undo and select the whole table. |
15. Lab questions
- What was the total sales figure?
- How many items were Low stock?
- What changed when the discount moved to 10%?
- Which category earned the most?
16. Viva questions
- Write the syntax of IF.
- What does $ do in a reference?
- Difference between COUNT and COUNTA?
- Why use a column chart here?
17. Lab assessment rubric (20 marks)
| Criterion | What is expected | Excellent (5) | Good (4) | Satisfactory (3) | Needs improvement (1–2) |
|---|---|---|---|---|---|
| Formulas | Totals, statistics and IF correct | Fully meets | Minor gaps | Partly meets | Missing or incorrect |
| References | Absolute reference used correctly for discount | Fully meets | Minor gaps | Partly meets | Missing or incorrect |
| Data tools | Sort, filter, conditional formatting and freeze panes applied | Fully meets | Minor gaps | Partly meets | Missing or incorrect |
| Charts and findings | Two titled, labelled charts and a clear findings note | Fully meets | Minor gaps | Partly meets | Missing or incorrect |
18. Submission requirements
- File: Lab06_YourName.xlsx (or shared Sheet link).
- Upload to ICT-Labs.
- Include screenshots in a short report or a ‘Notes’ sheet.
- Deadline: before next lab.
Download the lab report template (Word).
START WELL TO END WELL