Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I count non-contiguous cells?
I am trying to use the countif function to add non-contigous cells but I am
getting an error. I want to count 4 cells on a sheet that have a value greater than 0. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I count non-contiguous cells?
COUNTIF() doesn't work on disjoint ranges. The usual approach is to use
several COUNTIF()'s and add them up. -- Gary's Student "broush" wrote: I am trying to use the countif function to add non-contigous cells but I am getting an error. I want to count 4 cells on a sheet that have a value greater than 0. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I count non-contiguous cells?
=SUMPRODUCT(COUNTIF(INDIRECT({"A2","B7","H9","I1"} ),"0"))
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "broush" wrote in message ... I am trying to use the countif function to add non-contigous cells but I am getting an error. I want to count 4 cells on a sheet that have a value greater than 0. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I count non-contiguous cells?
Assign a RangeName to your non-contiguious range and try this......
=COUNT(YourRangeName) Vaya con Dios, Chuck, CABGx3 "broush" wrote: I am trying to use the countif function to add non-contigous cells but I am getting an error. I want to count 4 cells on a sheet that have a value greater than 0. |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I count non-contiguous cells?
Thanks for the help!
"Gary''s Student" wrote: COUNTIF() doesn't work on disjoint ranges. The usual approach is to use several COUNTIF()'s and add them up. -- Gary's Student "broush" wrote: I am trying to use the countif function to add non-contigous cells but I am getting an error. I want to count 4 cells on a sheet that have a value greater than 0. |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How do I count non-contiguous cells?
Here's another way...
=INDEX(FREQUENCY((A2,B7,H9,I1),0),2) Hope this helps! In article , broush wrote: I am trying to use the countif function to add non-contigous cells but I am getting an error. I want to count 4 cells on a sheet that have a value greater than 0. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Any way to count cells contining one, or more STRIKETHROUGHS? | Excel Discussion (Misc queries) | |||
Count cells with strikethrough font? | Excel Worksheet Functions | |||
COUNT NON-BLANK CELLS WITH REFERENCE TO ANOTHER COLUMN | Excel Worksheet Functions | |||
Count cells in one range based on parameters in another range | Excel Worksheet Functions | |||
Count cells with data | New Users to Excel |