Count ticks in checkboxs

Dr_Worm

Board Regular
Joined
Jul 28, 2003
Messages
103
Hi,

I need to count all records with a tick in their "Supervisor" checkbox, the total is to be displayed on a report. I've tried to use DCOUNT but can't get it to work.

Do I need to count on the report, or within the query grid, or SQL? :biggrin:
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
If the "Supervisor" checkbox is linked to a field, all YES values will be -1, and all NO values will be zero.

By creating a textbox with the expression
=-SUM([Supervisor]) {Note: adjust field name}
and placing that on a section header / footer, you'll get totals for all supervisors in each group. Place the same textbox on a Report Header / Footer to get the total for the whole report.

Denis
 
Upvote 0

Forum statistics

Threads
1,221,907
Messages
6,162,777
Members
451,788
Latest member
Hideoshie

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