Formula to apply a charge per kilo in a range of weight

Xamores

New Member
Joined
Apr 4, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello, I have the value in cell C4, I need to calculate the total freight depending on the range of weight:

So the value I need is that the weight indicated in C4 be Multiplied by the value of its tariff in this case 265..53 X 5.68 5 more than 100 less than 300. so if it is less than 45 = C4 x c34, more than 45 and less than 100 C4 Multiplied by C35, etc etc, and if this final result is less that C33 then C33. I hope it is clear.
1712237253323.png
 

Attachments

  • 1712237199453.png
    1712237199453.png
    26.4 KB · Views: 7

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Best would be to create a lookup array where excel can lookup and return a specified rate as per the actual weight. This shall give you flexibility to change rate or weight slabs as per your need.

We had many similar posts on this forum. I shall find one and quote to give you a better prespective.
 
Upvote 0
The post may not be exact as you need but look at #2 by @awoohaw That solution is exact to your need. Still trying to find some solution where range are mentioned

 
Upvote 0
again #2 by @awoohaw is answer to your problem

 
Upvote 0
Using above instances -

Book1
ABCDEF
1WtTarrif
2265.535.6807.72
3456.4
41005.68
53004.8
65004.36
710004.36
8100004.36
Sheet1
Cell Formulas
RangeFormula
B2B2=LOOKUP(A2,E2:E8,F2:F8)
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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