View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Rick Rothstein Rick Rothstein is offline
external usenet poster
 
Posts: 5,934
Default How do I convert a date to a fiscal year?

Assuming the values you want to total are in, say, Column H, and the Fiscal
Year formula I posted is in Column L, try this formula...

=SUMIF(L:L,"=FY07",H:H)

or, if you have unrelated data located in those columns after the data, use
this version where you specify the ranges...

=SUMIF(L2:L100,"=FY07","H2:H100)

--
Rick (MVP - Excel)


"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.