#1   Report Post  
Hardy03
 
Posts: n/a
Default Mileage calculation

I am creating a spreadsheet that will work out how much petrol money a worker
can claim back.
The claim is based on usage, anything below 666 miles petrol is calculated
at 32p and then anything over that petrol is calculated at 16p
how can i get the total claim cell to calculate for the example a worker who
travelled 812 miles?

  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

=32*min(miles,666)+16*max(miles-666,0)

"Hardy03" wrote:

I am creating a spreadsheet that will work out how much petrol money a worker
can claim back.
The claim is based on usage, anything below 666 miles petrol is calculated
at 32p and then anything over that petrol is calculated at 16p
how can i get the total claim cell to calculate for the example a worker who
travelled 812 miles?

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=(miles*16+MIN(miles,666)*16)/100

and format as currency

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Duke Carey" wrote in message
...
=32*min(miles,666)+16*max(miles-666,0)

"Hardy03" wrote:

I am creating a spreadsheet that will work out how much petrol money a

worker
can claim back.
The claim is based on usage, anything below 666 miles petrol is

calculated
at 32p and then anything over that petrol is calculated at 16p
how can i get the total claim cell to calculate for the example a worker

who
travelled 812 miles?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Equity buildup calculation JimDandy Excel Worksheet Functions 5 September 6th 05 05:57 PM
Calculation Setting in Excel Stuart Bisset Excel Discussion (Misc queries) 0 June 17th 05 09:54 AM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 10:11 PM
How do I use a rounded calculation result in another calculation? vnsrod2000 Excel Worksheet Functions 1 January 26th 05 09:36 PM
time-clock calculation dokliver Excel Worksheet Functions 3 October 28th 04 09:07 PM


All times are GMT +1. The time now is 12:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"