+ Reply to Thread
Results 1 to 9 of 9

Formula to add a "yes" or "no" based on checkboxes being selected?

Hybrid View

  1. #1
    Registered User
    Join Date
    04-29-2017
    Location
    Portland, OR
    MS-Off Ver
    2007
    Posts
    4

    Formula to add a "yes" or "no" based on checkboxes being selected?

    I have a spreadsheet where each row has 3 checkboxes that need to be selected before I want the "no" (O7) to turn into a "yes". Essentially it's a "yes" instruction based on receiving check off from 3 different people in a group. I tried using the following formula, but it is only good for numbers and I can't figure out what might be a yes/no based formula.

    =SUMIF(T7:V7,TRUE,W7:W7)
    T7, U7, V7 = the true/false for the checkboxes

    Thanks in advance!

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Formula to add a "yes" or "no" based on checkboxes being selected?

    For something like this you should use IF instead of SUMIF, but, I don't think you can use a formula with the checkboxes, you'd have to use VBA.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Formula to add a "yes" or "no" based on checkboxes being selected?

    Hi,

    Give this a try"

    =IF(COUNTIF(T7:V7,"False"),"No","Yes")
    Cheers

  4. #4
    Registered User
    Join Date
    04-29-2017
    Location
    Portland, OR
    MS-Off Ver
    2007
    Posts
    4

    Re: Formula to add a "yes" or "no" based on checkboxes being selected?

    Quote Originally Posted by southward View Post
    Hi,

    Give this a try"

    =IF(COUNTIF(T7:V7,"False"),"No","Yes")
    Cheers
    Amazing! Thank you so much!

    If I wanted to educate myself, so I can figure things like this out myself, what is the best way to search the formulas and how to's in excel? I haven't had much luck with the more complicated things like this.

  5. #5
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Formula to add a "yes" or "no" based on checkboxes being selected?

    You are very welcome. Glad I could be of some assistance.

    The way I have learned is mainly through searching and experimenting.

    Cheers

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Formula to add a "yes" or "no" based on checkboxes being selected?

    Wow....why couldn't I get it to work on my mock-up sheet???

  7. #7
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Formula to add a "yes" or "no" based on checkboxes being selected?

    Here is my mock-up sheet.

    Cheers
    Attached Files Attached Files

  8. #8
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Formula to add a "yes" or "no" based on checkboxes being selected?

    Ahhh haaa! I never new you could have the True/False value show in a linked cell like that. Now it all makes sense. Thanks southward!!

  9. #9
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Formula to add a "yes" or "no" based on checkboxes being selected?

    You are very welcome

+ 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: 5
    Last Post: 02-05-2019, 12:03 AM
  2. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  3. Replies: 3
    Last Post: 04-16-2014, 10:00 AM
  4. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  5. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  6. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  7. If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 AM

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