Check boxes for adding up numbers

xdj

New Member
Joined
May 2, 2005
Messages
15
Howdy,
It sounds simple enough, but I can't seem to grasp the concept.
I have a column of prices, I would like to have check boxes in a column beside the prices so that I can check the boxes and that they give me the sum of the prices that are checked.
Is that possible?
Any help would be appreciated.

Cheers,

Chris
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Sure, make sure you're using the Checkboxes from the "Control Toolbox" Toolbar, not the "Forms" Toolbar...

once you get your checkboxes in (or while you're putting them in), right click each one, properties.
Find the Linked Cell Property. Set that to a cell adjescent to the cell with the value you want summed. For example, if you're wanting to sum A1 based on that checkbox, put B1 as the linked cell..

Once you have all those done, each cell in column B will now = TRUE or FALSE based on the checkbox being checked...

then you can use Sumif
=SUMIF(B1:B10,TRUE,A1:A10)

Hope this helps...
 
Upvote 0
Thank you for the response.
I'm having problems with the check box, it's always checked. I can not uncheck it.
Any suggestions?

Thank you,

Chris
 
Upvote 0
Make sure to Exit Out of Design Mode.

That's a toggle button on the "Control Toolbox" Toolbar
 
Upvote 0
jonmo1,
Now all that happens is when I check the box, TRUE appears in the location where the price is and FALSE when it is unchecked.
What did I do wrong?
 
Upvote 0
The linked cell of each checkbox should be a cell NEXT TO the cell with the price...Not the cell with the price itself..
 
Upvote 0
Sweet!
Is there a way for the "TRUE" and "FALSE" not to be displayed?
Thanks,
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top