Sum IF Less than or Equal to not working....So lost

bkrupa

New Member
Joined
Jun 29, 2018
Messages
17
Hi Everyone,

I have been trying a SUMIFS string and have identified the problem within it. I am trying to return a year to date total for column J where the weeks are in column F. If I use equal to M30 it works and returns the sum of the values for the current week but I would like it to return the values for the current week AND all the weeks before it creating a YTD total. For some reason if I put in the less than command it returns nothing :(

Below is the formula that is not working

=SUMIF(F12:F3443,"< ="&M30,J12:J3443)


It will eventually be plugged into this:

=SUMIFS(Budget!$J$12:$J$3443,Budget!$E$12:$E$3443,'Meat TF'!$Q$9,Budget!$F$12:$F$3443,"> ="&$R$5,Budget!$H$12:$H$3443,'Meat TF'!$Q$10,Budget!$I$12:$I$3443,'Meat TF'!$Q$8)

Thank-you so much in advance!
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
It seems there is an extraneous space in your formula
=SUMIF(F12:F3443,"< ="&M30,J12:J3443)

See if this works
=SUMIF(F12:F3443,"<="&M30,J12:J3443)

M.
 
Upvote 0
It seems there is an extraneous space in your formula
=SUMIF(F12:F3443,"< ="&M30,J12:J3443)

See if this works
=SUMIF(F12:F3443,"<="&M30,J12:J3443)

M.

I tried that too! Another thread recommended the space there so I put it in.

Thanks so much though!
 
Upvote 0
I figured it out....I think! For some reason the less than command will not work if the cells are a formula but if I paste values it works....
 
Upvote 0
I figured it out....I think! For some reason the less than command will not work if the cells are a formula but if I paste values it works....

Doesn't matter if column F contain formulas. SUMIF works with formulas or not.

M.
 
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,619
Members
449,240
Latest member
lynnfromHGT

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