Shipping calculations for weight based sheet

ianharper68

New Member
Joined
May 16, 2024
Messages
26
Office Version
  1. 2021
Platform
  1. MacOS
Hello all,

I am building a spreadsheet for quoting my customer.

They order multiple items and we consolidate and then ship on once we have a full trailer.

My question I have been asked to give a collection rate based on weight of products rather than size of pallets.

My rates for instance would be as follows:

Screenshot 2024-09-04 at 15.32.09.png



I have tried the following formula but it doesn't quite work and I can't work out what need to change to make it work correctly:

=IFS(G5<50,H5,G5<100,I5,G5<250,J5,G5<500,K5,G5<1000,L5,G5<2000,M5,G5<3000,N5,G5>3000,O5)

For instance if I put 49 in the KG column I get 35 as the price, then if I put 50 I get 35 however the formula says Less than <50 should only give that result.

My next issue is a want the total to be either 35 for less than 50 KG or the KG rate * total kgs to give a total cost?

I tried this and it works fine for anything over 51kg but I don't want it to calculate the Min charge of £35

=IFS(G5<50,H5,G5<100,I5,G5<250,J5,G5<500,K5,G5<1000,L5,G5<2000,M5,G5<3000,N5,G5>3000,O5)*G5

As you can see I have the issue of the first two lines not being correct values :(

Screenshot 2024-09-04 at 15.34.28.png


Can somebody please help :)
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
You're welcome & thanks for the feedback.
 
Upvote 1
Hi everyone ... I am still working on this one but have come across a problem :( for some reason this forula doesn't return a result? Any help would be appreciated

=IF(B14<>0,"-",INDEX(C14:E14,XMATCH(B14,$C$13:$E$13,-1))*(IF(B14<2,1,B14)))
 

Attachments

  • Screenshot 2024-09-27 at 16.25.11.png
    Screenshot 2024-09-27 at 16.25.11.png
    20 KB · Views: 2
Upvote 0
Shouldn't that be B14=0 rather than B14<>0
 
Upvote 0

Forum statistics

Threads
1,223,881
Messages
6,175,159
Members
452,615
Latest member
bogeys2birdies

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