Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
sum a countif
I can't make this work. I'm using this formula
=SUM((IF((F4:F53="ok"),1,1))-(IF((F4:F53="ok"),1,0))) I want a total count of cells in the range f4:f53 less the count of cells with the value "ok" in the same range. I also need to do this with the cells in ranges g4:g53 combined with i4:i53. Please help. I'm not getting the right answers. Thanks Tammie |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
sum a countif
Isn't it just the range not equal to "ok".
=COUNTIF(F4:F53,"<ok") "tamiluchi" wrote: I can't make this work. I'm using this formula =SUM((IF((F4:F53="ok"),1,1))-(IF((F4:F53="ok"),1,0))) I want a total count of cells in the range f4:f53 less the count of cells with the value "ok" in the same range. I also need to do this with the cells in ranges g4:g53 combined with i4:i53. Please help. I'm not getting the right answers. Thanks Tammie |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
sum a countif
Thanks. Yes, that's all it is. Talk about making it harder than it has to be!
What if I want to have the total count of 2 different ranges not equal to 'ok' in one cell? "Toppers" wrote: Isn't it just the range not equal to "ok". =COUNTIF(F4:F53,"<ok") "tamiluchi" wrote: I can't make this work. I'm using this formula =SUM((IF((F4:F53="ok"),1,1))-(IF((F4:F53="ok"),1,0))) I want a total count of cells in the range f4:f53 less the count of cells with the value "ok" in the same range. I also need to do this with the cells in ranges g4:g53 combined with i4:i53. Please help. I'm not getting the right answers. Thanks Tammie |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
sum a countif
=COUNTIF(F4:F53,"<ok")+COUNTIF(G4:G53,"<ok")
Or =COUNTIF(F4:G53,"<ok") "tamiluchi" wrote: Thanks. Yes, that's all it is. Talk about making it harder than it has to be! What if I want to have the total count of 2 different ranges not equal to 'ok' in one cell? "Toppers" wrote: Isn't it just the range not equal to "ok". =COUNTIF(F4:F53,"<ok") "tamiluchi" wrote: I can't make this work. I'm using this formula =SUM((IF((F4:F53="ok"),1,1))-(IF((F4:F53="ok"),1,0))) I want a total count of cells in the range f4:f53 less the count of cells with the value "ok" in the same range. I also need to do this with the cells in ranges g4:g53 combined with i4:i53. Please help. I'm not getting the right answers. Thanks Tammie |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
sum a countif
Thanks so much.
Tammie "Toppers" wrote: =COUNTIF(F4:F53,"<ok")+COUNTIF(G4:G53,"<ok") Or =COUNTIF(F4:G53,"<ok") "tamiluchi" wrote: Thanks. Yes, that's all it is. Talk about making it harder than it has to be! What if I want to have the total count of 2 different ranges not equal to 'ok' in one cell? "Toppers" wrote: Isn't it just the range not equal to "ok". =COUNTIF(F4:F53,"<ok") "tamiluchi" wrote: I can't make this work. I'm using this formula =SUM((IF((F4:F53="ok"),1,1))-(IF((F4:F53="ok"),1,0))) I want a total count of cells in the range f4:f53 less the count of cells with the value "ok" in the same range. I also need to do this with the cells in ranges g4:g53 combined with i4:i53. Please help. I'm not getting the right answers. Thanks Tammie |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
sumproduct vs. countif | Excel Discussion (Misc queries) | |||
Countif Formula /Sort Bug??? | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
Combining IF and COUNTIF based on two columns | Excel Discussion (Misc queries) | |||
Countif - Countif | Excel Worksheet Functions |