Checkbox Question

morningglow16

New Member
Joined
Jun 13, 2011
Messages
11
Hey guys, long time lurker first post! I have a question with a spreadsheet i'm working on..how do i work a series of checkboxes (for days of the week) into a payroll formula.
if the employee works monday and wednesday, i only want to pay them for those days every week, only those checkboxes would be checked. How would i insert the checked boxes into a formula (using day of week serial number formula)?
i hope i'm explaining the question properly. i'm using form checkboxes by the way
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
The easiest way to incorporate a checkbox into a formula is to link the checkbox to a cell and use that cell's value in the formula.
 
Upvote 0
yes that's what i have done, it shows the true/false value cells under the checkbox cells. how would i work the true/false values into a day of the week formula? does excel have the capability to differentiate days of the chosen days of the week? thanks for the response.
 
Upvote 0
i think i have most of it figured out, but how would i put a if/then function in my formula? as of now, for mon-thurs i have:

'1-{2;3;4;5}' <- using the weekday function

using the formula as it's based, how would i say enter in, if monday box (checked) is true, than 2 (using the weekday serial number system)? if i can get this figured out, the rest of my formula i think will work. thanks again.
 
Upvote 0

Forum statistics

Threads
1,224,525
Messages
6,179,317
Members
452,905
Latest member
deadwings

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