SUMPRODUCT troubles

D

David

Hello all,
I have read many posts on this subject, and thought I figured it out. But
the formula result is 0.

I have data in a tab named Data. Column AA is the ticket number. Column AE
is the ticket level (1,2,3 or 4).

I am trying to count the number of unique ticket numbers in column AA and
ticket level column AE for each ticket level in the formula.

=SUMPRODUCT((Data!AE2:Data!AE100="1")/COUNTIF(Data!AA2:Data!AA100,Data!AA2:Data!AA100&"")*(Data!AA2:Data!AA100<>""))

Sample Data
AA AE
1234 1
1235 1
1234 1

i would like the formula to return the value of 2

What am I doing wrong?

Any assistance is greatly appreciated.

David
 
T

Toppers

Remove quotes from around the 1 UNLESS that column is TEXT: worked OK for me.

=SUMPRODUCT((Data!AE2:Data!AE100=1)/COUNTIF(Data!AA2:Data!AA100,Data!AA2:Data!AA100&"")*(Data!AA2:Data!AA100<>""))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top