Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default How do I convert a date to a fiscal year?

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default How do I convert a date to a fiscal year?

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.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default How do I convert a date to a fiscal year?

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.



  #4   Report Post  
Posted to microsoft.public.excel.misc
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.




  #5   Report Post  
Posted to microsoft.public.excel.misc
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.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default How do I convert a date to a fiscal year?

=MyDate+184
Formatted as "FY"[$-409]yy
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I convert a specific date to a fiscal quarter ? RichNYC Excel Discussion (Misc queries) 10 November 26th 07 03:35 PM
How do I convert Julian date to fiscal date Khaled kandil Excel Worksheet Functions 1 July 27th 06 08:40 AM
Fiscal Year in date field keith Excel Discussion (Misc queries) 6 February 21st 06 07:09 PM
EXCEL LOOKUP FISCAL YEAR WITH DATE Toni's Taxi Excel Worksheet Functions 2 February 5th 06 01:22 PM
Date formula: return Quarter and Fiscal Year of a date Rob Excel Discussion (Misc queries) 7 May 11th 05 08:48 PM


All times are GMT +1. The time now is 09:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"