Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Funds allocation by Calendar Year

Hi All,
i have a situation where i need to allocate funds or dollar amounts for each
calendar year (columns CY 2010 and CY 2011 and . Below is the table i have:

Start Date Finish Date Total Days Subtotal 2009
2010 2011
1-Mar-09 28-Feb-11 730 $149,398.78 ???
??? ???

What formula do i use for columns 2009, 2010 and 2011 to allocate the $$ for
each Calendar Year?
Thank you in advance.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Funds allocation by Calendar Year

Here is the better organized way of the table (columns: StarDate, FinishDate,
TotDays, Subtotal, 2009, 2010, 2011):

StartDate FinishDate TotDays Subtotal 2009 2010 2011
1-Mar-09 28-Feb-11 730 $149,398 ??? ??? ???

Thank you in advance.


"Gladiator" wrote:

Hi All,
i have a situation where i need to allocate funds or dollar amounts for each
calendar year (columns CY 2010 and CY 2011 and . Below is the table i have:

Start Date Finish Date Total Days Subtotal 2009
2010 2011
1-Mar-09 28-Feb-11 730 $149,398.78 ???
??? ???

What formula do i use for columns 2009, 2010 and 2011 to allocate the $$ for
each Calendar Year?
Thank you in advance.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Funds allocation by Calendar Year

Had to translate the formula from the german version, u might have to
verify the punctuation or the spelling of the functions if it's not
working.
It's calculating: subtotal / total Days * days in year 2009:

A1 = StartDate
B2 = FinishDate
D2 = Subtotal

=D2/(B2-A2+1)*SUMPRODUCT((YEAR(ROW(INDIRECT(A2&":"&B2)))=2 009)*1)

Instead of inserting the year u might refer to the header like this: E
$1

Hope this is what you were looking for.

Hubisan



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Funds allocation by Calendar Year

Hubisan, thanks for the response. It did work. But i did change the formula
by locking the year references and referencing the St and Fin dates that are
in another sheet:

=$D2/(Sheet3!$B8-Sheet3!$A8+1)*SUMPRODUCT((YEAR(ROW(INDIRECT(Sheet3 !$A8&":"&Sheet3!$B8)))=E$1)*1)

So far it is working fine unless you have any comments on the changes i made.
Thanks.

"Hubisan" wrote:

Had to translate the formula from the german version, u might have to
verify the punctuation or the spelling of the functions if it's not
working.
It's calculating: subtotal / total Days * days in year 2009:

A1 = StartDate
B2 = FinishDate
D2 = Subtotal

=D2/(B2-A2+1)*SUMPRODUCT((YEAR(ROW(INDIRECT(A2&":"&B2)))=2 009)*1)

Instead of inserting the year u might refer to the header like this: E
$1

Hope this is what you were looking for.

Hubisan



.

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
calendar year versus fiscal year mePenny Excel Discussion (Misc queries) 4 November 17th 09 07:05 PM
Complex allocation of workdays within Gov. fiscal year klysell Excel Programming 0 May 14th 08 10:21 PM
Help dealing with a fiscal year rather than a calendar year Tyler Excel Worksheet Functions 3 August 25th 07 12:26 PM
Break on Calendar Year Clayman Excel Programming 4 August 20th 07 09:12 PM
change the year in a calendar template to different year George Excel Discussion (Misc queries) 1 July 19th 06 08:34 PM


All times are GMT +1. The time now is 05:03 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"