Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a continuing list of "incidents". They are classified as type A or
B or C or D. I can "countif" the type and get totals of each, but what I am having trouble with is whether or not not they have been resolved or still open. The next column will have a text type answer in it if resolved and left blank if not. The result will be somthing like : Type A has 40 incidents and 25 have been resolved. TIA for any suggestions |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try something like this:
=SUMPRODUCT(--($A$1:$A$100="A"),--($B$1:$B$100="Resolved")) You can adjust the range ($A$1:$A$100 and $B$1:$B$100) as necessary. HTH, Paul "Mike G" wrote in message ... I have a continuing list of "incidents". They are classified as type A or B or C or D. I can "countif" the type and get totals of each, but what I am having trouble with is whether or not not they have been resolved or still open. The next column will have a text type answer in it if resolved and left blank if not. The result will be somthing like : Type A has 40 incidents and 25 have been resolved. TIA for any suggestions |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
try
=sumproduct(--(A1:100="A"),--(B1:B100<"")) countif is faster for just the number of As the "--( " changes the logical true false to numeric 1 0 the arrays must be the same size and cannot refer to a full column. "Mike G" wrote: I have a continuing list of "incidents". They are classified as type A or B or C or D. I can "countif" the type and get totals of each, but what I am having trouble with is whether or not not they have been resolved or still open. The next column will have a text type answer in it if resolved and left blank if not. The result will be somthing like : Type A has 40 incidents and 25 have been resolved. TIA for any suggestions |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Great....was able to "monkey" with the formula somewhat and got it to work.
Was wondering what was the significance of the "<" portion in the formula (B1:B100<"")) "bj" wrote in message ... try =sumproduct(--(A1:100="A"),--(B1:B100<"")) countif is faster for just the number of As the "--( " changes the logical true false to numeric 1 0 the arrays must be the same size and cannot refer to a full column. "Mike G" wrote: I have a continuing list of "incidents". They are classified as type A or B or C or D. I can "countif" the type and get totals of each, but what I am having trouble with is whether or not not they have been resolved or still open. The next column will have a text type answer in it if resolved and left blank if not. The result will be somthing like : Type A has 40 incidents and 25 have been resolved. TIA for any suggestions |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
That looks at the cells that are not blank in B1 to B100.
B1:B100 is < (anything other than, or greater than or less than) nothing. I didn't think that's what you wanted, but glad it's working for you. "Mike G" wrote in message ... Great....was able to "monkey" with the formula somewhat and got it to work. Was wondering what was the significance of the "<" portion in the formula (B1:B100<"")) "bj" wrote in message ... try =sumproduct(--(A1:100="A"),--(B1:B100<"")) countif is faster for just the number of As the "--( " changes the logical true false to numeric 1 0 the arrays must be the same size and cannot refer to a full column. "Mike G" wrote: I have a continuing list of "incidents". They are classified as type A or B or C or D. I can "countif" the type and get totals of each, but what I am having trouble with is whether or not not they have been resolved or still open. The next column will have a text type answer in it if resolved and left blank if not. The result will be somthing like : Type A has 40 incidents and 25 have been resolved. TIA for any suggestions |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting cells with a particular type formatting | Excel Discussion (Misc queries) | |||
Getting the top five incidents | Excel Worksheet Functions | |||
Counting&Sorting multiple serial numbers per machine type | Excel Discussion (Misc queries) | |||
Counting number of incidents of a month | Excel Worksheet Functions | |||
filter errors depending on number of incidents | Excel Discussion (Misc queries) |