Excel Exercise Template: Build a Practice Workbook
In this article
An Excel exercise template is a workbook you set up once with labelled input cells, a data table, and a separate answer area, so people can practise formulas, functions, or scenario modelling on their own data without a trainer rebuilding the sheet each time. Build yours in four stages: a cover sheet with instructions and version notes, an input sheet with clearly marked editable cells, a data table with realistic test records, and an answer or check sheet that validates results with formulas rather than hard-coded numbers. Once the structure is in place you can copy the file for each exercise and only swap the data.
What You'll Need
- Excel for Microsoft 365, Excel 2021 or later, or a spreadsheet app that opens .xlsx files (some functions differ in older versions and in alternative apps)
- A blank workbook saved to a known folder, ideally with a consistent naming convention such as Exercise-SalesAnalysis-v1.xlsx
- Some sample data, even 20 to 50 rows, so formulas have something real to calculate
- Decide in advance whether the exercise teaches cell references, lookup functions, pivot tables, or data cleaning; each needs a different layout
- Optional but useful: a shared drive or team site if several people will use the same template
Step-by-Step
- Sketch the learning goal in one sentence. Write it on paper before touching Excel: for example, "the learner can use VLOOKUP to pull a price from a product table into an order sheet." This sentence decides which sheets and columns you need and stops the workbook from bloating with irrelevant tabs.
- Create the sheet structure. Add four worksheets and name them in a way that survives being copied: Cover, Input, Data, and Answers. Right-click a sheet tab and choose Rename. Keep sheet names short and free of spaces if you plan to reference them in formulas.
- Build the Cover sheet. Put the exercise title, the goal sentence, estimated time, and a short instructions block in plain merged cells or a text box. Add a version line and a date field so you can tell one revision from another. Do not put formulas here; it should stay readable even if someone breaks the other sheets.
- Set up the Input sheet with obvious editable cells. Create two labelled areas: a block of parameters (for example, tax rate, discount threshold) and a block where the learner types or pastes their own records. Apply a light fill colour to every editable cell and a different shade to labels, then add a note in the corner: "Edit only cells with the yellow fill." Protect nothing yet; you will lock it later.
- Populate the Data sheet with test records. Enter realistic rows with a mix of values: at least one row that should be excluded by a filter, one duplicate, one blank field, and one very large number. These edge cases are what make an exercise useful, and they surface formula errors early. Format the range as a table with Ctrl+T so ranges expand as rows are added.
- Write the reference answers on the Answers sheet using formulas. Never type a result by hand. If the task is to calculate total order value, the answer cell should contain a formula that reads from the Input sheet, so it recalculates when someone changes the data. This is also how you check a learner's work later: compare their number to yours dynamically.
- Add a self-check column. Next to each answer, put a formula such as =IF(ROUND(learner_cell,2)=ROUND(answer_cell,2),"Correct","Not yet"). Rounding matters because floating-point results can differ in the last decimal place while still being correct. This turns the workbook into something a learner can use alone.
- Set up data validation on input cells where it helps. Select the cell, open Data > Data Validation, and restrict it to a list or a whole-number range. For example, a quantity field can be limited to whole numbers between 1 and 1000. Keep validation permissive enough that it does not block legitimate practice data.
- Apply conditional formatting to highlight problems. On the Input sheet, select the data range and use Home > Conditional Formatting > Highlight Cells Rules to shade blanks or out-of-range values. This gives learners instant visual feedback without you writing long error messages.
- Freeze panes and widen columns. Select the cell below your header row and choose View > Freeze Panes > Freeze Top Row. Set column widths so no header is cut off, and turn off gridlines on the Cover sheet via View for a cleaner look.
- Protect the locked sheets. Select the cells learners may edit, open Format Cells > Protection, and clear the Locked checkbox. Then use Review > Protect Sheet on the Data and Answers sheets, leaving a password only if you genuinely need one, because a forgotten password is not recoverable. Warn users that protection is not encryption and does not stop someone determined to remove it.
- Test the workbook as a beginner would. Copy the file, delete your own answers, and try to complete it from the instructions alone. If a step is ambiguous, rewrite the instruction rather than adding another sheet. Check that every formula recalculates when you change an input.
- Save a master copy and a student copy. Keep the master with answers visible to you only, and distribute the student version with the Answers sheet hidden (right-click the tab > Hide) or removed. Name them clearly so they never get mixed up.
Common Mistakes
The most frequent error is hard-coding results into the answer sheet. If a number is typed rather than calculated, the exercise stops being a check and becomes just another example, and it silently goes stale when the data changes.
Second, mixing inputs and answers on one sheet. Learners then cannot tell which cells are theirs to fill in, and protection becomes impossible to apply sensibly. Keep the separation from the start.
Third, building an exercise around clean data only. Real spreadsheets contain blanks, duplicates and text where a number should be, and a template without those cases teaches the wrong instincts.
Fourth, using absolute references inconsistently. A formula that works when filled down one column but breaks across rows usually has a misplaced dollar sign. Lock the parts of the reference that must not move and test by filling in both directions.
Finally, over-protecting. Locking every sheet except one blank cell frustrates people, and a lost protection password cannot be recovered through normal means, only worked around by copying the contents into a new workbook.
Tips
Name the key ranges with Formulas > Define Name, such as ProductList or TaxRate, then write formulas against the name instead of a cell address. Named ranges survive row insertion and make instructions easier to follow.
Add a short "before you start" line to the Cover sheet telling learners to work on a copy, not the shared original. It prevents a whole class from editing one file at once.
Build each exercise as a separate sheet inside one workbook if you run a series, with the Cover sheet acting as a menu of links. That keeps distribution to one file while letting people jump straight to the topic they need.
Round comparison formulas to two decimal places. Two calculations that are mathematically identical can differ in the fifteenth digit, and a strict equality check will report a correct answer as wrong.
Keep a changelog on the Cover sheet. When you tweak a task, note what changed and when, so anyone holding an older copy knows to ask for the current version.
Troubleshooting
The self-check says "Not yet" but the number looks right. Compare more decimal places by widening the cell, then wrap both sides of your check in ROUND. If the values genuinely differ, check whether one sheet is summing a filtered range or the whole column.
Formulas show as text instead of calculating. The cell is probably formatted as Text. Change the format to General, then re-enter the formula by pressing F2 and Enter; changing the format alone does not always force a recalculation.
Protected sheets block a legitimate edit. Unprotect with Review > Unprotect Sheet, make the change, then re-protect. If the password is unknown and the sheet was protected without one, Unprotect Sheet works directly.
Learner formulas return #REF! after rows were deleted. Deleting entire rows breaks references that pointed into them. Rebuild those references as ranges or named ranges, which adjust automatically.
Lookup formulas return #N/A. The lookup value is usually not an exact match, often due to trailing spaces or text stored as numbers. Use TRIM and check the cell format on both sides of the match.
Frequently Asked Questions
Can I build the template in Google Sheets or LibreOffice?
Yes, the structure is the same, but some functions and keyboard shortcuts differ. If learners will use Excel, build and test in Excel to avoid compatibility surprises when the file is opened elsewhere.
Should I hide the Answers sheet or delete it?
Hiding is easier to reverse and keeps the file intact, but anyone can unhide it. If the answers must stay private, remove the sheet from the distributed copy and keep the master separate.
How many rows of sample data does an exercise need?
Enough to make the task meaningful, typically 20 to 50. Include edge cases such as a duplicate and a blank, because they are what teach people to check their results.
Why does my conditional formatting not update?
Check that the rule's range covers the cells you expect and that the rule order has not been overridden by a higher one. Open Home > Conditional Formatting > Manage Rules to see the applied range.
Can several people use one template at the same time?
Only if it is stored where co-authoring is supported. Otherwise each person should save their own copy, and you should state that plainly on the Cover sheet.
Do I need macros?
No. Everything described here works with ordinary formulas, validation and protection, and a macro-free workbook is safer to share and less likely to be blocked by security settings.