Hi Alexander!
To get the water year day of a date in A1:
=IF(A1<DATE(YEAR(A1),10,1),A1-DATE(YEAR(A1)-1,9,30),A1-DATE(YEAR(A1),9,30))
To get the day of year of a date in A1:
=A1-DATE(YEAR(A1)-1,12,31)
--
Regards
Norman Harker MVP (Excel)
Sydney, Australia
[email protected]
It is imperative that the patches provided by Microsoft in its April
Security Release be applied to Systems as soon as possible. It is
believed that the likelihood of a worm being released SOON that
exploits one of the vulnerabilities addressed by these patches is VERY
HIGH.
See:
http://www.microsoft.com/security/protect/