Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Column D = text values (client names) where the same name could appear more
than once in the column and where there could also be blank rows. Column H = contains "Success" or "Failure". I want to count the number of UNIQUE clients where I have had "Success" as an outcome, as in the example below, where the answer would be 2: Column D Column H AlphaX Success AlphaX Success DeltaD Failure CharlieW Sucess |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Try this array formula =COUNT(1/FREQUENCY(IF(B$1:B$100="Success",MATCH(A$1:A$100,A $1:A$100,0)),ROW(A$1:A$100)-ROW(A$1)+1)) This is an array formula which must be entered by pressing CTRL+Shift+Enter 'and not just Enter. If you do it correctly then Excel will put curly brackets 'around the formula {}. You can't type these yourself. If you edit the formula 'you must enter it again with CTRL+Shift+Enter. Mike "WildWill" wrote: Column D = text values (client names) where the same name could appear more than once in the column and where there could also be blank rows. Column H = contains "Success" or "Failure". I want to count the number of UNIQUE clients where I have had "Success" as an outcome, as in the example below, where the answer would be 2: Column D Column H AlphaX Success AlphaX Success DeltaD Failure CharlieW Sucess |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks, worked 100%
"Mike H" wrote: Hi, Try this array formula =COUNT(1/FREQUENCY(IF(B$1:B$100="Success",MATCH(A$1:A$100,A $1:A$100,0)),ROW(A$1:A$100)-ROW(A$1)+1)) This is an array formula which must be entered by pressing CTRL+Shift+Enter 'and not just Enter. If you do it correctly then Excel will put curly brackets 'around the formula {}. You can't type these yourself. If you edit the formula 'you must enter it again with CTRL+Shift+Enter. Mike "WildWill" wrote: Column D = text values (client names) where the same name could appear more than once in the column and where there could also be blank rows. Column H = contains "Success" or "Failure". I want to count the number of UNIQUE clients where I have had "Success" as an outcome, as in the example below, where the answer would be 2: Column D Column H AlphaX Success AlphaX Success DeltaD Failure CharlieW Sucess |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem with Sumproduct | Excel Discussion (Misc queries) | |||
SumProduct problem | Excel Worksheet Functions | |||
SumProduct problem | New Users to Excel | |||
Sumproduct problem. | Excel Discussion (Misc queries) | |||
SUMPRODUCT problem | Excel Worksheet Functions |