View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Fred Smith[_4_] Fred Smith[_4_] is offline
external usenet poster
 
Posts: 2,389
Default How do I convert a date to a fiscal year?

One way is to sum the whole column, and subtract what you don't want as in:

=sum(a:a)-sumif(a:a,"<"&startdate)-sumif(a:a,""&enddate)

Regards,
Fred.

"Bret" wrote in message
...
That worked perfect. Now my next question. How do I calculate totals for
each FY since their intermixed in the same column?

"Rick Rothstein" wrote:

I think this will give you what you want...

="FY"&TEXT(TEXT(G2,"yy")+(MONTH(G2)6),"00")

Assuming your data starts in Row 2, put this formula in Row 2 of your new
column and copy down.

--
Rick (MVP - Excel)


"Bret" wrote in message
...
I want to convert the dates of tasks to the fiscal year they were
completed.
The fiscal year we operate under is July 1 to June 30. In my
spreadsheet
the
Date Completed is column G and shows for example 6/16/2007 and I want a
new
column to reflect just the fiscal year which would be FY07 in this
case.
A
completed date of 8/15/2007 would be FY08. Appreciate any help.