I'm stumped on a formula. We have a tiered pricing model based on volume. I'm trying to create a table that breaks the YTD volume into the appropriate tier by month. Basically in the example below, the first 235,000 YTD are charged at a certain price, then 235,001-500,000 at a different price and so on. I'd just like a formula in the highlighted area to place the volume in the appropriate column. Did I give enough of an explanation?
Book9 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | |||
3 | 0 | 235,001 | 500,001 | 2,000,001 | ||||||
4 | Month | YTD Links | New by Month | 235,000 | 500,000 | 2,000,000 | 5,000,000 | Total | ||
5 | Jan | 217,569 | 217,569 | 217,569 | 0 | 0 | 0 | 217,569 | ||
6 | Feb | 237,565 | 19,996 | 17,431 | 2,565 | 0 | 0 | 19,996 | ||
7 | Mar | 248,963 | 11,398 | 0 | 11,398 | 0 | 0 | 11,398 | ||
8 | Apr | 304,856 | 55,893 | 0 | 55,893 | 0 | 0 | 55,893 | ||
9 | May | 385,000 | 80,144 | 0 | 80,144 | 0 | 0 | 80,144 | ||
10 | Jun | 499,521 | 114,521 | 0 | 114,521 | 0 | 0 | 114,521 | ||
11 | Jul | 608,976 | 109,455 | 0 | 109,455 | 0 | 0 | 109,455 | ||
12 | Aug | 757,939 | 148,963 | 0 | 126,024 | 22,939 | 0 | 148,963 | ||
13 | Sep | 1,459,653 | 701,714 | 0 | 0 | 701,714 | 0 | 701,714 | ||
14 | Oct | 3,059,785 | 1,600,132 | 0 | 0 | 1,275,347 | 324,785 | 1,600,132 | ||
15 | Nov | 4,148,964 | 1,089,179 | 0 | 0 | 0 | 1,089,179 | 1,089,179 | ||
16 | Dec | 6,598,654 | 2,449,690 | 0 | 0 | 0 | 2,449,690 | 2,449,690 | ||
17 | 235,000 | 500,000 | 2,000,000 | 3,863,654 | 6,598,654 | |||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F3:H3 | F3 | =E4+1 |
C11 | C11 | =C10+109455 |
C12 | C12 | =C11+148963 |
D5 | D5 | =C5 |
D6:D16 | D6 | =C6-C5 |
I5:I17 | I5 | =SUM(E5:H5) |
E17:H17 | E17 | =SUM(E5:E16) |