VBA & Macro Problems

Create a Clickable Check Mark or X in an Excel Cell

Huda QurayshiHuda Qurayshi Dec 2, 2026 868 views

Question details

Create a cell-based check mark or X selector and count completed selections in another cell.

Create a Clickable Check Mark or X in an Excel Cell
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet needs a simple control for marking items complete or incomplete and displaying a completion count.
Observed behavior
Users can select a check mark or X for each item, and a separate cell counts the check marks.
Before you start

Choose the cells that will hold the selections, such as A2:A100, and reserve another cell for the completion count. Decide whether a drop-down is sufficient or whether you need a check box or VBA-based toggle.

Solution 1Recommended

Use an Excel drop-down list and COUNTIF

Use this no-code method to select a check mark or X in each cell and count the check marks.

1
Select the input cells

In Excel, select the range A2:A100 where you want users to record their selections.

2
Create the list

Go to Data > Data Validation. Under Settings, choose List, enter ✓,X in the Source box, and click OK.

3
Choose a status

Select a cell in A2:A100, click its drop-down arrow, and choose ✓ or X.

4
Count completed items

Select a cell outside the input range and enter =COUNTIF(A2:A100,"✓"). The result updates as the selections change.

Use an Excel drop-down list and COUNTIF
List separator: If Excel does not accept the comma-separated source, use the list separator configured for your system, or place ✓ and X in separate cells and reference that range as the list source.
Create a no-code checklist

Build a check mark checklist in WPS Spreadsheets

Use a data validation list in WPS Spreadsheets to select ✓ or X, then use COUNTIF to tally completed items without VBA.

  1. 1. Open a worksheet: Open WPS Spreadsheets and create or open a workbook. Select the cells for your checklist, such as A2:A100.
  2. 2. Add a drop-down: On the Data tab, open Validation or Validity, choose a list, and enter ✓ and X as the allowed values. Confirm the settings.
  3. 3. Select statuses: Click a checklist cell and use its drop-down to choose ✓ or X.
  4. 4. Count check marks: In a cell outside the checklist range, enter =COUNTIF(A2:A100,"✓") to count completed selections.
Create a check mark or X checklist without macrosCount completed selections with COUNTIFOpen and save Microsoft Excel XLSX filesUse familiar spreadsheet menus and formulas
microsoft office alternative - wps office

Frequently Asked Questions

Can I make the cell change with one click in Excel?

A drop-down requires you to open the list and choose a value. A linked check box can be toggled with one click; a VBA selection event is another option, but it does not fire again when you click an already-selected cell.

How do I count the X selections instead?

Enter =COUNTIF(A2:A100,"X") in a cell outside the selection range. Adjust the range to match your checklist.

Why is my check box count not changing?

Right-click each form check box, choose Format Control, and check its Cell link on the Control tab. Each check box should link to a different cell within the range used by the COUNTIF formula.

Do I need macros for a check mark drop-down?

No. Use Data > Data Validation and choose List to create the drop-down. VBA is only needed for the worksheet-event toggle described above.