+ Reply to Thread
Results 1 to 6 of 6

Linking Cells with Check Boxes

  1. #1
    Forum Contributor
    Join Date
    06-11-2008
    MS-Off Ver
    2003
    Posts
    220

    Linking Cells with Check Boxes

    See Attachment.

    On the complaints table tab row 9 I have set up a formula to count the amount of complaints received in each month. That row will be hidden with row 8 picking up what is being shown in row 9.

    For the months where there are no complaints, i want to be able to tick the check boxes, and once they have been ticked a zero will appear in the blank cells in row 8.

    Thank you for any help you are able to give me. Cheers!!
    Attached Files Attached Files
    Last edited by dandavis1; 06-03-2010 at 08:34 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Linking Cells with Check Boxes

    Dandavis,

    If you use a Check Box, you'd better evaluate the state of the Check Box. That does not happen automatically.

    Use the Cell link in the Format Control of the Check Box to link the state of the Check Box to a cell. For example, link the Check Box that sits in D6 to cell D6. When the Check Box is ticked, cell D6 will have the value of TRUE, if it is unticked, it will have the value of FALSE.

    The value will show in the cell, so you may want to format the cell with white text on white background or with custom format ;;; to suppress the display of the value.

    Then, in row 8 use a formula like

    =IF(D6,"",IF(D9="",0,D9))

    If D6 is TRUE (i.e. if the box is checked, then D8 will show "", otherwise the second IF statement will be evaluated.

    Above applied to column D in attached file.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    06-11-2008
    MS-Off Ver
    2003
    Posts
    220

    Re: Linking Cells with Check Boxes

    Thanks very much for your help.

    Hopefully I can make this work! Cheers,

  4. #4
    Forum Contributor
    Join Date
    06-11-2008
    MS-Off Ver
    2003
    Posts
    220

    Re: Linking Cells with Check Boxes

    One last thing which is linked to my previous post. Please see updated attachment.

    On Complaints higher tier tab, is there a way i can get the Zero in cell E6 to be shown as 0% so it would then show the cell as green?

    Thanks once again!!
    Attached Files Attached Files

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Linking Cells with Check Boxes

    In the Complaints table, change the formula in columns D to O from

    =IF(E8,"0",IF(E11="",0,E11))

    to

    =IF(E8,0,IF(E11="",0,E11))

    Now the cell value will be a number, not text, and the conditional formatting in the 2nd generation dependents will pick that up correctly.

    cheers

  6. #6
    Forum Contributor
    Join Date
    06-11-2008
    MS-Off Ver
    2003
    Posts
    220

    Re: Linking Cells with Check Boxes

    Thanks once again, you been a massive help!!!

+ 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