Sumproduct Question

Rufus 2019

New Member
Joined
Feb 1, 2019
Messages
11
I have been working on this formula for a couple of days. I don't think countifs can do it and after searching this forum I found this: =SUMPRODUCT(I:N<>0)*(E:E=Q3)*(F:F=55). The prodblem is that it returns 0 when the correct answer should 5. What am I doing wrong? Thanks for the help.

Rufus
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Welcome to the forum. At least for me, I cannot understand how a 5 should be returned without knowing what's in the cells you're checking.
Also, you've misplaced the parens: =sumproduct((I:N<>0)*(E:E=Q3)*(F:F=55))
 
Upvote 0
Sorry if my info wasn't enough. This spreadsheet is the results from the 2019 World Weightlifting Championships. Columns I:N are the attempts and results of each lifter and the country they are from and the weight class the are in. E:E is the country each lifter is from and Q3 is the country I am trying to find the total number of attempts for. Each country may have anywhere from 1-10 lifters for a total of 1-60 lifts. I am trying to count the number of total attempts for each lifter that is <>0.
 
Upvote 0
A few examples would help (at least help me) because I - N are only 6 columns, where you said there could be 1-10 lifters (are they the rows) and 1-60 lifts (where are those listed?).
Did you pull the information from a website that posted lifts, etc.?
 
Last edited:
Upvote 0
See if this helps:

Col E Col F Col I Col J Col K Col L Col M Col N Col Q
LandClassSn 1Sn 2Sn 3CJ 1CJ 2CJ 3Land
KSA55-118118-121140-147147ALB
PHI55110115117145-148-148ALG
KAZ55115118-120138143145ARM
IRI55111-116-116140149-155AUS

<colgroup><col><col><col span="7"></colgroup><tbody>
</tbody>

Col I:N are attempts. So if I wanted to find the number of attempts for KSA there would be 6.

Thank you for your patience.
 
Upvote 0
Looking at the sample you're always going to get 0 as a result, as Col E and Col Q won't match !!
Why not simply use

Code:
=COUNTIF(I3:N3,"<>" &"")

copy down as required
 
Upvote 0

Forum statistics

Threads
1,213,489
Messages
6,113,952
Members
448,535
Latest member
alrossman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top