+ Reply to Thread
Results 1 to 2 of 2

Tallying of check-box responses without linked cells.

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    73

    Tallying of check-box responses without linked cells.

    Hi folks,

    I know that for every check-box, you can set-up a linked cell. To count the number of boxes ticked, you could simply do a countif of 'TRUE' values...

    But what if you have thousands of check-boxes, and don't wish to set these references up individually - after all, they'd need to be assigned to their own cell! Can a single cell 'stack' the number of 'true' responses linked to it? I'm guessing not..

    Could I perhaps instead use a macro to count, in a specified range, e.g checkbox1 - checkbox 10, the number assigned the 'TRUE' property?

    I'd then output that value to cell, along the lines of Cells(2,3).Value = Count (Having set up the count variable to be the number of 'True' responses.)

    Many thanks in advance for any advice offered.

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Tallying of check-box responses without linked cells.

    To loop through them to count 'true' I believe they have to be activeX checkboxes instead of the form controls (which it sounds like you have).
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 10-28-2012, 09:22 PM
  2. Check Boxes with linked cells via format control
    By DataQueen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-22-2011, 05:58 PM
  3. Replies: 0
    Last Post: 06-06-2006, 04:40 AM
  4. Check boxes linked to other cells?
    By C. Cunningham in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-29-2005, 07:35 PM
  5. [SOLVED] Macro to check for blank responses
    By WillRn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2005, 07:05 PM

Tags for this Thread

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