+ Reply to Thread
Results 1 to 6 of 6

Urgent!Formula to count how many people have answered yes to more than one question

  1. #1
    Registered User
    Join Date
    01-22-2015
    Location
    England
    MS-Off Ver
    Microsoft Office 365
    Posts
    92

    Urgent!Formula to count how many people have answered yes to more than one question

    Hi guys. Need some help urgently please!

    I have a list of unique references(people) in column A and data in column B,C,D,E.F which are answers to questions.

    I need a formula that calculates that total amount of references that have answered yes to more than one of the questions in column B,C,D,E and F.

    Your help will be much appreciated

    Thank you!!!

  2. #2
    Forum Contributor S O's Avatar
    Join Date
    06-25-2015
    Location
    England
    MS-Off Ver
    Office 2010 + 2013 + 2016
    Posts
    103

    Re: Urgent!Formula to count how many people have answered yes to more than one question

    use a helper column (for example column G) with =COUNTIF(B1:F1,"yes"). Then use =COUNTIF(G:G,">0") to get the total.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Urgent!Formula to count how many people have answered yes to more than one question

    Try this...

    Data Range
    A
    B
    C
    D
    E
    F
    G
    H
    1
    ------
    ------
    ------
    ------
    ------
    ------
    ------
    ------
    2
    Candy Kane
    No
    No
    No
    No
    No
    Count
    3
    Dusty Rhodes
    Yes
    No
    No
    No
    Yes
    2
    4
    Vic Tree
    No
    No
    No
    No
    No
    5
    Jim Nastic
    No
    No
    Yes
    Yes
    Yes


    =SUM(--(MMULT(--(B2:F5="Yes"),{1;1;1;1;1})>0))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Urgent!Formula to count how many people have answered yes to more than one question

    You can use column G as a helper column, with this formula in G2:

    =COUNTIF(B2:F2,"yes")

    Copy this down to the bottom of your data. Then in H2, say, you can have this formula:

    =COUNTIF(G:G,">1")

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    01-22-2015
    Location
    England
    MS-Off Ver
    Microsoft Office 365
    Posts
    92

    Re: Urgent!Formula to count how many people have answered yes to more than one question

    works great, thanks

  6. #6
    Registered User
    Join Date
    01-22-2015
    Location
    England
    MS-Off Ver
    Microsoft Office 365
    Posts
    92

    Re: Urgent!Formula to count how many people have answered yes to more than one question

    works. thank you very much!

+ 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. Hey, I really hope my question can get answered
    By bmoney81 in forum Hello..Introduce yourself
    Replies: 3
    Last Post: 08-12-2014, 11:24 PM
  2. [SOLVED] Post not answered question
    By mikerules in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-28-2014, 12:17 AM
  3. Using dependent linked dropdowns and need VBA question answered ....
    By sgsmith00 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2013, 08:52 AM
  4. To set up a formula which will count how many people listed.
    By MOTVolunteer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-08-2012, 08:30 AM
  5. unhide Rows when question is answered via a drop down box.
    By humsboyle in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-13-2010, 05:44 PM
  6. Question answered >> If + And Formula
    By TracyG in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-17-2006, 06:33 PM
  7. Replies: 3
    Last Post: 04-01-2006, 03:45 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