Google Sheets Sum Checkbox: 3 Ways to Count Checked

How-to basics · Updated November 23, 2026

To sum checkboxes in Google Sheets, use =COUNTIF(range, TRUE) to count checked boxes, or =SUM(ARRAYFORMULA(range*1)) to add up values assigned to checked boxes. The simplest method is the COUNTIF formula, which counts every cell in your checkbox range that contains TRUE (the value a checked box holds).

How Checkboxes Work in Google Sheets

When you insert a checkbox in Google Sheets (via Insert > Checkbox), the cell doesn’t contain text—it contains a boolean value. An unchecked box holds FALSE, and a checked box holds TRUE. You can see this by selecting a checkbox cell and looking at the formula bar: it shows TRUE or FALSE, not the checkmark graphic. This boolean nature is what makes summing possible with standard functions.

Importantly, checkboxes are not numbers, so a plain =SUM(A1:A10) will return 0. You must either count the TRUE values or convert them to 1s and 0s. Google Sheets treats TRUE as 1 and FALSE as 0 in arithmetic operations, which is why =SUM(A1:A10*1) works—the multiplication by 1 coerces each boolean into a number.

Method 1: COUNTIF for Counting Checked Boxes

The most direct way to “sum” checkboxes—if you just want the number of checked items—is to count the TRUE values.

  • Formula: =COUNTIF(A2:A100, TRUE)
  • What it does: Counts every cell in the range that equals TRUE (checked).
  • Example: If you have checkboxes in A2:A10 and boxes A2, A5, and A7 are checked, the formula returns 3.

This is ideal for to-do lists, attendance sheets, or any checklist where each checked item counts as one. It ignores unchecked boxes (FALSE) and any blank cells in the range, so you can include extra rows safely.

Method 2: SUM with ARRAYFORMULA for Weighted Values

If each checkbox represents a different value—say, a task with a point value—you can sum those values conditionally. The trick is to multiply the boolean by the value column.

Assume checkboxes are in A2:A10 and corresponding values (e.g., points) are in B2:B10. Use:

=SUM(ARRAYFORMULA(A2:A10 * B2:B10))

This multiplies each TRUE (1) or FALSE (0) by its adjacent value, then sums the results. For example, if A2 is TRUE and B2 is 5, that contributes 5; if A3 is FALSE and B3 is 10, it contributes 0. The result is the total of all values where the box is checked.

Without ARRAYFORMULA, the multiplication would only work on a single cell. In Google Sheets, ARRAYFORMULA lets the operation apply to the whole range at once. (In Excel, you’d use =SUMPRODUCT(A2:A10*B2:B10) instead—the syntax differs.)

Method 3: SUMIF for Conditional Sums

You can also use SUMIF to sum a value column based on the checkbox state. This is cleaner than ARRAYFORMULA if you prefer a dedicated conditional function.

Using the same layout (checkboxes in A2:A10, values in B2:B10):

=SUMIF(A2:A10, TRUE, B2:B10)

This sums only the values in B where the corresponding A cell is TRUE. It returns the same result as the ARRAYFORMULA method but is easier to read and doesn’t require array syntax. For counting instead of summing values, replace SUMIF with COUNTIF as shown earlier.

Common Problems and How to Fix Them

  • Formula returns 0 even when boxes are checked. Check that the checkbox cells actually contain TRUE. If you typed “TRUE” as text, it won’t work. Re-insert the checkbox via Insert > Checkbox.
  • Range includes header or blank cells. COUNTIF ignores blanks, but if a header contains the word “TRUE” as text, it will be counted. Keep your range to only checkbox cells.
  • SUM with *1 doesn’t work without ARRAYFORMULA. In Google Sheets, =SUM(A2:A10*1) only works if you wrap it in ARRAYFORMULA, otherwise it evaluates only the first cell. Use =SUM(ARRAYFORMULA(A2:A10*1)).
  • Checkboxes are linked to a different cell. If you copied checkboxes from a data validation rule, they might reference another cell. Select the checkbox, look at the formula bar, and ensure it shows TRUE/FALSE directly.

Using Checkboxes in Conditional Formatting and Charts

Beyond summing, checkboxes often feed into dashboards. You can use the TRUE/FALSE values to drive conditional formatting—for example, highlight a row green when its checkbox is checked. Go to Format > Conditional formatting, set “Custom formula is” to =$A2=TRUE, and apply it to the row range.

For charts, you can create a summary table that counts checked and unchecked items, then insert a pie chart. For instance, in C1 put “Checked”, in D1 put =COUNTIF(A2:A10, TRUE), in C2 put “Unchecked”, and in D2 put =COUNTIF(A2:A10, FALSE). Then select C1:D2 and insert a chart.

Alternatives to Checkboxes for Summing

If checkboxes feel limiting, consider these alternatives:

  • Dropdown with Yes/No: Use Data > Data validation > Dropdown, then use COUNTIF to count “Yes”. This works the same but allows more than two states.
  • Manual 1/0 entry: Type 1 or 0 directly and use SUM. Simpler for calculations but less visual.
  • Conditional formatting with text: Type “x” and use COUNTIF to count “x”. Not as interactive but works similarly.

Frequently Asked Questions

Why does my SUM formula return 0 with checkboxes?

Because checkboxes contain TRUE/FALSE, not numbers. SUM ignores boolean values. Use COUNTIF to count TRUE, or convert with ARRAYFORMULA.

Can I make a checkbox add a specific value, like 5 points?

Yes. Put the value in a separate column and use =SUMIF(A2:A10, TRUE, B2:B10) where B holds the points. Each checked box adds its adjacent value.

How do I count unchecked boxes?

Use =COUNTIF(range, FALSE). This counts all cells that are FALSE (unchecked).

Does this work in Excel as well?

Excel uses form controls for checkboxes, which return TRUE/FALSE too, but the formulas differ. In Excel, =COUNTIF(range, TRUE) works, but ARRAYFORMULA doesn’t exist—use SUMPRODUCT instead.

Can I sum checkboxes across multiple sheets?

Yes, but you need to reference each sheet separately. For example, =COUNTIF(Sheet1!A2:A10, TRUE) + COUNTIF(Sheet2!A2:A10, TRUE). Or use a helper cell on each sheet and sum those.

Is there a way to make a checkbox automatically check based on another cell?

Not directly. Checkboxes are manual inputs. You can use a formula to display TRUE/FALSE in a separate cell, but the checkbox itself won’t change unless you use a script.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.