• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Distribution Cost

kylara123

New Member
Dear All,


Please help wit this case, I want to distribute with formula the "2011 Carry Over" cost based on schedule WR Start & WR End (cost/@ month).

[pre]
Code:
WR START	 WR END	      2011 Carry Over 	Jan-11	  Feb-11 Mar-11	Apr-11	May-11
27-Jan-10	26-Feb-11	 9,250.23      4,625.11  4,625.11
[/pre]
Thank you very much
 
Hi, kylara123!


First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.


As a starting point I'd recommend you to read the three first green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).


Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.


Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.


And about your question...


Would you please elaborate a bit more or upolad a sample file indicating desired output? Thanks.


Regards!
 
Hi, kylara123!

Give a look at the second green sticky post at this forums main page for uploading guidelines.

Regards!
 
[pre]
Code:
WR START   WR END         Cost         Jan-11    Feb-11   Mar-11  Apr-11  May-11
27-Jan-11  26-Feb-11     9,250.23     4,625.11  4,625.11
26-Jan-11  13-May-11     5,000.00     1,000.00  1,000.00 1,000.00 1,000.00 1000.00
[/pre]
 
Try this in D2:

=IF(AND(MONTH(D$1)>=MONTH($A2),MONTH(D$1)<=MONTH($B2)),$C2/(MONTH($B2)-MONTH($A2)+1),"")


Copy to the right and down as needed.
 
Dear Luke M,


I Have long column for month of distribution (until 2013), I've tried to use this formula but it makes repetition in next year (2012) in same month. Please your help :)


WR START WR END Cost Jan-11 Feb-11 Apr-11 May-11 Jan-12 Feb-12

27-Jan-11 26-Mar-11 9,250.23 4,625.11 4,625.11 4,625.11 4,625.11


Thank you..


Regards

kylara123
 
Hi ,


Use this formula , which is Luke's modified to include the year :

[pre]
Code:
=IF(AND(YEAR(D$1)<>YEAR($A2),YEAR(D$1)<>YEAR($B2)),"",IF(AND(MONTH(D$1)>=MONTH($A2),MONTH(D$1)<=MONTH($B2)),$C2/(MONTH($B2)-MONTH($A2)+1),""))
[/pre]
Narayan
 
Back
Top