Sumifs By Financial Year and By Months

hananak

Board Regular
Joined
Feb 10, 2022
Messages
110
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi Everyone,

I have 3 columns, first one is the year and 2nd column is the months no and third column is the Amount. I am trying to calculate sum based on Financial year and whatever months comes under that year. Normally in one Financial year there will be 12 months. I tried sumifs but it is not working not sure why.

Your help will be really appreciated. Below are the screen shots.

Book4
BCDEFGHIJKLMNOP
1YearMonthsAmount
22019101009.26Total
3201910436.38FY 2019All 12 months
42019106684.14FY 2020All 12 months
52019101045.88FY 2021All 12 months
620191029.9FY 2022All 12 months
72019101500
820191062456.64
920191039.12
10201910-1500
11201910274450
12201910-62456.64Drop Down List
1320191062456.64Select YearSelect MonthAmount
14201910166.672021June
15201910239.26
1620191083.33
1720191083.33
1820191033.33
192019103271.42
2020191037.5
212019103640.08
22201910545.03
23201910519.92
242019104788.58
252019101122.54
26201910400
2720191050
28201910100
292019102000
30201910666.67
312019104.67
32201910978.61
332019101096.95
34201910600
35201910120
36201910171.08
37201910519.92
38201910104.17
392019101207.95
4020191040
4120191069.87
42201910-40514.11
43201910-53808.97
44201910-274450
45201911200
462019114000
472019112415.91
48201911342.17
49201911160
502019111333.33
Sheet1
Cells with Data Validation
CellAllowCriteria
I14List2019,2020,2021,2022
J14ListApril,May,June,July,August,September,October,November,December,January,February,March
 
Some other options for what you may be after?

Thanks. But below are the slight issues:

The first formula is off by one year. The result I am expecting for Year 2019 is appearing in 2020 and 2020 result is appearing on the 2021 and so on.

The 2nd formula it is picking the value but it is considering 10 as month of October but as the Financial Year start from April and ends in March. According to this accounting period cycle, the month 10 is actually January.

Your help will be appreciated.
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
it is considering 10 as month of October
We didn't have any information earlier to consider it anything but October. ;)

Assuming then that column B represents the Financial Year not Calendar Year, but still guessing a bit ..

22 04 15.xlsm
IJK
1
2Total
3FY 2019All 12 months8490.53
4FY 2020All 12 months0
5FY 2021All 12 months0
6FY 2022All 12 months0
7
8
9
10
11
12Drop Down List
13Select YearSelect MonthAmount
142019February8451.41
Sum Fy & Month (3)
Cell Formulas
RangeFormula
K3:K6K3=SUMIF(B2:B1000,RIGHT(I3,4),D2:D1000)
K14K14=SUMIFS(D2:D1000,B2:B1000,I14,C2:C1000,MONTH(EDATE(1&J14,-3)))
 
Upvote 0
We didn't have any information earlier to consider it anything but October. ;)

Assuming then that column B represents the Financial Year not Calendar Year, but still guessing a bit ..
Yes column B represents Financial Year.

Thank you very much Peter (y). That's perfect, exactly the way I wanted :).

I really appreciate the time and efforts.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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