SUMPRODUCT has mismatched range sizes

gammaves

New Member
Joined
Mar 20, 2017
Messages
28
I'm trying to use a =Sumproduct and getting a #VALUE error in Google Sheets.

f6qODcm.png



Here is the formula that I'm using.
=sumproduct(--($B$102:$B$255=A14),(right($C$102:$C$255,2))="AT",A$102:$D$255)

When I use that formula in my main table (positioned at E14), I get the error.

When I place the formula in a random cell outside of my main work area (H114, for example) it returns the proper value.

Does anybody know why it would be doing that?

Thanks!
 
Last edited:

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
That formula doesn't really make sense as you're trying to multiply text values. What are you actually trying to do?
 
Upvote 0
=sumproduct(--($B$102:$B$255=A14),(right($C$102:$C$255,2))="AT",A$102:$A$255)

I just found my mistake. I had A:D in the final part of the formula. It should have ready D:D. Whoops!
 
Upvote 0

Forum statistics

Threads
1,213,531
Messages
6,114,167
Members
448,554
Latest member
Gleisner2

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