Way to create rate array from total and counts (opposite of sumproduct)?

PRoozi

New Member
Joined
Mar 18, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi,

Is there a way to calculate a rate array from a total, if one has the counts? In the example below, I've used =SUMPRODUCT using rate 1 array and enrollment count array to get the monthly total. I'm wondering if there's any way to use a given monthly total and the count array to determine what rates were used under Rate 2. Any ideas?

Thank you!

Jul-20Aug-20Sep-20Oct-20Nov-20Dec-20Jan-21Feb-21
Rate 1
Enrollment Tier 1464.616360606061616564
Enrollment Tier 21,005.964442434243404040
Enrollment Tier 3907.533130303031343636
Enrollment Tier 41,448.894043424241434343
Monthly Total159,621.70159,655.09159,212.16158,206.20159,135.41161,737.90165,411.40164,946.79
Rate 2
Enrollment Tier 1??6360606061616564
Enrollment Tier 2??4442434243404040
Enrollment Tier 3??3130303031343636
Enrollment Tier 4??4043424241434343
Monthly Total
309,377.24​
310,705.39​
295,170.12​
280,411.61​
266,391.03​
253,071.48​
240,417.91​
228,397.01​
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
You certainly wouldn't be able to do it with simple formulas.

In theory it should be possible, in practice it would be unrealistic. You would need to test every Tier with every amount from 0.01 to the monthly total in penny increments, and that is assuming that the rates are always rounded to the nearest penny, if they are calculated in a way that allows fractions of a penny then you have no hope.

An observant person could possibly work it out (with accurate totals). I had a quick look at your rate 2 table, but the figures do not add up properly.
Tier 4 calculates at a unit rate of 30,293.78 and Tier 2 calculates at a unit rate of 14,758.51, both of which are impossible to match to the counts and totals in your sheet.

I didn't even look at the other 2 tiers.
 
Upvote 0
Hi,

Is there a way to calculate a rate array from a total, if one has the counts? In the example below, I've used =SUMPRODUCT using rate 1 array and enrollment count array to get the monthly total. I'm wondering if there's any way to use a given monthly total and the count array to determine what rates were used under Rate 2. Any ideas?

Thank you!

Jul-20Aug-20Sep-20Oct-20Nov-20Dec-20Jan-21Feb-21
Rate 1
Enrollment Tier 1464.616360606061616564
Enrollment Tier 21,005.964442434243404040
Enrollment Tier 3907.533130303031343636
Enrollment Tier 41,448.894043424241434343
Monthly Total159,621.70159,655.09159,212.16158,206.20159,135.41161,737.90165,411.40164,946.79
Rate 2
Enrollment Tier 1??6360606061616564
Enrollment Tier 2??4442434243404040
Enrollment Tier 3??3130303031343636
Enrollment Tier 4??4043424241434343
Monthly Total
309,377.24​
310,705.39​
295,170.12​
280,411.61​
266,391.03​
253,071.48​
240,417.91​
228,397.01​
Please disregard the totals under rate 2, they were subject to a 95% rule from prior month. If you want the actual data to check:
Jul-20​
Aug-20​
Sep-20​
Oct-20​
Nov-20​
Dec-20​
Jan-21​
Feb-21​
Rate 1
Enrollment Tier 1464.616360606061616564
Enrollment Tier 21,005.964442434243404040
Enrollment Tier 3907.533130303031343636
Enrollment Tier 41,448.894043424241434343
159,621.70159,655.09159,212.16158,206.20159,135.41161,737.90165,411.40164,946.79
Rate 2
Enrollment Tier 16360606061616564
Enrollment Tier 24442434243404040
Enrollment Tier 33130303031343636
Enrollment Tier 44043424241434343
153,994.43​
173,138.09​
172,701.09​
171,631.71​
172,933.03​
175,160.50​
178,573.79​
179,068.30​
Thanks!
 
Upvote 0
You certainly wouldn't be able to do it with simple formulas.

In theory it should be possible, in practice it would be unrealistic. You would need to test every Tier with every amount from 0.01 to the monthly total in penny increments, and that is assuming that the rates are always rounded to the nearest penny, if they are calculated in a way that allows fractions of a penny then you have no hope.

An observant person could possibly work it out (with accurate totals). I had a quick look at your rate 2 table, but the figures do not add up properly.
Tier 4 calculates at a unit rate of 30,293.78 and Tier 2 calculates at a unit rate of 14,758.51, both of which are impossible to match to the counts and totals in your sheet.

I didn't even look at the other 2 tiers.
Thank you!
 
Upvote 0
Ah ok i hadnt looked long enough. Well if they arent independant events then its possible however the last two columns mean Tier 1 is negative. Is that possible?
 
Upvote 0
Even with the new data, it still doesn't add up (and that's with Tier 1 negative as @steve the fish has observed).

Steve, would you agree with this? Tier 3 not adding up. Yellow cells show the pairs that I've used to identify the rates for those tiers. Bottom row values should all be the same if the figures are correct.

Book1
ABCDEFGHIJ
16Rate 2
17Enrollment Tier 1-494.506360606061616564
18Enrollment Tier 21,069.384442434243404040
19Enrollment Tier 33130303031343636
20Enrollment Tier 41,506.384043424241434343
21Total153,994.43173,138.09172,701.09171,631.71172,933.03175,160.50178,573.79179,068.30
22Comparative76,154.4280,018.3079,581.3078,511.9277,580.4277,385.0475,407.0475,901.54
23Difference77,840.0193,119.7993,119.7993,119.7995,352.6197,775.46103,166.75103,166.76
24Tier 3 (theoretical)2,510.973,103.993,103.993,103.993,075.892,875.752,865.742,865.74
Sheet2
Cell Formulas
RangeFormula
C22:J22C22=SUMPRODUCT($B$17:$B$20,C17:C20)
C23:J23C23=C21-C22
C24:J24C24=C23/C19
 
Upvote 0
Yes exactly what i got. If the rates cannot change over time its an impossible calc. You can deduce Tier 1 from Jan and Feb, Tier 2 from Sept and Oct, and Tier 4 from Aug and Oct. Tier 3 then is impossible to deduce as it doesnt fit.
 
Upvote 0
If the rates cannot change over time its an impossible calc.
If the rates can change over time then it would be equally impossible as there would be no definite factors to start working from in the information that we have available.
 
Upvote 0
If the rates can change over time then it would be equally impossible as there would be no definite factors to start working from in the information that we have available.
Indeed. Either way its not possible from whats been given.
 
Upvote 0

Forum statistics

Threads
1,214,893
Messages
6,122,121
Members
449,066
Latest member
Andyg666

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