Year function

Raz

New Member
Joined
Sep 19, 2002
Messages
4
I need to set up a year counter alongside a set of dates. The year function does this but this gives me calendar year and I need Financial Year. Is there a function which will allow me to get financial year??
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Raz,
Welcome to the board. This may help:

=IF(MONTH($B$6)=12,"","F")&TEXT(DATE(YEAR(B10),MONTH(B10)+(12-MONTH($B$6)),DAY(B10)),"yyyy")

where $B$6 has the date of your fiscal year end (ie, 3/31/01) and B10 has the date of a given period (ie 6/30/01). For example, these two data points should yield F2002.

Alriemer
 
Upvote 0
You could use a Lookup formula or a formula.

=IF(MONTH(B10)>3,"F"&YEAR(B10)+1,"F"&YEAR(B10))

or ="F"&YEAR(B10)+LOOKUP(MONTH(B10),{1,4;0,1})

="F"&YEAR(B10)+(MONTH(B10)>3)&"-"&LOOKUP(MONTH(B10),{1,2,3,4,5,6,7,8,9,10,11,12;10,11,12,1,2,3,4,5,6,7,8,9})

or A Lookup table to accommodate special month-end dates
This message was edited by Dave Patton on 2002-10-08 19:03
 
Upvote 0

Forum statistics

Threads
1,223,495
Messages
6,172,624
Members
452,466
Latest member
Lynlindsay

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top