+ Reply to Thread
Results 1 to 5 of 5

Checkboxes: Place Identical Check Boxes in Entire Column?

  1. #1
    Registered User
    Join Date
    02-10-2010
    Location
    New Jersey
    MS-Off Ver
    Excel 2016
    Posts
    22

    Checkboxes: Place Identical Check Boxes in Entire Column?

    Hello, everyone. I am using Excel 2010 on Windows 10. I rarely use Excel, so please consider me a novice.

    I'm designing a spreadsheet for my movie collection. The purpose of it is to keep track of where my movies are in my home. It's nothing fancy, but I do want to include a few odds and ends. (I've designed a database that has more detailed information. This spreadsheet is a stripped-down version of the database.)

    I want to include a column for Foreign movies. This column should have a checkbox in each cell. I want the default setting to be unchecked. If I check the box, it means the corresponding film is foreign. So, I want the value to be yes/no. I do not want or need the actual value to be displayed in the spreadsheet.

    As of right now, I know how to put one checkbox in a cell. But I do not know how to put a check box in every cell in the column (excluding the header row, which says "Foreign").
    So, a couple of simple questions, please.

    1) Is it possible to put checkboxes in an entire column, excluding the header row, and have the checkboxes refer to the same information? By "the same information," I mean each checkbox should be yes/no. Yes, if checked.
    2) I will eventually want to tally up all of the checked boxes. My goal is to tally up all of the rows with information in them (in other words, a total count of movies), tally up all of the checked boxes in the Foreign column, and have a cell that displays what percentage of total movies are foreign. For example, if I have a total of 100 movies, and 18 of them are checked in the Foreign column, then 18% of my total movies are foreign. I'm sure this is possible, but what I have not yet figured out is how to create a formula that counts all of the rows EXCEPT empty ones. Is that possible to do?

    That's what I need to start off with. I'm attaching a copy of my spreadsheet so you can see what I'm doing. Thank you so much! Jd
    Attached Files Attached Files
    Last edited by jdanniel; 04-24-2018 at 04:27 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,602

    Re: Checkboxes: Place Identical Check Boxes in Entire Column?

    Instead of checkboxes, use the worksheet doubleclick event to write/clear "Yes" in column E:
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    02-10-2010
    Location
    New Jersey
    MS-Off Ver
    Excel 2016
    Posts
    22

    Re: Checkboxes: Place Identical Check Boxes in Entire Column?

    I was able to view your modified spreadsheet. Thank you.

    I was thinking about something...
    Would it be easier to just type an X or an F (for Foreign) in the column?

    Or would that make doing formulas more difficult?
    Last edited by jdanniel; 04-25-2018 at 03:59 PM.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,602

    Re: Checkboxes: Place Identical Check Boxes in Entire Column?

    It would make no difference to the formula whether (or what) you type directly in the cell or doubleclick it.

  5. #5
    Registered User
    Join Date
    02-10-2010
    Location
    New Jersey
    MS-Off Ver
    Excel 2016
    Posts
    22

    Re: Checkboxes: Place Identical Check Boxes in Entire Column?

    I figured out exactly how to do what I want, easily. Just use X'es in the column, and then use COUNTA to determine how many of them are in the column. COUNTA is perfect for my needs--it counts a selected number of cells that aren't empty.

    Thank you for replying.

+ 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. [SOLVED] Check for non-identical values in a column
    By majime01 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-25-2017, 12:21 AM
  2. Dynamically create and Place Controls such as CheckBoxes,Text-Boxes in a UserForm
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 35
    Last Post: 05-11-2011, 11:34 AM
  3. Check Boxes to Highlight Entire Row
    By rattanaphon in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-03-2011, 05:24 PM
  4. Check Boxes that highlight entire row
    By rattanaphon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-03-2011, 08:39 AM
  5. Check Boxes that highlight entire row
    By xcsnine in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-29-2009, 09:54 AM
  6. Macro to filter based on identical column data as opposed to entire record
    By marielb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2007, 12:27 PM

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