Hello!
What is the best method to find the last digit and last 2 digits of the fiscal year (Oct 1- Sep 30) corresponding to the date in A1?
1/1/2011 would be 1, etc.
??
Thanks for the help!
VR/Lost
Hello!
What is the best method to find the last digit and last 2 digits of the fiscal year (Oct 1- Sep 30) corresponding to the date in A1?
1/1/2011 would be 1, etc.
??
Thanks for the help!
VR/Lost
Last edited by leaning; 12-16-2010 at 09:47 PM. Reason: Solved!
Hi
Answered a slightly different question - please disregard
edvwvw
Last edited by edvwvw; 12-15-2010 at 04:28 AM.
Hello!
This seems to work OK to determine the Oct 1 - Sep 30 FY from the date in A1. Then I can just use the RIGHT function to get the last 2 digits.
=IF(INT((MONTH(A1)+2)/3)=4,YEAR(A1)+1,YEAR(A1))
Anything shorter than this out there?
VR/Lost
Not entirely sure I follow but:
modify 1 to 2 for 2 digits - note the above is returning said digits as a string rather than a number (use coercion or a MOD construct to return as number)![]()
=RIGHT(YEAR(A1)+(MONTH(A1)>9),1)
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks