Multiply Excel Cells When a Form Checkbox Is Checked
Question details
Use a Form checkbox to control whether two Excel cells are multiplied.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet contains a Form checkbox and two values that should be multiplied only when the checkbox is checked.
- Observed behavior
- The linked cell should supply TRUE or FALSE so the formula returns the product when checked and zero when cleared.
Confirm that the checkbox is a Form control and that B7 and C7 contain the values to multiply. Make sure D7 is available for the checkbox link and E7 is available for the result.
Link the Form checkbox and multiply by its TRUE or FALSE value
Use this formula-based method to control the result without a macro.
Right-click the Form checkbox, select Format Control, open the Control tab, and set Cell link to D7. Click OK.
Select E7 and enter =B7*C7*D7, then press Enter.
Click the checkbox. When checked, D7 is TRUE and E7 shows B7 multiplied by C7; when cleared, D7 is FALSE and E7 shows zero.
Right-click the checkbox, choose Edit Text, and delete the displayed label. Click outside the control to finish.

Calculate from a Checkbox Value in WPS Spreadsheet
Open the workbook in WPS Spreadsheet and use the same linked TRUE or FALSE value to control the multiplication. Form control editing options can vary by version.
- 1. Open the workbook: In WPS Spreadsheet, choose Open and select the Excel workbook containing the checkbox.
- 2. Check the linked cell: Click the checkbox and check whether D7 changes between TRUE and FALSE. If it is not linked, use the checkbox's control properties to set D7 as its linked cell, if that option is available in your version.
- 3. Enter the formula: Select E7, enter =B7*C7*D7, and press Enter.
- 4. Test and save: Click the checkbox to test both states, then choose File > Save. If your version cannot edit the checkbox link, set it in Excel or enter TRUE and FALSE in D7 directly.

Frequently Asked Questions
Do I need a macro to multiply cells based on a checkbox?
No. Link the Form checkbox to D7 and enter =B7*C7*D7 in E7. The linked TRUE or FALSE value controls the result.
Why does the formula return zero when the checkbox is cleared?
Clearing the linked checkbox sets D7 to FALSE. In the multiplication formula, FALSE acts as zero, so the result is zero.
How do I hide the text next to the checkbox?
Right-click the Form checkbox, select Edit Text, and delete the displayed text. The checkbox and its internal name remain.
How can I check whether the checkbox is linked correctly?
Click the checkbox and watch D7. It should change between TRUE and FALSE. If it does not, right-click the checkbox and check Format Control > Control > Cell link.




