Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=sumproduct(--(a1:a10="no"),--(b1:b10="yes"))
will count the number of No's in column A only if there's a Yes in column B. Adjust the ranges to match--but you can't use whole columns. =sumproduct() likes to work with numbers. The -- stuff changes trues and falses to 1's and 0's. Bob Phillips explains =sumproduct() in much more detail he http://www.xldynamic.com/source/xld.SUMPRODUCT.html And J.E. McGimpsey has some notes at: http://mcgimpsey.com/excel/formulae/doubleneg.html cubsfan wrote: I have two columns that have drop down boxes with either a Yes or a No as the only inputs. I need to be able enter a formula that counts up the total "No" inputs in one column but count it up only if the other column says yes. Any suggestions. -- cubsfan ------------------------------------------------------------------------ cubsfan's Profile: http://www.excelforum.com/member.php...o&userid=33272 View this thread: http://www.excelforum.com/showthread...hreadid=534737 -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
return multiple rows of data based on criteria | Excel Worksheet Functions | |||
Function - counting based on criteria | Excel Worksheet Functions | |||
how to count unique values in excel based on multiple criteria | Excel Worksheet Functions | |||
how do i count values based on multiple criteria | Excel Worksheet Functions | |||
Counting rows based on criteria in multiple cells | Excel Discussion (Misc queries) |