Financial Year Query

Molden

Active Member
Joined
Jun 20, 2006
Messages
373
Hi All,

Really struggling with this.

I am trying to get the current financial year figures vs last year financial year (up until the current month) in an access query

So this month is January so:

Current Financial Year = Apr 2014 - Jan 2015
Previous Financial Year = Apr 2013 - Jan 2014

and ideally next month it would include the latest figures so Apr 14 - Feb 15 and Apr 13 - Feb 15

The field I want to sum is called Volume
And the Date I am trying to look at is called DelvDate

Any help would be great.

Thanks in advance
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
For anyone else who has a similar problem and wants to spare the heart ache and tears of doing it themselves please feel free to use the below:

PreviousYear: Sum(IIf(Month(Date())>=4,IIf([DelvDate]>=DateSerial(Year(Now())-1,4,1) And [DelvDate]<DateSerial(Year(Now()),Month(Now())+1,1),[Volume],0),IIf([DelvDate]>=DateSerial(Year(Now())-2,4,1) And [DelvDate]<DateSerial(Year(Now())-1,Month(Now())+1,1),[Volume],0)))



CurrentYear: Sum(IIf(Month(Date())>=4,IIf([DelvDate]>=DateSerial(Year(Now()),4,1) And [DelvDate]<=DateSerial(Year(Now())+1,3,31),[Volume],0),IIf([DelvDate]>=DateSerial(Year(Now())-1,4,1) And [DelvDate]<=DateSerial(Year(Now()),3,31),[Volume],0)))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

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