Locked lesson.
About this lesson
Exercise files
Download this lesson’s related exercise files.
04-06-Create Dynamic Checklists-Start.xlsx11 KB 04-06-Create Dynamic Checklists-Complete.xlsx
17.4 KB 4.06 create-dynamic-checklists - Exercise.docx
43.4 KB Exercise - Create Dynamic Checklists.xlsx
10.5 KB 4.06 create-dynamic-checklists - Exercise solution.docx
223.4 KB Exercise Solution - Create Dynamic Checklists.xlsx
15.5 KB
Quick reference
Create Dynamic Checklists
Use Form Controls and Conditional Formatting to create Dynamic Checklists.
When to use
We use this technique whenever we want to create a list with checkboxes that applies formatting when the checkbox is checked.
Instructions
Form Controls are a great way to create interactive checklists. For example, maybe we have a to-do list of items, or project tasks that we want to be able to check off.
We can use conditional formatting with form controls to apply formatting to cells once the box has been checked.
In this example, we have a reading list and we want the book titles to show grayed out with a strike-through once we have read them.
Turn on the Developer Ribbon
Form Controls live on the Developer ribbon in Excel. By default, the Developer ribbon isn't turned on.
- Click on the File tab.
- Click Options.
- Click Customize Ribbon.
- In the right-hand pane, place a check next to Developer.
- Click OK.
Use Form Controls to Add Checkboxes
Now we can add checkboxes to our spreadsheet.
- Click in cell D7.
- From the Developer tab, in the Controls group, click Insert.
- From the Form Controls section, choose Check Box (Form control).
- Draw a checkbox in cell D7.
- Delete the checkbox label.
- Position the checkbox.
- Use the auto-fill handle and drag down to a checkbox is placed next to every book in the reading list.
Understand how Checkboxes Work
When a check is placed in a checkbox, Excel sees it as a TRUE result. When a check is removed from a checkbox, Excel sees it as a FALSE result. We can use these TRUE and FALSE results to apply conditional formatting.
Cell Link
We can link checkboxes to a cell in the worksheet. By linking to a cell, we can see the TRUE or FALSE output.
- Click on the first checkbox.
- Right-click and choose Format Control.
- From the Control tab, click in Cell link.
- Select cell E7.
- Click OK.
Now, when we place a check in the box, we can see a TRUE result.
- Repeat these steps for all checkboxes.
Apply Conditional Formatting
We can now set up a conditional formatting rule that uses the TRUE or FALSE result to apply formatting to the reading list.
- Select the reading list.
- From the Home tab, in the Styles group, click Conditional Formatting.
- From the Select a Rule Type area, choose Use a formula to determine which cells to format.
Our formatting rule says that when the value in the cell is TRUE, apply the specified formatting to the row.
- Click Format.
- From the Font tab, in the Effects area, select Strike through.
- From the Color palette, choose a light gray.
- Click OK.
Login to download
Lesson notes are only available for subscribers.