?
Solved

Enter date and return the fiscal month as an integer

Posted on 2012-08-21
2
Medium Priority
?
827 Views
Last Modified: 2012-08-21
My fiscal year runs from October 1, 2012 to September 30, 2013.  I've found functions that will return the fiscal week number with sufficient accuracy for my needs (I don't worry about the few days at the beginning or end of the year).

I would like a formula/function that will return the number of the fiscal month when I enter a particular date:  for example: Oct 2, 2011 - 1; October 31, 2011 - 1, January 2, 2013 - 4, August 15, 2013 - 11, etc.  I think this has been turned into a function in Access, but I need it for Excel.  Any thought?  Thanks, jn
0
Comment
Question by:jknichlsn
2 Comments
 
LVL 24

Accepted Solution

by:
Steve earned 1200 total points
ID: 38317984
if the date is in A2:

=IF(MONTH(A2)-9<1,MONTH(A2)+3,MONTH(A2)-9)

Does that suffice or does it need the date portion too?
0
 

Author Closing Comment

by:jknichlsn
ID: 38318017
Super fast response.  Someday, I'd like to add an error message if the date entered is outside the fiscal year that the starting cell lies in, but for now, just dandy.  Thank you!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question