SUMIFS EOM

ChetanPuri

Board Regular
Joined
Sep 5, 2018
Messages
74
Office Version
  1. 365
Platform
  1. Windows
Hi Excel Team,
Need some help with Sumifs EOM, I am trying to sum all transactions from Source Sheet by Matching Criteria in Results Sheet (first worksheet below) COLUMN C and then EOM dates in Column B. But somehow my formula doesn't work. Any help would be much appreciated. Many thanks, Regards, Chetan
Result Sheet (worksheet 1)
Book2
ABCD
1MonthEOM TypeAmount
2July31-Jul-23SIL0
3August31-Aug-23SIL0
4September30-Sep-23SIL0
5October31-Oct-23SIL0
6November30-Nov-23SIL0
7December31-Dec-23SIL0
8January31-Jan-24SIL0
9February29-Feb-24SIL0
10March31-Mar-24SIL0
11April30-Apr-24SIL0
12May31-May-24SIL
13July31-Jul-23SIL
14August31-Aug-23SIL
15September30-Sep-23SIL
16October31-Oct-23SIL
17November30-Nov-23SIL
18December31-Dec-23SIL
19January31-Jan-24SIL
20February29-Feb-24SIL
21March31-Mar-24SIL
22April30-Apr-24SIL
23May31-May-24SIL
Results
Cell Formulas
RangeFormula
D2:D11D2=SUMIFS('Source Sheet'!$M:$M,'Source Sheet'!$B:$B,Results!$C:$C,'Source Sheet'!$A:$A,">="&Results!B2,'Source Sheet'!$A:$A,""<=Results!B2)


Source Sheet (2)

Book2
ABCDEFGHIJKLM
27-Jul-23SIL23240707AR Invoice307961000935014.39-5014.39
37-Jul-23SIL23240707AR Invoice30799100055405.33-405.33
47-Jul-23SIL23240707AR Invoice30799100055570.14-570.14
57-Jul-23SIL23240707AR Invoice30799100055353.54-353.54
67-Jul-23SIL23240707AR Invoice30799100055562.61-562.61
77-Jul-23SIL23240707AR Invoice30799100055741.95-741.95
87-Jul-23SIL23240707AR Invoice30802100082460.6-460.6
97-Jul-23SIL23240707AR Invoice30802100082593.9-593.9
107-Jul-23SIL23240707AR Invoice308021000821181.08-1181.08
117-Jul-23SIL23240707AR Invoice30802100082865.56-865.56
127-Jul-23SIL23240707AR Invoice30802100082780.88-780.88
137-Jul-23SIL23240707AR Invoice30802100082328.69-328.69
147-Jul-23SIL23240707AR Invoice30803100089921.2-921.2
157-Jul-23SIL23240707AR Invoice308031000891187.8-1187.8
167-Jul-23SIL23240707AR Invoice308031000891322.49-1322.49
177-Jul-23SIL23240707AR Invoice308031000891276.7-1276.7
187-Jul-23SIL23240707AR Invoice30803100089780.88-780.88
197-Jul-23SIL23240707AR Invoice30803100089399.96-399.96
207-Jul-23SIL23240707AR Invoice30805100096945.06-945.06
217-Jul-23SIL23240707AR Invoice308051000961055.31-1055.31
227-Jul-23SIL23240707AR Invoice308051000961346.15-1346.15
237-Jul-23SIL23240707AR Invoice308051000961088.94-1088.94
247-Jul-23SIL23240707AR Invoice30805100096642.36-642.36
257-Jul-23SIL23240707AR Invoice30805100096152.67-152.67
267-Jul-23SIL23240707AR Invoice30806100076736.96-736.96
277-Jul-23SIL23240707AR Invoice30806100076950.24-950.24
287-Jul-23SIL23240707AR Invoice308061000761611.87-1611.87
297-Jul-23SIL23240707AR Invoice30806100076865.56-865.56
307-Jul-23SIL23240707AR Invoice30806100076734.6-734.6
317-Jul-23SIL23240707AR Invoice30806100076276.34-276.34
327-Jul-23SIL23240707AR Invoice308071002721993.8-1993.8
337-Jul-23SIL23240707AR Invoice308071002722709.62-2709.62
347-Jul-23SIL23240707AR Invoice308071002722775.19-2775.19
357-Jul-23SIL23240707AR Invoice308071002722650.92-2650.92
367-Jul-23SIL23240707AR Invoice308071002721709.25-1709.25
377-Jul-23SIL23240707AR Invoice30807100272393.48-393.48
387-Jul-23SIL23240707AR Invoice308081000621345.82-1345.82
397-Jul-23SIL23240707AR Invoice308081000621692.87-1692.87
407-Jul-23SIL23240707AR Invoice308081000622031.27-2031.27
417-Jul-23SIL23240707AR Invoice308081000622016.29-2016.29
427-Jul-23SIL23240707AR Invoice308081000621059.74-1059.74
437-Jul-23SIL23240707AR Invoice30808100062237.66-237.66
447-Jul-23SIL23240707AR Invoice3081010005812592.45-12592.5
457-Jul-23SIL23240707AR Invoice308141002735749.91-5749.91
467-Jul-23SIL23240707AR Invoice308151000784437.01-4437.01
477-Jul-23SIL23240707AR Invoice308161000694052.17-4052.17
487-Jul-23SIL23240707AR Invoice308191000636124.73-6124.73
497-Jul-23SIL23240707AR Invoice308201000707186.27-7186.27
507-Jul-23SIL23240707AR Invoice308211000815039.15-5039.15
517-Jul-23SIL23240707AR Invoice3082310035810492.06-10492.1
527-Jul-23SIL23240707AR Invoice308271000984408.47-4408.47
537-Jul-23SIL23240707AR Invoice308291000954878.32-4878.32
547-Jul-23SIL23240707AR Invoice308311000743676-3676
557-Jul-23SIL23240707AR Invoice308371001945792.53-5792.53
567-Jul-23SIL23240707AR Invoice308401002294136.61-4136.61
577-Jul-23SIL23240707AR Invoice3084110035911600.51-11600.5
587-Jul-23SIL23240707AR Invoice30846100057460.6-460.6
597-Jul-23SIL23240707AR Invoice30846100057593.9-593.9
607-Jul-23SIL23240707AR Invoice30846100057850.46-850.46
617-Jul-23SIL23240707AR Invoice30846100057721.3-721.3
627-Jul-23SIL23240707AR Invoice30846100057778.68-778.68
637-Jul-23SIL23240707AR Invoice30846100057309.79-309.79
647-Jul-23SIL23240707AR Invoice308521000911174.53-1174.53
657-Jul-23SIL23240707AR Invoice308521000911464.56-1464.56
667-Jul-23SIL23240707AR Invoice308521000911173.22-1173.22
677-Jul-23SIL23240707AR Invoice308521000911622.93-1622.93
687-Jul-23SIL23240707AR Invoice30852100091979.22-979.22
697-Jul-23SIL23240707AR Invoice30852100091223.98-223.98
707-Jul-23SIL23240707AR Invoice30853100079979.24-979.24
717-Jul-23SIL23240707AR Invoice308531000791301.83-1301.83
727-Jul-23SIL23240707AR Invoice308531000791481.59-1481.59
737-Jul-23SIL23240707AR Invoice308531000791699.38-1699.38
747-Jul-23SIL23240707AR Invoice30853100079587.68-587.68
757-Jul-23SIL23240707AR Invoice30853100079205.07-205.07
767-Jul-23SIL23240707AR Invoice3085410023910009.03-10009
777-Jul-23SIL23240707AR Invoice3085710010016915.29-16915.3
7814-Jul-23SIL23240714AR Invoice309171000935014.39-5014.39
7914-Jul-23SIL23240714AR Invoice30920100055405.33-405.33
8014-Jul-23SIL23240714AR Invoice30920100055570.14-570.14
8114-Jul-23SIL23240714AR Invoice30920100055353.54-353.54
8214-Jul-23SIL23240714AR Invoice30920100055562.61-562.61
8314-Jul-23SIL23240714AR Invoice30920100055741.95-741.95
8414-Jul-23SIL23240714AR Invoice30923100082593.9-593.9
8514-Jul-23SIL23240714AR Invoice30923100082460.6-460.6
8614-Jul-23SIL23240714AR Invoice309231000821181.08-1181.08
8714-Jul-23SIL23240714AR Invoice30923100082865.56-865.56
8814-Jul-23SIL23240714AR Invoice30923100082780.88-780.88
8914-Jul-23SIL23240714AR Invoice30923100082328.69-328.69
9014-Jul-23SIL23240714AR Invoice30924100089921.2-921.2
9114-Jul-23SIL23240714AR Invoice309241000891187.8-1187.8
9214-Jul-23SIL23240714AR Invoice309241000891322.49-1322.49
9314-Jul-23SIL23240714AR Invoice309241000891276.7-1276.7
9414-Jul-23SIL23240714AR Invoice30924100089780.88-780.88
9514-Jul-23SIL23240714AR Invoice30924100089399.96-399.96
9614-Jul-23SIL23240714AR Invoice30926100096945.06-945.06
9714-Jul-23SIL23240714AR Invoice309261000961055.31-1055.31
9814-Jul-23SIL23240714AR Invoice309261000961346.15-1346.15
9914-Jul-23SIL23240714AR Invoice309261000961088.94-1088.94
10014-Jul-23SIL23240714AR Invoice30926100096642.36-642.36
10114-Jul-23SIL23240714AR Invoice30926100096152.67-152.67
10214-Jul-23SIL23240714AR Invoice30927100076736.96-736.96
10314-Jul-23SIL23240714AR Invoice30927100076950.24-950.24
10414-Jul-23SIL23240714AR Invoice309271000761611.87-1611.87
10514-Jul-23SIL23240714AR Invoice30927100076865.56-865.56
10614-Jul-23SIL23240714AR Invoice30927100076734.6-734.6
10714-Jul-23SIL23240714AR Invoice30927100076276.34-276.34
10814-Jul-23SIL23240714AR Invoice309281002721993.8-1993.8
10914-Jul-23SIL23240714AR Invoice309281002722709.62-2709.62
11014-Jul-23SIL23240714AR Invoice309281002722775.19-2775.19
11114-Jul-23SIL23240714AR Invoice309281002722650.92-2650.92
11214-Jul-23SIL23240714AR Invoice309281002721709.25-1709.25
11314-Jul-23SIL23240714AR Invoice30928100272393.48-393.48
11414-Jul-23SIL23240714AR Invoice309291000621345.82-1345.82
11514-Jul-23SIL23240714AR Invoice309291000621692.87-1692.87
11614-Jul-23SIL23240714AR Invoice309291000622031.27-2031.27
11714-Jul-23SIL23240714AR Invoice309291000622016.29-2016.29
11814-Jul-23SIL23240714AR Invoice309291000621059.74-1059.74
11914-Jul-23SIL23240714AR Invoice30929100062237.66-237.66
12014-Jul-23SIL23240714AR Invoice3093110005812592.45-12592.5
12114-Jul-23SIL23240714AR Invoice309351002735749.91-5749.91
12214-Jul-23SIL23240714AR Invoice309361000784437.01-4437.01
12314-Jul-23SIL23240714AR Invoice309371000694052.17-4052.17
12414-Jul-23SIL23240714AR Invoice309401000636124.73-6124.73
12514-Jul-23SIL23240714AR Invoice309411000707186.27-7186.27
12614-Jul-23SIL23240714AR Invoice309421000815039.15-5039.15
12714-Jul-23SIL23240714AR Invoice3094410035810492.06-10492.1
12814-Jul-23SIL23240714AR Invoice309481000984408.47-4408.47
12914-Jul-23SIL23240714AR Invoice309501000954878.32-4878.32
13014-Jul-23SIL23240714AR Invoice309521000743676-3676
13114-Jul-23SIL23240714AR Invoice309581001945792.53-5792.53
13214-Jul-23SIL23240714AR Invoice309611002294136.61-4136.61
13314-Jul-23SIL23240714AR Invoice30966100057460.6-460.6
13414-Jul-23SIL23240714AR Invoice30966100057593.9-593.9
13514-Jul-23SIL23240714AR Invoice30966100057850.46-850.46
13614-Jul-23SIL23240714AR Invoice30966100057721.3-721.3
13714-Jul-23SIL23240714AR Invoice30966100057778.68-778.68
13814-Jul-23SIL23240714AR Invoice30966100057309.79-309.79
13914-Jul-23SIL23240714AR Invoice309721000911174.53-1174.53
14014-Jul-23SIL23240714AR Invoice309721000911464.56-1464.56
14114-Jul-23SIL23240714AR Invoice309721000911173.22-1173.22
14214-Jul-23SIL23240714AR Invoice309721000911622.93-1622.93
14314-Jul-23SIL23240714AR Invoice30972100091979.22-979.22
14414-Jul-23SIL23240714AR Invoice30972100091223.98-223.98
14514-Jul-23SIL23240714AR Invoice30973100079979.24-979.24
14614-Jul-23SIL23240714AR Invoice309731000791301.83-1301.83
14714-Jul-23SIL23240714AR Invoice309731000791481.59-1481.59
14814-Jul-23SIL23240714AR Invoice309731000791699.38-1699.38
14914-Jul-23SIL23240714AR Invoice30973100079587.68-587.68
15014-Jul-23SIL23240714AR Invoice30973100079205.07-205.07
15114-Jul-23SIL23240714AR Invoice3097410023910009.03-10009
15214-Jul-23SIL23240714AR Invoice3097710010016915.29-16915.3
15321-Jul-23SIL23240721AR Invoice310071000935014.39-5014.39
15421-Jul-23SIL23240721AR Invoice31010100055405.33-405.33
15521-Jul-23SIL23240721AR Invoice31010100055570.14-570.14
15621-Jul-23SIL23240721AR Invoice31010100055353.54-353.54
15721-Jul-23SIL23240721AR Invoice31010100055562.61-562.61
15821-Jul-23SIL23240721AR Invoice31010100055741.95-741.95
15921-Jul-23SIL23240721AR Invoice31013100082460.6-460.6
16021-Jul-23SIL23240721AR Invoice31013100082593.9-593.9
16121-Jul-23SIL23240721AR Invoice310131000821181.08-1181.08
16221-Jul-23SIL23240721AR Invoice31013100082865.56-865.56
16321-Jul-23SIL23240721AR Invoice31013100082780.88-780.88
16421-Jul-23SIL23240721AR Invoice31013100082328.69-328.69
16521-Jul-23SIL23240721AR Invoice31014100089921.2-921.2
16621-Jul-23SIL23240721AR Invoice310141000891187.8-1187.8
16721-Jul-23SIL23240721AR Invoice310141000891322.49-1322.49
16821-Jul-23SIL23240721AR Invoice310141000891276.7-1276.7
16921-Jul-23SIL23240721AR Invoice31014100089780.88-780.88
17021-Jul-23SIL23240721AR Invoice31014100089399.96-399.96
17121-Jul-23SIL23240721AR Invoice310161000961055.31-1055.31
17221-Jul-23SIL23240721AR Invoice31016100096945.06-945.06
17321-Jul-23SIL23240721AR Invoice310161000961346.15-1346.15
17421-Jul-23SIL23240721AR Invoice310161000961088.94-1088.94
17521-Jul-23SIL23240721AR Invoice31016100096642.36-642.36
17621-Jul-23SIL23240721AR Invoice31016100096152.67-152.67
17721-Jul-23SIL23240721AR Invoice31017100076736.96-736.96
17821-Jul-23SIL23240721AR Invoice31017100076950.24-950.24
17921-Jul-23SIL23240721AR Invoice310171000761611.87-1611.87
18021-Jul-23SIL23240721AR Invoice31017100076865.56-865.56
18121-Jul-23SIL23240721AR Invoice31017100076734.6-734.6
18221-Jul-23SIL23240721AR Invoice31017100076276.34-276.34
18321-Jul-23SIL23240721AR Invoice310181002721993.8-1993.8
18421-Jul-23SIL23240721AR Invoice310181002722709.62-2709.62
18521-Jul-23SIL23240721AR Invoice310181002722775.19-2775.19
18621-Jul-23SIL23240721AR Invoice310181002722650.92-2650.92
18721-Jul-23SIL23240721AR Invoice310181002721709.25-1709.25
18821-Jul-23SIL23240721AR Invoice31018100272393.48-393.48
18921-Jul-23SIL23240721AR Invoice310191000621345.82-1345.82
19021-Jul-23SIL23240721AR Invoice310191000621692.87-1692.87
19121-Jul-23SIL23240721AR Invoice310191000622031.27-2031.27
19221-Jul-23SIL23240721AR Invoice310191000622016.29-2016.29
19321-Jul-23SIL23240721AR Invoice310191000621059.74-1059.74
19421-Jul-23SIL23240721AR Invoice31019100062237.66-237.66
Source Sheet
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Try:

Book1
ABCD
1MonthEOM TypeAmount
2July31-Jul-2023SIL-402105.44
3August31-Aug-2023SIL0
4September30-Sep-2023SIL0
5October31-Oct-2023SIL0
6November30-Nov-2023SIL0
7December31-Dec-2023SIL0
8January31-Jan-2024SIL0
9February29-Feb-2024SIL0
10March31-Mar-2024SIL0
11April30-Apr-2024SIL0
12May31-May-2024SIL0
13July31-Jul-2023SIL-402105.44
14August31-Aug-2023SIL0
15September30-Sep-2023SIL0
16October31-Oct-2023SIL0
17November30-Nov-2023SIL0
18December31-Dec-2023SIL0
19January31-Jan-2024SIL0
20February29-Feb-2024SIL0
21March31-Mar-2024SIL0
22April30-Apr-2024SIL0
23May31-May-2024SIL0
24
Results
Cell Formulas
RangeFormula
D2:D23D2=SUMIFS('Source Sheet'!$M:$M,'Source Sheet'!$B:$B,Results!C2:C23,'Source Sheet'!$A:$A,"<="&Results!B2:B23,'Source Sheet'!$A:$A,">="&EOMONTH(Results!B2:B23+0,-1)+1)
Dynamic array formulas.
 
Upvote 0
Try:

Book1
ABCD
1MonthEOM TypeAmount
2July31-Jul-2023SIL-402105.44
3August31-Aug-2023SIL0
4September30-Sep-2023SIL0
5October31-Oct-2023SIL0
6November30-Nov-2023SIL0
7December31-Dec-2023SIL0
8January31-Jan-2024SIL0
9February29-Feb-2024SIL0
10March31-Mar-2024SIL0
11April30-Apr-2024SIL0
12May31-May-2024SIL0
13July31-Jul-2023SIL-402105.44
14August31-Aug-2023SIL0
15September30-Sep-2023SIL0
16October31-Oct-2023SIL0
17November30-Nov-2023SIL0
18December31-Dec-2023SIL0
19January31-Jan-2024SIL0
20February29-Feb-2024SIL0
21March31-Mar-2024SIL0
22April30-Apr-2024SIL0
23May31-May-2024SIL0
24
Results
Cell Formulas
RangeFormula
D2:D23D2=SUMIFS('Source Sheet'!$M:$M,'Source Sheet'!$B:$B,Results!C2:C23,'Source Sheet'!$A:$A,"<="&Results!B2:B23,'Source Sheet'!$A:$A,">="&EOMONTH(Results!B2:B23+0,-1)+1)
Dynamic array formulas.
Thank you so much. Appreciate your help, it worked.
 
Upvote 0

Forum statistics

Threads
1,223,948
Messages
6,175,570
Members
452,652
Latest member
eduedu

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