Objectives
- Enter data, use SUM, AVERAGE, and a simple IF.
- Format currency and create a column chart.
Theory: Application software, business information systems.
Tasks (55 minutes)
In a workbook named Surname_IT231_Lab4.xlsx:
- Sheet
Sales: products A–E, columns Quantity, Unit Price, Revenue (=Quantity*UnitPrice). - Totals row with
SUMfor Quantity and Revenue;AVERAGEof Unit Price. - Status column:
IFRevenue ≥ 10000 then"High"else"Normal". - Format Revenue as currency (NPR or local).
- Insert a column chart of Product vs Revenue; title the chart.
- Freeze the header row.
Use at least five product rows with invented but realistic numbers.
Before You Start
- Open a blank workbook in Excel (LibreOffice Calc or Google Sheets also work; formulas are the same).
- Rename the first sheet: double-click the tab and type
Sales. - Every formula starts with
=. After typing one, press Enter and check the result before copying it down.
Step-by-Step Guide
- Headers in row 1.
A1:E1: Product, Quantity, Unit Price, Revenue, Status. Make them bold. -
Sample data (rows 2–6). Use these numbers so you can check your results:
Product Quantity Unit Price Revenue (expected) Status (expected) A 120 85 10,200 High B 45 250 11,250 High C 300 20 6,000 Normal D 18 450 8,100 Normal E 60 175 10,500 High - Formulas in row 2, then copy them down to row 6 by dragging the fill handle:
- Revenue
D2:=B2*C2 - Status
E2:=IF(D2>=10000,"High","Normal")
- Revenue
- Totals in row 7.
A7: Total.B7:=SUM(B2:B6)gives 543.C7:=AVERAGE(C2:C6)gives 196.D7:=SUM(D2:D6)gives 46,050. - Currency format. Select
C2:D7, then Home → Number Format → Currency (choose NPR/”Rs” or your local symbol). - Chart. Select
A1:A6, hold Ctrl, and selectD1:D6. Then Insert → Column Chart → Clustered Column. Click the chart title and type “Revenue by Product”. Product B should have the tallest bar. - Freeze the header. Click
A2, then View → Freeze Panes → Freeze Top Row.
Check Your Work
| Checkpoint | How to verify |
|---|---|
| Formulas, not typed numbers | Clicking any Revenue or Status cell shows a formula in the formula bar |
| Totals | Quantity 543; Revenue 46,050; average Unit Price 196 (with the sample data) |
| Chart | Column chart titled, with product names on the axis |
| Formatting | Currency symbol shown; the header row stays visible when scrolling |
Common Errors and Fixes
| Problem | Fix |
|---|---|
#NAME? |
A function name is misspelt (e.g. =SUMM) or the text is missing quotes, as in "High". |
| Every Status shows “Normal” | The numbers were typed as text (left-aligned). Retype them, or use Data → Text to Columns → Finish. |
| Tax is 0 in rows below the first | The rate reference was not absolute. Use $B$1, not B1. |
##### in a cell |
The column is too narrow for the number. Double-click the column border to auto-fit it. |
Extension Task
For those who finish early: Add a column Rank using =RANK(D4,$D$4:$D$8) (adjust the rows to your layout), and apply Conditional Formatting → Data Bars to Revenue. Which product would you promote next month, and why?
Deliverable
The .xlsx file. Print the Sales sheet to PDF if required.
Viva
- What is a cell reference? Give a relative and an absolute example.
- Why is a chart useful for managers?
- What does
SUMignore that you still must check by eye? - How is a spreadsheet different from a word-processor table?
- What is the difference between a formula and a function?
- Explain what the fill handle does when copying
=B4*C4down one row. - What will
=IF(D4>=10000,"High","Normal")return if D4 is exactly 10000? - What is the difference between Freeze Top Row and Freeze Panes?

