Formula help Need SUMIFS for a column with starting numbers

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,125
Office Version
  1. 365
Platform
  1. Windows
HI i need to total column J off of Column D reference.

So i need to go off of column D with first 2 numbers.

Column D has dates in them. So lets say i want to Sum total for July. I want to get sum from the date starting with 07 as the dates go down like this 07/02/2024 or 07/09/2024 etc.

Then next month i can change the formula for column D to 08 for August.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Definitely an easier way, but how about:

Excel Formula:
=SUM(FILTER(J:J,IFERROR(MONTH(IF(D:D="","",D:D)),"")=7))
 
Upvote 0
Or maybe something like this if you want to define your month in a cell up front ..

Book1
ABCDEFGHIJK
1Month:10
2Result:110
301/10/202410
402/10/20245
503/10/202410
604/10/202412
705/10/202415
806/10/20245
907/10/202410
1008/10/202420
1109/10/202423
1210/11/202414
1311/11/202418
1412/11/202422
1513/11/202455
1614/11/202413
1715/11/20245
1816/11/20249
1917/11/202411
2018/11/202416
2119/11/202418
2220/11/202427
23
Sheet1
Cell Formulas
RangeFormula
B2B2=SUM(FILTER(J3:J22,MONTH(D3:D22)=B1))
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,213
Members
452,618
Latest member
Tam84

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