Why is my sumproduct with indirect forumla only returning the first result? Google Sheets

korfballchick

New Member
Joined
Aug 8, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi,
I have multiple tabs which contain stats from different sports matches.
I want to create a summary sheet which sums data from the various columns based on the name of the athlete.

I have used this formula:
=ArrayFormula(SUMPRODUCT(SUMIF(INDIRECT("'"&WalesMatches&"'!A7:A25"),A14,INDIRECT("'"&WalesMatches&"'!L7:L25"))))

In which "WalesMatches" is a named range for the separate tabs.
A7:A25 is where the name of the athlete is entered on the various tabs
L7:L25 is the total of shots scored on the various tabs

Can anyone explain why this isn't returning the sum of all tab? I'm only getting the first tab's total (i.e. if I change the tabs contained in the named range, I still only get the total from the first tab to pull through, not the sum of all tabs).
 
Last edited by a moderator:
OK, thank you, will do @Fluff.

Will my formula not work in googlesheets then? Is there something else similar I can try?
 
Upvote 0

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
I know nothing about Google Sheets, so cannot help.
 
Upvote 0
did you solve this issue ? I have the same. How to make this work on Google ?
 
Upvote 0

Forum statistics

Threads
1,223,957
Messages
6,175,625
Members
452,661
Latest member
Nonhle

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