Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count Q
How can I count up the number of non "Zeros" in A1, C1, E1?
I can't use a simple COUNTA as I may have "Zeros" in some cells and I don't want those included in my answer Thanks |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count Q
=COUNTIF(A1:A1,"<0")+COUNTIF(C1:C1,"<0")+COUNTIF (E1:E1,"<0")
or =(A1<0)+(E1<0)+(C1<0) -- Gary''s Student gsnu200710 "Sean" wrote: How can I count up the number of non "Zeros" in A1, C1, E1? I can't use a simple COUNTA as I may have "Zeros" in some cells and I don't want those included in my answer Thanks |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count Q
On Mar 17, 7:15 pm, Gary''s Student
wrote: =COUNTIF(A1:A1,"<0")+COUNTIF(C1:C1,"<0")+COUNTIF (E1:E1,"<0") or =(A1<0)+(E1<0)+(C1<0) -- Gary''s Student gsnu200710 "Sean" wrote: How can I count up the number of non "Zeros" in A1, C1, E1? I can't use a simple COUNTA as I may have "Zeros" in some cells and I don't want those included in my answer Thanks- Hide quoted text - - Show quoted text - Thanks GaryS |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count Q
=SUM(COUNTIF(INDIRECT({"A1","C1","E1"}),"<0"))
"Sean" wrote: How can I count up the number of non "Zeros" in A1, C1, E1? I can't use a simple COUNTA as I may have "Zeros" in some cells and I don't want those included in my answer Thanks |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count Q
Teethless mama wrote...
=SUM(COUNTIF(INDIRECT({"A1","C1","E1"}),"<0")) .... Shorter, =COUNT(1/A1,1/C1,1/E1) More flexible, =SUMPRODUCT(FREQUENCY(x,{-1E-300;0}),{1;0;1}) where x is (A1,C1,E1) (INCLUDING the parentheses). |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count Q
"Teethless mama" wrote in message
... =SUM(COUNTIF(INDIRECT({"A1","C1","E1"}),"<0")) It looks like it should work but in XL97 it returns 3 for me because =COUNTIF(A1,"<0") returns 1 I don't know if it is the same in all versions. -- Regards, Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "Teethless mama" wrote in message ... =SUM(COUNTIF(INDIRECT({"A1","C1","E1"}),"<0")) "Sean" wrote: How can I count up the number of non "Zeros" in A1, C1, E1? I can't use a simple COUNTA as I may have "Zeros" in some cells and I don't want those included in my answer Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row | Excel Worksheet Functions | |||
How do i count numbers and letters to find a total count of all | Excel Worksheet Functions | |||
Count Intervals of 1 Numeric value in a Row and Return Count down Column | Excel Worksheet Functions | |||
Count Intervals of 2 Numeric values in same Row and Return Count across Row | Excel Worksheet Functions | |||
Count Intervals of Filtered TEXT values in Column and Return Count across a Row | Excel Worksheet Functions |