How to get the amount charged

gaurav_rastogi

New Member
Joined
Jan 11, 2010
Messages
2
we have a party who charges us for courier servies like this

country name Zone
India A
USA B
UK C

RATES FOR ZONE A
A. FOR PARCELS
UPTO 100 GMS 250
FROM 101-500 GMS 500
FOR NEXT EVERY 500 GMS 100
B. FOR DOCUMENTS
UPTO 100 GMS 350
FROM 101-500 GMS 600
FOR NEXT EVERY 500 GMS 200

NOW IF SEND A PARCEL TO INDIA WEIGHING 4.5 KG, HOW CAN I CALCULATE THE AMOUNT TO BE CHARGED?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
If we can assume that we have more or less 1000 grams in a kilogram then
=(((4.5*1000)-500)/500)*100+500 which should cost you 1,300 of some kind of currency.
Make sure to check these numbers as it has been 55+ years since I went to school for this kind of math.

Note:
You used a nice round weight (4.5 kg) here. You might need to round the weight up to the nearest .5 kg (500 gram)
if your weights are not a multiple of 500.
 
Upvote 0
I wanted to create a excel sheet so that if i put the name of the country and Parcel/documents as the type of courier and the weight of the parcel/document, the frieght amount is automatically charged.
 
Upvote 0
Perhaps not the most elegant solution....
Excel Workbook
ABCDEFGHIJ
1PARCELSRealCourier<=100 gram101-500 gr>500 per 500Courier
2CountryWeightWeightWeight Units 1Weight Units 2Weight Units 3Price 1Price 2Price 3to be paid
3India1100100$ 12.50$ -$ -$ 12.50
4India99100100$ 12.50$ -$ -$ 12.50
5India100100100$ 12.50$ -$ -$ 12.50
6India101500010$ -$ 15.00$ -$ 15.00
7India499500010$ -$ 15.00$ -$ 15.00
8India500500010$ -$ 15.00$ -$ 15.00
9India5011000011$ -$ 15.00$ 4.00$ 19.00
10India9991000011$ -$ 15.00$ 4.00$ 19.00
11India10001000011$ -$ 15.00$ 4.00$ 19.00
12India10011500012$ -$ 15.00$ 8.00$ 23.00
13India14991500012$ -$ 15.00$ 8.00$ 23.00
14India15001500012$ -$ 15.00$ 8.00$ 23.00
15India15012000013$ -$ 15.00$ 12.00$ 27.00
16India19992000013$ -$ 15.00$ 12.00$ 27.00
17India20002000013$ -$ 15.00$ 12.00$ 27.00
18India20012500014$ -$ 15.00$ 16.00$ 31.00
19India24992500014$ -$ 15.00$ 16.00$ 31.00
20India25002500014$ -$ 15.00$ 16.00$ 31.00
21India25013000015$ -$ 15.00$ 20.00$ 35.00
Sheet1
Excel 2010
Cell Formulas
RangeFormula
C3=IF(B3<=100,100,IF(B3<=500,500,CEILING(B3,500)))
D3=IF(AND(B3>0,B3<=100),1,0)
E3=IF(B3>100,1,0)
F3=IF(B3>500,INT((C3-500)/500),0)
G3=IFERROR(VLOOKUP($A3,$L$2:$O$5,2,0),0)*D3
H3=IFERROR(VLOOKUP($A3,$L$2:$O$5,3,0),0)*E3
I3=IFERROR(VLOOKUP($A3,$L$2:$O$5,4,0),0)*F3
J3=SUM(G3:I3)



Two lookup tables:
Excel Workbook
LMNO
1Lookup table
2PARCELS0-100g101-500g>500g per 500g
3India$ 12.50$ 15.00$ 4.00
4UK$ 20.00$ 25.00$ 6.00
5US$ 4.00$ 6.00$ 3.00
6
7Lookup table
8DOCUMENTS0-100g101-500g>500g per 500g
9India$ 2.50$ 5.00$ 1.75
10UK$ 7.00$ 18.00$ 2.50
11US$ 1.50$ 3.75$ 0.99
Sheet1
Excel Workbook
ABCDEFG
51PARCELSRealCourier<=100 gram101-500 gr>500 per 500Courier
52CountryWeightWeightPrice 1Price 2Price 3to be paid
53India0100$ -$ -$ -$ -
54India90100$ 12.50$ -$ -$ 12.50
55India100100$ 12.50$ -$ -$ 12.50
56India101500$ -$ 15.00$ -$ 15.00
57India499500$ -$ 15.00$ -$ 15.00
58India500500$ -$ 15.00$ -$ 15.00
59India5011000$ -$ 15.00$ 4.00$ 19.00
Excel 2010 and after some additional tweaking.... Sheet1

Excel 2010
Cell Formulas
RangeFormula
C53=IF(B53<=100,100,IF(B53<=500,500,CEILING(B53,500)))
D53=IF(AND(B53>0,B53<=100),IFERROR(VLOOKUP($A53,Sheet1!$L$2:$O$5,2,0),0),0)
E53=IF(B53>100,IFERROR(VLOOKUP($A53,Sheet1!$L$2:$O$5,3,0),0),0)
F53=IF(B53>500,INT((C53-500)/500)*IFERROR(VLOOKUP($A53,Sheet1!$L$2:$O$5,4,0),0),0)
G53=SUM(D53:F53)


Of course you only need the first row to calculate. The others are there so you can see the results it produces for different weights.
Your input would be Cells A3 and B3.

You also need to duplicate this calculation to take care of Documents.


Rob
 
Upvote 0

Forum statistics

Threads
1,224,507
Messages
6,179,183
Members
452,893
Latest member
denay

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