A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Showing financial years



 
 
Thread Tools Display Modes
  #1  
Old March 10th, 2005, 11:49 AM
Tony
external usenet poster
 
Posts: n/a
Default Showing financial years

Hi,
I got this formula off a previous posting, which shows
financial year.

FinYr: Year(DateAdd("m",-3,[DatePaid]))

What I need the formula to do is to return the actual
financial years that a payment relates to.

For example, if an invoice was paid on 11/02/2003 the
formula only returns 2003. What I need the formula to
show is 2002/2003, as these are the relating financial
years (01/04/02-31/03/2003) and 2003 on its own could be
interpreted being paid in 2003/2004 - if you catch my
drift.

I'm unable to solve it myself so would be glad of some
help from the experts.

Thanks
Tony
  #2  
Old March 10th, 2005, 04:03 PM
JaRa
external usenet poster
 
Posts: n/a
Default

FinYr: IIf(Month([DatePaid])=3,Year([DatePaid])-1 & "/" &
Year([DatePaid]),Year([DatePaid]) & "/" & Year([DatePaid])+1)


Does this do the trick?

-Raoul


"Tony" wrote:

Hi,
I got this formula off a previous posting, which shows
financial year.

FinYr: Year(DateAdd("m",-3,[DatePaid]))

What I need the formula to do is to return the actual
financial years that a payment relates to.

For example, if an invoice was paid on 11/02/2003 the
formula only returns 2003. What I need the formula to
show is 2002/2003, as these are the relating financial
years (01/04/02-31/03/2003) and 2003 on its own could be
interpreted being paid in 2003/2004 - if you catch my
drift.

I'm unable to solve it myself so would be glad of some
help from the experts.

Thanks
Tony

  #3  
Old March 10th, 2005, 04:31 PM
Tony
external usenet poster
 
Posts: n/a
Default

Raoul,

Perfect - thanks very much

Tony
-----Original Message-----
FinYr: IIf(Month([DatePaid])=3,Year([DatePaid])-1 & "/"

&
Year([DatePaid]),Year([DatePaid]) & "/" & Year([DatePaid])

+1)


Does this do the trick?

-Raoul


"Tony" wrote:

Hi,
I got this formula off a previous posting, which shows
financial year.

FinYr: Year(DateAdd("m",-3,[DatePaid]))

What I need the formula to do is to return the actual
financial years that a payment relates to.

For example, if an invoice was paid on 11/02/2003 the
formula only returns 2003. What I need the formula to
show is 2002/2003, as these are the relating financial
years (01/04/02-31/03/2003) and 2003 on its own could

be
interpreted being paid in 2003/2004 - if you catch my
drift.

I'm unable to solve it myself so would be glad of some
help from the experts.

Thanks
Tony

.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FINANCIAL FUNCTIONS Brent Worksheet Functions 13 September 9th, 2004 12:43 AM
Handling Leap Years in Calculation Jim Schlotz Worksheet Functions 1 October 29th, 2003 11:47 PM


All times are GMT +1. The time now is 01:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.