Hi
Can someone please help with formula?
1. Firstly, I am trying to obtain the unique occurences in Column A and Column B.
I can obtain the occurences in column C as it is a value but for text, it comes up with #VALUE! and for Dates, it comes up with a date. The formula that i used might not be appropriate for this scenario so hopefully, someone can help me out.
I have tried to use Pivot Table to count but it does not seem to count the unique values as it count all non-blanks.
A B C
1 Name Week Ending Date Hours
2 Peter 2010/02/15 2
3 David 2010/02/15 4
4 Peter 2010/02/21 5
5 David 2010/03/01 6
6 Sam 2010/04/01 7
7 Tom 2010/05/01 2
8 #VALUE! 2451/01/10
Formula in A8 = =SUMPRODUCT(A2:A7/COUNTIF(A2:A7,A2:A7))
Formula in B8 = =SUMPRODUCT(B2:B7/COUNTIF(B2:B7,B2:B7))
Thanks.
Can someone please help with formula?
1. Firstly, I am trying to obtain the unique occurences in Column A and Column B.
I can obtain the occurences in column C as it is a value but for text, it comes up with #VALUE! and for Dates, it comes up with a date. The formula that i used might not be appropriate for this scenario so hopefully, someone can help me out.
I have tried to use Pivot Table to count but it does not seem to count the unique values as it count all non-blanks.
A B C
1 Name Week Ending Date Hours
2 Peter 2010/02/15 2
3 David 2010/02/15 4
4 Peter 2010/02/21 5
5 David 2010/03/01 6
6 Sam 2010/04/01 7
7 Tom 2010/05/01 2
8 #VALUE! 2451/01/10
Formula in A8 = =SUMPRODUCT(A2:A7/COUNTIF(A2:A7,A2:A7))
Formula in B8 = =SUMPRODUCT(B2:B7/COUNTIF(B2:B7,B2:B7))
Thanks.