Sumif function for date range in a data base

BRIITO

New Member
Joined
Oct 3, 2008
Messages
19
I HAVE A DATA BASE WITH AMOUNTS $$ AND DATES, AND WANT TO USE THE SUMIF FORMULA TO ADD AMOUNTS THAT < OR = TO A DATE. LIKE ADDING ALL AMOUNTS FROM JAN1 TO JAN31 (OR <= JAN31).
THIS IS WHAT I´M DOING:
=SUMIF(Base_Datos!$J:$J;"<C15";Base_Datos!$M:$M) WHERE C15 HAS A DATE.

CAN ANYONE GIVE ME A HAND??:confused:
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Try...

=SUMIF(Range,">="&A2,RangeToSum)-SUMIF(Range,">"&B2,RangeToSum)

...where A2 contains the start date, and B2 contains the end date.

Hope this helps!
 
Upvote 0
sorry...formula got cut when I pasted it...here it is

=SUMIF(sheet1!$J:$J;"<C15";sheet1!$M:$M)

c15 has a date...

thanks
 
Upvote 0
Try...

=SUMIF(Base_Datos!$J:$J;"<"&C15;Base_Datos!$M:$M)

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,214,861
Messages
6,121,973
Members
449,059
Latest member
oculus

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