how to do this sumproduct calculation?

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
846
Office Version
  1. 2013
Platform
  1. Windows
I'm guessing this can be solved with a sumproduct but I really don't know for sure.


[TABLE="width: 500"]
<tbody>[TR]
[TD]0-5KM[/TD]
[TD]50%[/TD]
[TD]$5[/TD]
[/TR]
[TR]
[TD]5-10KM[/TD]
[TD]15%[/TD]
[TD]$10[/TD]
[/TR]
[TR]
[TD]10-15KM[/TD]
[TD]15%[/TD]
[TD]$15[/TD]
[/TR]
[TR]
[TD]15-20KM[/TD]
[TD]10%[/TD]
[TD]$20[/TD]
[/TR]
[TR]
[TD]20-30KM[/TD]
[TD]5%[/TD]
[TD]$25[/TD]
[/TR]
[TR]
[TD]30-40KM[/TD]
[TD]5%[/TD]
[TD]$25[/TD]
[/TR]
</tbody>[/TABLE]


Here's a table which shows how much we charge (col C) for various distances. Col B shows typically what percentage of our orders falls under which range.

I'd like to take an Order Vol, say 100K orders, and see what the results would be. So I'd like a formula to be something like:
100K * 50% * $5 + 100K * 15% * $10 + 100K * 15% * $15 etc

Is there an easier way to do this?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Try:
Excel Workbook
ABCDE
10-5KM50%$5
25-10KM15%$101,075,000.00
310-15KM15%$15
415-20KM10%$20
520-30KM5%$25
630-40KM5%$25
Sheet
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,116
Members
453,021
Latest member
Justyna P

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