Solved

Excel convert date to Quarer and Fiscal Year

Posted on 2016-08-22
2
97 Views
Last Modified: 2016-08-23
I'm using the formula below to convert dates to fiscal quarter and fiscal year. The fiscal begins on 10/1 which is the first quarter. The formula is only converting the forth quarter of the fiscal. The output should be in the following format : Q4-2016
Any advice how to convert. Thanks



=IF(MONTH(D4)<=9,CHOOSE(MONTH(D4),"Q2","Q2","Q2","Q3","Q3","Q3",
"Q4","Q4","Q4","Q1","Q1","Q1")&"FY"&YEAR(D4),"FY"&YEAR(D4)+1)
0
Comment
Question by:shieldsco
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 47

Assisted Solution

by:Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs) earned 100 total points
ID: 41766266
Try this formula...

="Q" & MATCH(MONTH(D4-DATE(0,10,0)), {1,4,7,10}, 1) & "-" & YEAR(D4)
0
 
LVL 33

Accepted Solution

by:
Rob Henson earned 400 total points
ID: 41766571
Your IF statement is in the wrong place.  It is only going to the CHOOSE function when month is less than/equal to 9. For months 10 - 12 it is just doing the "FY"&YEAR(D4)+1

Try:

=CHOOSE(MONTH(D4),"Q2","Q2","Q2","Q3","Q3","Q3","Q4","Q4","Q4","Q1","Q1","Q1")&IF(MONTH(D4)<=9,"FY"&YEAR(D4),"FY"&YEAR(D4)+1)

Tried it with 21 Nov 2016 and it gives "Q1FY2017", is that correct?

Thanks
Rob
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

710 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