+ Reply to Thread
Results 1 to 14 of 14

adding a tally for tick boxes

  1. #1
    Registered User
    Join Date
    01-28-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    14

    adding a tally for tick boxes

    Hi need to make a simple form like bellow

    Names Happy ok unhappy
    bob
    dave

    they then tick a box under happy ok or unhappy,what i need is to keep the results of how many times they have said any of the above.
    so one day bob ticks happy=1 next day happy=1 to tally is two and so on?

    Thanks

  2. #2
    Registered User
    Join Date
    07-05-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    74

    Re: adding a tally for tick boxes

    It's hard to picture this when we don't have an example spreadsheet (it's always good to upload one) but it sounds like you might be able to use s drop down yes/no box for each day and then us a pivot table to collate the results.

  3. #3
    Registered User
    Join Date
    01-28-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    14

    Re: adding a tally for tick boxes

    Here is sample attached

    Thanks
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: adding a tally for tick boxes

    Hello
    You need to Right click each Check box and Format Control to assign a Cell link, then count the TRUE and FALSE values, perhaps with the Countif function.

    Hope this helps.
    DBY

  5. #5
    Registered User
    Join Date
    01-28-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    14

    Re: adding a tally for tick boxes

    Yes i have done =Countif true = 1 and so on but this doesnt create a tally of keep track of how many times happy has been tick'ed

  6. #6
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: adding a tally for tick boxes

    Have you linked the Check boxes to cells in order for the Countif to count?

  7. #7
    Registered User
    Join Date
    01-28-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    14

    Re: adding a tally for tick boxes

    yes i get a 1 when i ticket thats fine, so say i tick box i then get a 1 in C1 i then want that 1 to be counted in D1. But then i restet form, tick box again i want D1 to then count two? do you understand?

  8. #8
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: adding a tally for tick boxes

    I think I get it. To do that you're going to have to use some VBA code to create a counter of the number of times a particular box is ticked.

  9. #9
    Registered User
    Join Date
    01-28-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    14

    Re: adding a tally for tick boxes

    ok can anyone help with that?

  10. #10
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: adding a tally for tick boxes

    Hi
    I Know a little VBA but I'm no expert. You will probably have to replace your check boxes with Active X controls and then apply some code such as:

    Please Login or Register  to view this content.
    That should increment D1 by 1 every time the check box is TRUE.

  11. #11
    Registered User
    Join Date
    01-28-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    14

    Re: adding a tally for tick boxes

    Ah that seems to have done it thanks

  12. #12
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: adding a tally for tick boxes

    Glad to have helped. If you need more information about VBA then post in the VBA forum, perhaps with a link back to this thread as reference. There are some VBA experts here who might be able to help you further.

    DBY

  13. #13
    Registered User
    Join Date
    01-28-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    14

    Re: adding a tally for tick boxes

    ok one last question if i do this how do i get the tally to fill out on another sheet

  14. #14
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: adding a tally for tick boxes

    Hi
    You would just reference the sheet in the code, for example in it's simplest form to put the count in sheet 2:

    Please Login or Register  to view this content.
    DBY

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1