Check box formula question

simon frost

New Member
Joined
Sep 17, 2014
Messages
4
Hi All,

newbie here so be gentle :)

I have created a scheduling spreadsheet and i want to put in an option that if an employee doesnt take their 1 hour lunch break i would check the check box (returning a true value) and the formula would add an hour to the total hours for that day.

Im good with creating the check box etc but im stumped on the formula side.

Any thoughts ?

cheers
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Welcome to MrExcel.

If you link your Checkbox to a cell you can use that cell in your calculation.
 

simon frost

New Member
Joined
Sep 17, 2014
Messages
4
cheers. Ok i found a way of doing it. Had to link every check box to a seperate cell then hide the linked cells. The only problem is that as my spreadsheet is very large (52 weeks of the year in tabs with 14 staff per tab, plus Quarterly summeries etc) my spread sheet now runs at slower than a snails pace. I have lots of COUNTIF formulas for counting annual leave , sick leave days.

Anyway of doing the check box thing as described above but with out check boxes ? maybe with a button or a toggle button?

cheers
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,117
Messages
5,835,484
Members
430,358
Latest member
zzc1128

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
Top