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 Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date Difference in Complete Tax Years



 
 
Thread Tools Display Modes
  #1  
Old December 3rd, 2009, 01:08 PM posted to microsoft.public.excel.misc
dan
external usenet poster
 
Posts: 1,408
Default Date Difference in Complete Tax Years

I need to calculate the number of complete UK tax years between two dates e.g.

From: 01/08/1994
To: 01/03/1998
= 2 complete tax years.

This is derived from:
01/08/1994 to 05/04/1995 - Not a complete year therefore ignored
06/04/1995 to 05/04/1996 - Complete tax year therefore counted
06/04/1996 to 05/04/1997 - Complete tax year therefore counted
06/04/1997 to 01/03/2008 - Not a complete year therefore ignored

A tax year runs from 06 April to 05 April the following year.

This is a pretty long-winded explanation of the calc but hopefully it gets
the concept across. Any support would be greatly appreciated.

Regards
Dan
  #2  
Old December 3rd, 2009, 01:46 PM posted to microsoft.public.excel.misc
Luke M
external usenet poster
 
Posts: 2,672
Default Date Difference in Complete Tax Years

This formula appears to work:

=DATEDIF(DATE(YEAR(A1)+IF(A1DATE(YEAR(A1),4,6),1, 0),,),DATE(YEAR(A2)-IF(A2DATE(YEAR(A2),4,5),1,0),,),"y")

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Dan" wrote:

I need to calculate the number of complete UK tax years between two dates e.g.

From: 01/08/1994
To: 01/03/1998
= 2 complete tax years.

This is derived from:
01/08/1994 to 05/04/1995 - Not a complete year therefore ignored
06/04/1995 to 05/04/1996 - Complete tax year therefore counted
06/04/1996 to 05/04/1997 - Complete tax year therefore counted
06/04/1997 to 01/03/2008 - Not a complete year therefore ignored

A tax year runs from 06 April to 05 April the following year.

This is a pretty long-winded explanation of the calc but hopefully it gets
the concept across. Any support would be greatly appreciated.

Regards
Dan

 




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


All times are GMT +1. The time now is 05:26 AM.


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