EXCEL SUMIFS

kelvin_9

Active Member
Joined
Mar 6, 2015
Messages
460
Office Version
  1. 2019
greeting to all,

wondering what is the problem on my fromula on sheet_summary ?

thank you very much for your guidence

NEW.xlsx
ABCFGHIJKL
14Sunday, 2 October 2022100100
15Monday, 3 October 2022
16Tuesday, 4 October 2022
17Wednesday, 5 October 2022
18Thursday, 6 October 2022
FY23 - 02OCT2022 ~ 30SEP2023
Cell Formulas
RangeFormula
K14K14=SUM(F14:J14)
A15:A18A15=A14+1


NEW.xlsx
DEFGHIJKLMNOPQR
2SEPTEMBEROCTOBERNOVEMBERDECEMBERJANUARYFEBRUARYMARCHAPRILMAYJUNEJULYAUGUSTSEPTEMBEROCTOBERTOTAL
300000000000000
SUMMARY
Cell Formulas
RangeFormula
D3:Q3D3=SUMIFS('FY23 - 02OCT2022 ~ 30SEP2023'!$F:$F,'FY23 - 02OCT2022 ~ 30SEP2023'!$A:$A,">="&SUMMARY!D$2,'FY23 - 02OCT2022 ~ 30SEP2023'!$A:$A,"<="&EOMONTH(SUMMARY!D$2,0))
 

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.
Your headings on the Summary sheet need to be actual dates for that to work.
thank you for your reply Alex Blakenburg

maybe not?
i can use the same formula on old workbook
D3 is fine, but D40 is not wokring well, so i try to create a new workbook

131 - STWC RECORD 1.1.xlsx
DEFGHIJKLMNO
2OCTOBERNOVEMBERDECEMBERJANUARYFEBRUARYMARCHAPRILMAYJUNEJULYAUGUSTSEPTEMBER
3819300801192917093258583063136320891911176243
SUMMARY
Cell Formulas
RangeFormula
D3:O3D3=SUMIFS('FY23 - 02OCT2022 ~ 30SEP2022'!$F:$F,'FY23 - 02OCT2022 ~ 30SEP2022'!$A:$A,">="&SUMMARY!D$2,'FY23 - 02OCT2022 ~ 30SEP2022'!$A:$A,"<="&EOMONTH(SUMMARY!D$2,0))






131 - STWC RECORD 1.1.xlsx
DEFGHIJKLMNO
39OCTOBERNOVEMBERDECEMBERJANUARYFEBRUARYMARCHAPRILMAYJUNEJULYAUGUSTSEPTEMBER
40000000000000
SUMMARY
Cell Formulas
RangeFormula
D40:O40D40=SUMIFS('FY24'!$F:$F,'FY24'!$A:$A,">="&SUMMARY!D$2,'FY24'!$A:$A,"<="&EOMONTH(SUMMARY!D$2,0))
 
Upvote 0
The values in row 2 are dates that have been formatted to show just the month, whereas the values in row 39 are text.
 
Upvote 0
The values in row 2 are dates that have been formatted to show just the month, whereas the values in row 39 are text.
thank you very much for your reply, Fluff

how should i amend it?
even though i copy row 2 & replace to row 39
with range at D39, still dosent work

131 - STWC RECORD 1.1.xlsx
DEFGHIJKLMNO
39OCTOBERNOVEMBERDECEMBERJANUARYFEBRUARYMARCHAPRILMAYJUNEJULYAUGUSTSEPTEMBER
40000000000000
SUMMARY
Cell Formulas
RangeFormula
D40:O40D40=SUMIFS('FY24'!$F:$F,'FY24'!$A:$A,">="&SUMMARY!D$39,'FY24'!$A:$A,"<="&EOMONTH(SUMMARY!D$39,0))
 
Upvote 0
Without knowing what is on the FY24 sheet it's difficult to say, but I suspect that the values in col A are not real dates.
 
Upvote 0
You seem to have changed your FY24 sheet name but your formula is working fine for me.
To test Fluff's theory and check whether they are real dates change the date format. If nothing changes the values are text. If they change they are being recognised as dates.

Book9
DEFGHIJKLMNO
39OctoberNovemberDecemberJanuaryFebruaryMarchAprilMayJuneJulyAugustSeptember
401003000000000000
Summary
Cell Formulas
RangeFormula
D40:O40D40=SUMIFS('FY24'!$F:$F, 'FY24'!$A:$A, ">="&D$39, 'FY24'!$A:$A, "<="&EOMONTH(D$39,0))


Book9
ABCDEF
14Sunday, 2 October 2022100
15Monday, 3 October 2022
16Tuesday, 4 October 2022
17Wednesday, 5 October 2022
18Thursday, 6 October 2022
19Tuesday, 15 November 2022200
20Friday, 25 November 2022100
FY24
Cell Formulas
RangeFormula
A15:A18A15=A14+1
 
Upvote 0
thank you very much for your reply, Fluff & Alex Blakenburg

i have found the reason and amened successfully with your advise

thank you very much
 
Upvote 0
Glad it's sorted & thanks for letting us know.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,874
Members
452,363
Latest member
merico17

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