What If analysis to calculate the effect of new pricing

fielding

New Member
Joined
Feb 12, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Current Sales contains product, pricing, and quantity info for 4 products. Each product has a different price. Each customer ordered a different quantity. We want to do a What If analysis to determine the effect that pricing changes would have. The tiered pricing schedule for the 4 products is in Pricing Schedule. There are 2 different price tiers depending on whether the company is a reseller or distributor.

What sort of formula can be used to determine this?

Example: In Current Sales, Distributor 1 (row 6) purchased 29,000 units of Product 1 at $24.95 each, 9,600 units of Product 2 at $26.95 and 45,000 units of Product 3 at $29.
If the tiered pricing in Pricing Schedule had been in effect (Distributor prices, so the correct section – rows 6-10 must be matched to the organization type), what would have been the resulting sales for each product and in total for all resellers and distributor?

If the distributor purchased multiple products, then the calculation needs to be made for each product using the prices in the quantity tiers for the type of company (distributor or reseller).
Spreadsheet, Desired Result, is an example of the desired output.

CURRENT SALES
Example calculation update.xlsx
ABCDEFGHIJKLMNOPQRST
1Product 1Product 2Product 3Product 4Sum of QuantitySum of Amount
2Org.Product 1Product 2Product 3Product 4Last Order #Last Order Date# Orders 2021AccountQuantityAmountQuantityAmountQuantityAmountQuantityAmountAverage Price
3Reseller 1$18.95$26.951012/1/202120AAA10$189.50$0.0010$269.50$0.0020$459.00$22.95
4Reseller 2$28.95204/30/202135BBB20$0.00$0.00$0.0015$434.2535$434.25$12.41
5Reseller 3$24.9510004/05/2021949CCC949$23,677.55$0.00$0.00$0.00949$23,677.55$24.95
6Distributor 1$24.95$26.95$29.00150007/09/202183600DDD29000$723,550.009600$258,720.0045000$1,305,000.00$0.0083600$2,287,270.00$27.36
7Distributor 2$26.95$30.00108/3/20216200EEE0$0.001200$32,340.00$0.005000$150,000.006200$182,340.00$29.41
8Distributor 3$24.95$18.95$16.95$19.951210/19/2021337800FFF2800$69,860.00162000$3,069,900.0048000$813,600.00125000$2,493,750.00337800$6,447,110.00$19.09
Current Sales
Cell Formulas
RangeFormula
Q3:Q8Q3=(E3*P3)
R3:R8R3=H3
S3:S8S3=(B3*J3)+(C3*L3)+(D3*N3)+(E3*(P3))
T3:T8T3=S3/R3
H3:H8H3=J3+L3+N3+P3
K3:K8K3=(B3*J3)
M3:M8M3=(C3*L3)
O3:O8O3=(D3*N3)



PRICING SCHEDULE
Example calculation update.xlsx
ABCDEFG
1OrganizationMin OrderMax OrderProduct 1Product 2Product 3Product 4
2Facility/Reseller1049$28.95$28.95$49.95$49.95
3Facility/Reseller50119$27.50$27.50$39.95$39.95
4Facility/Reseller1201,080$26.95$26.95$31.95$31.95
5Facility/Reseller1,200no limit$24.95$24.95$23.40$23.40
6Distributor1,20011,880$20.00$20.00$24.00$24.00
7Distributor12,00035,880$19.70$19.70$23.65$23.65
8Distributor36,000119,880$19.50$19.50$23.40$23.40
9Distributor120,000no limit$19.20$19.20$23.05$23.05
Pricing Schedule
Cell Formulas
RangeFormula
C4C4=B4*9
B5B5=(C4+120)



DESIRED RESULT
Example calculation update.xlsx
ABCDEFGHIJKLMNOPQRST
1Product 1Product 2Product 3Product 4Sum of QuantitySum of Amount
2Org.Product 1Product 2Product 3Product 4Last Order #Last Order Date# Orders 2021AccountQuantityAmountQuantityAmountQuantityAmountQuantityAmountAverage Price
3Reseller 1$28.95$49.951012/1/202120AAA10$289.50$0.0010$499.50$0.0020$789.00$39.45
4Reseller 2$49.95204/30/202135BBB20$0.00$0.00$0.0015$749.2535$749.25$21.41
5Reseller 3$26.9510004/05/2021949CCC949$25,575.55$0.00$0.00$0.00949$25,575.55$26.95
6Distributor 1$19.70$20.00$23.40150007/09/202183600DDD29000$571,300.009600$192,000.0045000$1,053,000.00$0.0083600$1,816,300.00$21.73
7Distributor 2$20.00$30.00108/3/20216200EEE0$0.001200$24,000.00$0.005000$150,000.006200$174,000.00$28.06
8Distributor 3$20.00$19.70$23.40$23.051210/19/2021337800FFF2800$56,000.00162000$3,191,400.0048000$1,123,200.00125000$2,881,250.00337800$7,251,850.00$21.47
9
10
11
12New pricing from Current Sales based on org type, product, and order quantity in Pricing Schedule
13
14Updated calculation
Desired Result
Cell Formulas
RangeFormula
Q3:Q8Q3=(E3*P3)
R3:R8R3=H3
S3:S8S3=(B3*J3)+(C3*L3)+(D3*N3)+(E3*(P3))
T3:T8T3=S3/R3
H3:H8H3=J3+L3+N3+P3
K3:K8K3=(B3*J3)
M3:M8M3=(C3*L3)
O3:O8O3=(D3*N3)
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
There seems to be an error in PRICING SCHEDULE - there is a gap between 1,080 and 1,200 - so there is no pricing information for sales of 1,081 to 1,199. If you can explain that, or rather, say what the correction should be, then I can see a way to do this.
 
Upvote 0
Thanks, Glenn. There are gaps in Min Order in rows 7, 8, and 9. That is because quantities in rows 6, 7, 8, and 9 are based on cases and there are 120 units per case. All distributor orders are case quantities. However, for the formulas you may eliminate the gaps. For example, pricing in row 7 would be based on quantities from 11,881 to 35,880. Row 8 min quantity would start at 35,881, etc.
 
Upvote 0
Thanks for info. Take a look at this:

Book1 (version 2).xlsb
ABCDEFGHIJKLMNOPQRST
1Product 1Product 2Product 3Product 4Sum of QuantitySum of Amount
2Org.Product 1Product 2Product 3Product 4Last Order #Last Order Date# Orders 2021AccountQuantityAmountQuantityAmountQuantityAmountQuantityAmountAverage Price
3Reseller 1 $ 28.95 $ - $ 49.95 $ - 1001/12/202120AAA10 $ 289.50 $ - 10 $ 499.50 $ - 20 $ 789.00 $ 39.45
4Reseller 2 $ 28.95 $ - $ - $ 49.95 2030/04/202135BBB20 $ 579.00 $ - $ - 15 $ 749.25 35 $ 1,328.25 $ 37.95
5Reseller 3 $ 27.50 $ - $ - $ - 10005/04/2021949CCC949 $ 26,099.87 $ - $ - $ - 949 $ 26,099.87 $ 27.50
6Distributor 1 $ 20.00 $ 20.00 $ 23.65 $ - 150009/07/202183600DDD29000 $580,000.00 9600 $ 192,000.00 45000 $ 1,064,250.00 $ - 83600 $ 1,836,250.00 $ 21.96
7Distributor 2 $ - $ 20.00 $ - $ 24.00 1003/08/20216200EEE0 $ - 1200 $ 24,000.00 $ - 5000 $ 120,000.00 6200 $ 144,000.00 $ 23.23
8Distributor 3 $ 20.00 $ 19.20 $ 23.65 $ 23.05 1219/10/2021337800FFF2800 $ 56,000.00 162000 $ 3,110,400.00 48000 $ 1,135,200.00 125000 $ 2,881,250.00 337800 $ 7,182,850.00 $ 21.26
9
10
11OrganizationMin OrderMax OrderProduct 1Product 2Product 3Product 4
12Facility/Reseller1028.9528.9549.9549.95
13Facility/Reseller104928.9528.9549.9549.95
14Facility/Reseller5011927.502527.502539.9500139.95001
15Facility/Reseller120108026.9524526.9524531.9480231.948023
16Facility/Reseller1200120024.9471924.9471923.423.4
17
18Distributor120020202424
19Distributor12001188020202424
20Distributor120003588019.719.723.6523.65
21Distributor3600011988019.519.523.423.4
22Distributor12000012000019.219.223.0523.05
Sheet10
Cell Formulas
RangeFormula
B3:B5B3=IFNA(INDEX(D$12:D$16,MATCH(J3,$C$12:$C$16,1)),0)
C3:C5C3=IFNA(INDEX(E$12:E$16,MATCH(L3,$C$12:$C$16,1)),0)
D3:D5D3=IFNA(INDEX(F$12:F$16,MATCH(N3,$C$12:$C$16,1)),0)
E3:E5E3=IFNA(INDEX(G$12:G$16,MATCH(P3,$C$12:$C$16,1)),0)
B6:B8B6=IFNA(INDEX(D$18:D$22,MATCH(J6,$C$18:$C$22,1)),0)
C6:C8C6=IFNA(INDEX(E$18:E$22,MATCH(L6,$C$18:$C$22,1)),0)
D6:D8D6=IFNA(INDEX(F$18:F$22,MATCH(N6,$C$18:$C$22,1)),0)
E6:E8E6=IFNA(INDEX(G$18:G$22,MATCH(P6,$C$18:$C$22,1)),0)
Q3:Q8Q3=(E3*P3)
R3:R8R3=H3
S3:S8S3=(B3*J3)+(C3*L3)+(D3*N3)+(E3*(P3))
T3:T8T3=S3/R3
H3:H8H3=J3+L3+N3+P3
K3:K8K3=(B3*J3)
M3:M8M3=(C3*L3)
O3:O8O3=(D3*N3)
B16B16=((C15+120))*1
 
Upvote 0
Solution
Copying cell by cell is quite tedious.
 
Last edited by a moderator:
Upvote 0
You do not need to copy cells individually, you can copy/paste the entire mini-sheet in one go using the copy icon
1645189071020.png
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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