I have a formula where it counts the unique values in column A
=SUMPRODUCT((A4:A1000<>"")/COUNTIF(A4:A1000,A4:A1000&""))
Maybe this could be made better also? At present the above is an array formula
However what I am trying to do is create a formula that will count all the dates in column B based on a criteria
=COUNTIF(CSGP!b4:b1000,"<"&$C1) where C1 is a fixed date
what I want to do is to make this count in column B ignore duplicate values in column A so somehow I need something that will combine the 2 formulas but I cant work it out.
So my formula "=COUNTIF(CSGP!b4:b1000,"<"&$C1)" currently would count 6 dates that are before 01/01/1997
however what I want it to do is return the count of 4 as there are 2duplicate entries in column A "A - 01/01/1996" and "D - 19/09/1994" so I want each counted once not twice if that makes sense? Thank you in advance
<tbody>
</tbody>
=SUMPRODUCT((A4:A1000<>"")/COUNTIF(A4:A1000,A4:A1000&""))
Maybe this could be made better also? At present the above is an array formula
However what I am trying to do is create a formula that will count all the dates in column B based on a criteria
=COUNTIF(CSGP!b4:b1000,"<"&$C1) where C1 is a fixed date
what I want to do is to make this count in column B ignore duplicate values in column A so somehow I need something that will combine the 2 formulas but I cant work it out.
So my formula "=COUNTIF(CSGP!b4:b1000,"<"&$C1)" currently would count 6 dates that are before 01/01/1997
however what I want it to do is return the count of 4 as there are 2duplicate entries in column A "A - 01/01/1996" and "D - 19/09/1994" so I want each counted once not twice if that makes sense? Thank you in advance
Column A | Column B | Column C |
A | 01/01/1996 | 01/01/1997 |
A | 01/01/1996 | |
B | 02/04/1995 | |
C | 06/02/2012 | |
D | 19/09/1994 | |
D | 19/09/1994 | |
E | 22/05/2017 | |
E | 22/05/2017 | |
F | 13/06/1989 |
<tbody>
</tbody>