+ Reply to Thread
Results 1 to 2 of 2

Need to count the numnber of "agree", "disagree" and "N/A" in a filtered list

  1. #1
    Registered User
    Join Date
    02-20-2015
    Location
    Canada
    MS-Off Ver
    excel 2010
    Posts
    1

    Need to count the numnber of "agree", "disagree" and "N/A" in a filtered list

    Hi All,

    I am trying to put an analysis for a survey I conducted where different categories responded with Agree, Disagree etc.

    I came across a few formulas where I can count these when a filter is on but the formula keeps returning "0".
    =SUMPRODUCT(SUBTOTAL(3,OFFSET(B2:B100,ROW(B2:B100)-ROW(B2),0,1)),--(B2:B100="Agree"))

    I am not sure what I am doing wrong. Please find attached the excel. So If a filter by (S and SW) in column A, I want to be able to count the number of Agree and Disagrees.

    Any help with be appreciated.
    Thanks
    Sample.xlsx

  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: Need to count the numnber of "agree", "disagree" and "N/A" in a filtered list

    Odd, I opened your sample and pasted the formula in cell C:31, and it worked fine
    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

+ 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: 4
    Last Post: 11-17-2013, 12:05 PM
  2. [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
  3. [SOLVED] How to Count number of "Error" and "OK" after the word "Instrument" found in table row
    By eltonlaw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 06:26 AM
  4. Replies: 1
    Last Post: 07-16-2010, 02:44 AM
  5. Replies: 7
    Last Post: 05-13-2006, 05:02 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