Volume Tier Formula

northerntimber

New Member
Joined
Jan 5, 2005
Messages
29
Hello,
I am trying to create a formula in a block of cells that would parse volume into tiers based on cumulative volume but only tier the monthly volume as follows...

Month Jan Feb Mar Apr May Jun
Volume 1000 2500 3005 4000 5000 6000
Cum Vol 1000 3500 6505 10505 15505 21505

Tier
0 5000 1000 2500 1500
5001 13000 1505 4000 2495
13001 25000 2505 6000


EDIT: My work computer will not allow me to use the add-ins. I can email the file as an example to someone if needed or to insert into the thread.
The formula I am looking for would be the calculation to break into the tiers.

Thanks for the help!
 
Last edited by a moderator:
Yes, that works, and I can see what you're going for, but I'm struggling a bit with the details. The volume values you've got now are not the same as in your first example, but the tier values are the same. So is this a mismatch of source versus results, or is the logic different from before?

Also, assuming the original volume values, on the tiers, in the same column as Mar, you have 1,500 on one row, and 1,505 on the next. Shouldn't the 1,505 be in the next column over, since the full 5,000 from the first tier was accounted for?
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Eric,
Sorry for the confusion...I was testing some work on formulas that I tried and forgot to change back to the original example. The following is the original example to show the correct logic. I have added additional statements after that hopefully support the desired logic.

ABCDEFGHIJKLMNO
1
2JanFebMarAprMayJunJulAugSepOctNovDec
3Monthly Volume1,0002,5003,0054,0005,0006,0007,0008,0009,00010,00011,00012,000
4Cumulative Volume1,0003,5006,50510,50515,50521,50528,50536,50545,50555,50566,50578,505
5
6Tier
7050001,0002,5001,500
85001130001,5054,0002,495
913001250002,5056,0003,495
1025001500003,5058,0009,0004,495
115000010000005,50511,00012,000

<tbody>
</tbody>


* For each month, the sum of the tiered volumes must equal the monthly volume.
* The breakout in tiers is determined based on the cumulative volume...for example, in March the monthly volume is 3,005 which is broken out in two tiers because the first tier reaches maximum volume of 5000 based on the months of Jan, Feb and part of March (1,000+2,500 = 3,500 + 1,500 from Mar = 5,000). The balance of the monthly volume for March would then be allocated to the next volume tier, hence the 1,505 in the next tier.
* Another example, it the monthly volume in Jan was 75,000, cell D7 would be 5000, cell D8 would be 8000, cell d9 would be 12000, cell d10 would be 25000, and cell d11 would be 25000


I hope that helps and thanks again!

Chris
 
Upvote 0
Yes, that's much clearer. Try this in D7:

=MIN(D$3-SUM(D$6:D6),$B7-SUM($C7:C7)-$B6)

Copy across and down as needed. If you don't want to see the zeros, there are lots of ways. A formula way is:

=IFERROR(1/(1/MIN(D$3-SUM(D$6:D6),$B7-SUM($C7:C7)-$B6)),"")

I'll be away for a few days, but I'll check back in when I can.
 
Upvote 0
Eric...thanks for the support - the last formula worked perfectly.

I would like to add one more variable to the equation (just came up)...If the formula is carried across several years, I want to be able to choose between Cumulative or Annual Reset. In the Annual Reset option, the volume tiers would reset in January of each year. An example of this is in the following data...please note that I am using cell B2 to make the selection between options of "Annual" or "Cumulative". I know that the formula already provided works for "Cumulative" but what about an annual reset?

Annual Example

ABCDEFGHIJKLMNOPQRDTU
1
2ModelAnnualJanFebMarAprMayJunJulAugSepOctNovDecJanFebMarAprMayJun
3Monthly Volume1,0002,5003,0054,0005,0006,0007,0008,0009,00010,00011,00012,00011,00012,00013,00014,00015,00016,000
4Cumulative Volume1,0003,5006,50510,50515,50521,50528,50536,50545,50555,50566,50578,50589,505101,505114,505128,505143,505159,505
5
6Tier
7050001,0002,5001,5005,000
85001130001,5054,0002,4956,0006,000
913001250002,5056,0003,4956,000
1025001500003,5058,0009,0004,49513,00012,000
115000010000005,50511,00012,0002,00015,00016,000

<tbody>
</tbody>



Thanks,
Chris
 
Upvote 0
Correction...

I would like to add one more variable to the equation (just came up)...If the formula is carried across several years, I want to be able to choose between Cumulative or Annual Reset. In the Annual Reset option, the volume tiers would reset in January of each year. An example of this is in the following data...please note that I am using cell B2 to make the selection between options of "Annual" or "Cumulative". I know that the formula already provided works for "Cumulative" but what about an annual reset?

Updated Table For Annual

ABCDEFGHIJKLMNOPQRDTU
1
2ModelAnnualJanFebMarAprMayJunJulAugSepOctNovDecJanFebMarAprMayJun
3Monthly Volume8002,5003,0054,0005,0006,0007,0008,0009,00010,00011,00012,00011,00012,00013,00014,00015,00016,000
4Cumulative Volume8003,3006,30510,30515,30521,30528,30536,30545,30555,30566,30578,30589,305101,305114,305128,305143,305159,305
5
6Tier
7050001,0002,5001,5005,000
85001130001,5054,0002,4956,0002,000
913001250002,5056,0003,49510,0002,000
1025001500003,5058,0009,0004,49511,00014,000
115000010000005,50511,00012,00015,00016,000

<tbody>
</tbody>


Chris
 
Upvote 0
Try:

D7: =IFERROR(1/(1/MIN(D$3-SUM(D$6:D6),$B7-$B6-SUM($C7:C7)+IF($B$2="Annual",SUM($C7:INDEX(7:7,INT((COLUMN()-4)/12)*12+3))))),"")
 
Upvote 0

Forum statistics

Threads
1,214,402
Messages
6,119,299
Members
448,885
Latest member
LokiSonic

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top