Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Formula to count if two conditions. I want to count column b when = "CAS"
and if the number in column J is a negative number. I have tried =COUNTIF(B7:B21,"=CAS")=SUM(J7:J21,""<0) but it returns a "false" read. Column "b" are all words and Column "J" is numbers, but sometimes a negative number and I only want it to count if it is "0" or Less (negative) |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT((B7:B21="CAS")*(J7:J21<0))
-- Gary''s Student - gsnu201002 "linda" wrote: Formula to count if two conditions. I want to count column b when = "CAS" and if the number in column J is a negative number. I have tried =COUNTIF(B7:B21,"=CAS")=SUM(J7:J21,""<0) but it returns a "false" read. Column "b" are all words and Column "J" is numbers, but sometimes a negative number and I only want it to count if it is "0" or Less (negative) |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
linda wrote:
Formula to count if two conditions. I want to count column b when = "CAS" and if the number in column J is a negative number. I have tried =COUNTIF(B7:B21,"=CAS")=SUM(J7:J21,""<0) but it returns a "false" read. Column "b" are all words and Column "J" is numbers, but sometimes a negative number and I only want it to count if it is "0" or Less (negative) http://www.contextures.com/xlFunctio...tml#SumProduct |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to count multiple conditions that are "TRUE" | Excel Discussion (Misc queries) | |||
if any of 3 conditions is true, then answer is true | Excel Worksheet Functions | |||
Returning a Value if 3 Conditions are True | Excel Worksheet Functions | |||
Count Occurances if two conditions true | Excel Worksheet Functions | |||
Count if 2 conditions are true | Excel Worksheet Functions |