+ Reply to Thread
Results 1 to 2 of 2

Calculate row totals of Yes/No

  1. #1
    Registered User
    Join Date
    09-07-2006
    Posts
    1

    Calculate row totals of Yes/No

    Hi,

    I would like to know if it is possible to calculate row totals of Yes/No. I have two columns one with let's say a company number and one with Yes/No (Yes if they fulfilled a certain task and No if the haven't). I know how to count the Yes/No's -> =SUMPRODUCT(--(A7:A33="decoe");--(I7:I33="no"))

    In this case the example is: company is decoe and value is no, it count's al the values of No for the company deco. A company can have more than one no (different rows) Instead of a company name I will use company numbers. What I would like to do is like when I use autofilter on the company numbers, have a subtotal of No for that company.

    Is this possible? and how?

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Lightbulb Countif SubTotal

    Here this should work

    set the ranges to what you require

    =SUMPRODUCT(SUBTOTAL(3,OFFSET(B1:B8,ROW(B1:B8)-MIN(ROW(B1:B8)),,1))*(B1:B8="no"))

+ 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