Solved

Excel convert date to Quarer and Fiscal Year

Posted on 2016-08-22
2
36 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
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 31

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now