SUMPRODUCT can handle arrays without using Ctrl + Shift. SUMPRODUCT, LOOKUP, and a few other functions can handle arrys without Ctrl + Shift + Enter. They are just programmed that way.
The formulas will work, but it will look at all the data instead of the filtered data. If you want functions to look at the filtered data you can use the Totals row in an Excel Table (Ctrl + T) or Excel List (Ctrl + L). The Totals row has a drop-down where you can select the function. The Totals row uses the SUBTOTAL function.
great website! i was wondering why didn't you use ctrl+shift+enter in the sumproduct option? thanks
tekesbur 1 year ago
SUMPRODUCT can handle arrays without using Ctrl + Shift. SUMPRODUCT, LOOKUP, and a few other functions can handle arrys without Ctrl + Shift + Enter. They are just programmed that way.
ExcelIsFun 1 year ago
@ExcelIsFun Awesome thank you!!!
tekesbur 1 year ago
You are welcome!
ExcelIsFun 1 year ago
Hi, Thanks for posting this video. when you highlight the range would it be possible to make the criteria = to a cell within in the range unlocked?
something like this =Sum(IF($B$11:$B$22=B11)and the same for the other range? would it work?
Picture111 1 year ago
Yes, becasue we were not copying the formula in this example.
ExcelIsFun 1 year ago
Sould this work if i have filters on?
Ibarra2020 1 year ago
The formulas will work, but it will look at all the data instead of the filtered data. If you want functions to look at the filtered data you can use the Totals row in an Excel Table (Ctrl + T) or Excel List (Ctrl + L). The Totals row has a drop-down where you can select the function. The Totals row uses the SUBTOTAL function.
ExcelIsFun 1 year ago
@Ibarra2020 I was working on this for a while. It works grate. Thank you. Your the best.
Ibarra2020 1 year ago
hi there,
thank you so much with this video and others. it definitely helps me a lot with my work. thanks a million!
sportsaddict84 2 years ago
Dear sportsaddict84,
You are welcome!
--excelisfun
ExcelIsFun 2 years ago
MIke - Thanks for this! This is something I can use at work immediately that will save me a lot of time. Great!
Dave51262 2 years ago
Dear Dave51262,
I am glad it helps!
Here is another option for the above table:
=SUMPRODUCT(--($B$11:$B$22=$B25),--($C$11:$C$22=C$24))
If you have a large spreadsheet, the double-negative version is the fastest
--excelisfun
ExcelIsFun 2 years ago