Sumifs

Dark0Prince

Active Member
Joined
Feb 17, 2016
Messages
433
So I'm trying to make this SUMIFS show me results from July2016 through November2016

This one works
Code:
=SUMIFS(COLJUD!D:D,COLJUD!A:A,12,COLJUD!M:M,2016,COLJUD!O:O,$B$5)

This one doesn't bring any results and should
Code:
=SUMIFS(COLJUD!D:D,COLJUD!A:A,"<="&11,COLJUD!A:A,">="&7,COLJUD!M:M,2016,COLJUD!O:O,$B$5)

To explain the code a little bit I'm pulling results from the D column on COLJUD sheet for anything greater then month 11 that appears in the A column and Greater then Month 7 also in A column in the year 2016 that appears in M column. O column on COLJUD sheet must match a specific client number in $b$5. These are all true and still zero results.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Re: need help with SUMIFS

I've also tried this variation, and no results when it's written like this either.
Code:
=SUMIFS(COLJUD!D:D,COLJUD!A:A,"<=11",COLJUD!A:A,">=7",COLJUD!M:M,2016,COLJUD!O:O,$B$5)
 
Upvote 0
Re: need help with SUMIFS

Try using sumproduct

like this (Try and avoid using the whole column in this formula or else the calculation time will be very high. Even the sheet can get hung.)
so instead of A:A , you can use the maximum possible range of your data. e.g. A1:A2000

=SUMPRODUCT(COLJUD!D:D*(COLJUD!A:A<=11)*(COLJUD!A:A>=7)*(COLJUD!M:M=2016)*(COLJUD!O:O=$B$5))
 
Last edited:
Upvote 0
Re: need help with SUMIFS

I've also tried this variation, and no results when it's written like this either.
Code:
=SUMIFS(COLJUD!D:D,COLJUD!A:A,"<=11",COLJUD!A:A,">=7",COLJUD!M:M,2016,COLJUD!O:O,$B$5)
 
Upvote 0
Re: need help with SUMIFS

Try using sumproduct

like this (Try and avoid using the whole column in this formula or else the calculation time will be very high. Even the sheet can get hung.)
so instead of A:A , you can use the maximum possible range of your data. e.g. A1:A2000

=SUMPRODUCT(COLJUD!D:D*(COLJUD!A:A<=11)*(COLJUD!A:A>=7)*(COLJUD!M:M=2016)*(COLJUD!O:O=$B$5))

This gives a #value error
 
Upvote 0
Re: need help with SUMIFS

Try using sumproduct

like this (Try and avoid using the whole column in this formula or else the calculation time will be very high. Even the sheet can get hung.)
so instead of A:A , you can use the maximum possible range of your data. e.g. A1:A2000

=SUMPRODUCT(COLJUD!D:D*(COLJUD!A:A<=11)*(COLJUD!A:A>=7)*(COLJUD!M:M=2016)*(COLJUD!O:O=$B$5))

I fixed the value error. But it's still showing zero results.
Code:
=SUMPRODUCT(COLJUD!D1:D5000)*(COLJUD!A1:A5000<=11)*(COLJUD!A1:A5000>=7)*(COLJUD!M1:M5000=2016)*(COLJUD!O1:O5000=$B$5)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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