Function to Calculate per ton/mile

Discuss the spreadsheet application
Post Reply
stacie
Posts: 19
Joined: Tue Sep 10, 2019 12:33 am

Function to Calculate per ton/mile

Post by stacie »

Hey everyone, this is very specific to my industry, but I'm hoping to get some help on a function for calculating a per ton/mile charge on permits for the trucking company I work for. The regulation reads:
For loads greater than 254,000 lbs, $10.00 - plus $0.50 per ton-mile in excess of 80,000 lbs
On my sheet, you enter in the gross weight of the truck + load, and calculate from a code in a cost estimate cell that looks like this:

Code: Select all

IF(AND(F2>=200;G2>=232001;G2<=254000);1420)
F2 is miles driven, G2 is gross weight, and 1420 is the cost for this particular permit. The previous formulas work on flat rates and not per ton/mile, so it's getting more complicated. 80,000 lbs is the legal limit, but the function I need only applies to loads that are above 254,000 lbs.

Any suggestions on how to calculate this? If I need to give more details, let me know.

Thanks!
Open Office 4.1.6 on Windows 10
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Function to Calculate per ton/mile

Post by Villeroy »

Please rephrase your question. Give some examples how you would calculate different loads in your head, on paper or with a calculator.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply