Please tell me what I did wrong with SUMIFS statment

Dark0Prince

Active Member
Joined
Feb 17, 2016
Messages
433
it works until I tried doing less then or equal to J2

Rich (BB code):
=SUMPRODUCT(SUMIFS(ABQSTATS!E:E,ABQSTATS!A:A,ABBYABQ,ABQSTATS!B:B,'SEPTEMBER 2018'!$I$2,ABQSTATS!C:C,"<="&$J$2))
 
Last edited:

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
it works until I tried doing less then or equal to J2

Rich (BB code):
=SUMPRODUCT(SUMIFS(ABQSTATS!E:E,ABQSTATS!A:A,ABBYABQ,ABQSTATS!B:B,'SEPTEMBER 2018'!$I$2,ABQSTATS!C:C,"<="&$J$2))


Do we need the " "& around the <= ????
Is it no just <= $J$2 ??
 
Upvote 0
The result is 0 and j2 has the number 21 in there so anything less then or equal to 21 in the C column should show up.
 
Upvote 0
Code:
=SUMPRODUCT(SUMIFS(GJSTATS!E:E,GJSTATS!C:C,"<="&$J$2))
Even this by itself gives 0 data and I have many numbers in E that should be sumed up when less then 21 or (J2)

And this works, which i don't need
Code:
,"<>"&J2
 
Last edited:
Upvote 0
I think the column E of GJSTATS contains textual numbers not real numbers so excel doesnt sum them.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,279
Members
449,075
Latest member
staticfluids

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