+ Reply to Thread
Results 1 to 9 of 9

Checkboxes In Excel 2003

  1. #1
    Registered User
    Join Date
    11-22-2011
    Location
    Kingston, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    6

    Checkboxes In Excel 2003

    Good Afternoon everyone,

    I'm an excel noob and I'm trying to make up pricing sheets that I can insert check boxes. I have a list of options for each product and I when I click certain options I want them to sum up the cost of each option in another cell. I hope this makes a little sense.

    Cheers

    pagelite
    Last edited by Pagelite; 11-22-2011 at 05:13 PM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Checkboxes In Excel 2003

    Hello & Welcome to the Board,

    Personally I would shy away from check boxes. Instead this double click method to simulate a check box is a cleaner way to go.

    In column c you will double click adding the check and in F2 the sum will in-turn give you the answer of all the checked cells.
    Attached Files Attached Files
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    11-22-2011
    Location
    Kingston, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Checkboxes In Excel 2003

    Thank you for the quick response and warm welcome. As I mentioned before I'm a complete noob here so please be patient with me. lol

    I have attached a file that i'm trying to create the check boxes or what ever is the easist way.

    I want to be able to check mutiple boxes in Column A and have the data that is in column D Sum up in the D52 Cell.
    Attached Files Attached Files

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Checkboxes In Excel 2003

    Like this...

    Remember to enable the macros...
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    11-22-2011
    Location
    Kingston, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Checkboxes In Excel 2003

    That's perfect Jeffrey, now how did you do it? And thanks so much for the help!

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Checkboxes In Excel 2003

    You are most welcome...Glad I could help in some way

    The best way to explain this method is to send you to another thread.

    http://www.mrexcel.com/forum/showpos...05&postcount=5

    Also, don't miss the Alternative Checkboxes link...

    Please let me know if you have anymore questions, but if not and you are satisfied with the solution provided, please do not forget to mark the thread as solved.

    Look at my signature block.

  7. #7
    Registered User
    Join Date
    11-22-2011
    Location
    Kingston, Ontario
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Checkboxes In Excel 2003

    I checked out the thread by lenze, and to be honest I have no idea how to replicate what he has done in my own worksheet. It was a little to advance for my skill set.

    1. I used the script that you used in your example and I don't see how to change where the information is populated like it was in Cell D,52

    2. Do i have to turn Macros on/off and if so where do I do it?

    3. This Worksheet will be used by multiple people once it is correct. Is there away of saving it in read-only mode so they only have too double click in the boxs and not type the "a" in the cell with "marlett" as the font?

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Checkboxes In Excel 2003

    Quote Originally Posted by Pagelite View Post
    1. I used the script that you used in your example and I don't see how to change where the information is populated like it was in Cell D,52
    Cell D52 is simply a formula -- =SUMIF(range,criteria,sum_range)

    Quote Originally Posted by Pagelite View Post
    2. Do i have to turn Macros on/off and if so where do I do it?
    Yes the macros need to be enabled. I don't have 2003 so not quite remembering what I did then, but don't think it's much different than 2007.

    When file is opened, at the top of the screen there is a Options button with a security warning to enable macros. If you trust the source then you enable the macros.

    You can do a google search for 2003 enable macros.

    Quote Originally Posted by Pagelite View Post
    3. This Worksheet will be used by multiple people once it is correct. Is there away of saving it in read-only mode so they only have too double click in the boxs and not type the "a" in the cell with "marlett" as the font?
    When you enable the macros the double click will work for column A. You do not have to add the "a" or the marlett font, the macro does this for you.

    Here are the steps I took to setup the spreadsheet.

    Enable Macros
    Open up the name manager (Ctrl + F3)
    New >> Name >> MyChecks >> Refers to: =Sheet1!$A$15:$A$50 >> Ok >> Close
    Copy code

    Please Login or Register  to view this content.
    Right Click on sheet tab with the info >> View Code >> Paste code on right side of screen
    Alt + Q will close the VBE and return you to Excel
    In D52 write the formula =SUMIF(MyChecks,"a",D15:D50) =SUMIF(range,criteria,sum_range)
    range >> MyChecks refers to the named range we created
    criteria >> searching for "a" (which the font martlett displays as a check mark
    sum_range >> D15:D50 (we could have made this a named range also)

    Now double click on any cell in column A and the associated dollar amount in column D will total up in D52

  9. #9
    Registered User
    Join Date
    11-25-2011
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Checkboxes In Excel 2003

    I scratched my head for 2 min, how did you put tick mark, later saw the font used.

+ 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