How do I get Excel to display which financial year a date is in?

L

LemLems

Hi
I have a list of dates in an Excel 2000 spreadsheet. I'm looking for a
function that will display which financial year those dates fall in. So for
example if the date was 31/01/2009 I would want it to show 08-09.
Does anyone know of a function that would do this?
thanks
 
M

Mike H

Hi,

It depends when your financial year ends, are they all the same? Try this
for a year ending on 31 March. If ot's different that End March change <4 to
the month you want

=IF(MONTH(A1)<4,YEAR(A1)-1&"/"&RIGHT(YEAR(A1),2),YEAR(A1)&"/"&RIGHT(YEAR(A1)+1,2))

Mike
 
M

Mike H

Ah,

A formatting issue you wanted 08-09

=IF(MONTH(A1)<4,RIGHT(YEAR(A1)-1,2)&"-"&RIGHT(YEAR(A1),2),YEAR(A1)&"/"&RIGHT(YEAR(A1)+1,2))

Mike
 
M

Mike H

I'll get the formatting right in a minute:(

=IF(MONTH(A1)<4,RIGHT(YEAR(A1)-1,2)&"-"&RIGHT(YEAR(A1),2),RIGHT(YEAR(A1),2)&"-"&RIGHT(YEAR(A1)+1,2))

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Dates in a Financial Year 8
Excel date intervals look up 1
Simple IF problem 7
A Year in advance ? 11
Copying a cell if dates match 2
Date lists 3
2 dimensional date sort 1
Excel Vba to change displayed year automatically. 14

Top