Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
i am trying to count the number of rows over 90 in column c that also have a
1 in column d i have tried =SUMPRODUCT(--(C5:C301="90"),--(D5:D301="1")) and only get 0 as an output what am i doing wrong? -- gtsch |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This should work. Note there are no "".
=SUMPRODUCT(--(C5:C301=90),--(D5:D301=1)) -- tj "gtsch" wrote: i am trying to count the number of rows over 90 in column c that also have a 1 in column d i have tried =SUMPRODUCT(--(C5:C301="90"),--(D5:D301="1")) and only get 0 as an output what am i doing wrong? -- gtsch |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi gtsch ="90" looks for text whereas =90 looks for numbers Drop the double quotes and your formulae should work. gtsch Wrote: i am trying to count the number of rows over 90 in column c that also have a 1 in column d i have tried =SUMPRODUCT(--(C5:C301="90"),--(D5:D301="1")) and only get 0 as an output what am i doing wrong? -- gtsch -- John James ------------------------------------------------------------------------ John James's Profile: http://www.excelforum.com/member.php...o&userid=32690 View this thread: http://www.excelforum.com/showthread...hreadid=533980 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
thanks that did the trick
appreciate your help -- gtsch "tjtjjtjt" wrote: This should work. Note there are no "". =SUMPRODUCT(--(C5:C301=90),--(D5:D301=1)) -- tj "gtsch" wrote: i am trying to count the number of rows over 90 in column c that also have a 1 in column d i have tried =SUMPRODUCT(--(C5:C301="90"),--(D5:D301="1")) and only get 0 as an output what am i doing wrong? -- gtsch |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
return multiple rows of data based on criteria | Excel Worksheet Functions | |||
Retrieving a Value from List that meets multiple Criteria | Excel Discussion (Misc queries) | |||
Counting by multiple criteria | Excel Worksheet Functions | |||
Multiple Criteria IF Nesting | Excel Worksheet Functions | |||
Can I get the mode, min, and max with multiple criteria? | Excel Discussion (Misc queries) |