Sumproduct Erro

A

AussieBec

Why am I not getting the right result with the below formula?

Col/row D E F
2 type hole1 hole2 hole3 hole4
3 par 4 4 3 5
4 0 4 5 4 7

=SUMPRODUCT(--($D$3=D4),--($E$3=E4),--($F$3=$F$4))

My aim is to count how many times I par or birdie a hole in a round of golf.
This result returns zero not 1.

TIA
Bec
 
D

David Biddulph

In your formula E3<>E4 and F3<>F4 so you are multiplying 1 by 0 by 0, so the
answer is 0.

Perhaps you intended =SUMPRODUCT(--(D3:F3=D4:F4)) ?

But note also that you are counting pars, not birdies. If you want to count
birdies, try =SUMPRODUCT(--(D3:F3=D4:F4+1))
 

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

Similar Threads

Sumproduct Error 2
SUMPRODUCT 3
Sort data 2
Help with column accumulation needed 2
Rank and return Names 5
Combing 2 lists of data 2
EXCEL LOOKUP PROBLEM 2
Need some help 2

Top