#1   Report Post  
Posted to microsoft.public.excel.misc
Kev
 
Posts: n/a
Default or < Than

Please Help
I'm Trying to do a mileage counter and I need to know the formula for cell
b57 if the first 10000 miles are charged at 40p and every mile after that at
25p. B57 is the counting cell for how many miles per week I do.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Andrew Taylor
 
Posts: n/a
Default or < Than

=MIN(B57,10000)*0.4 + MAX(B57-10000,0)*0.25
should do it (gives the answer in £)




Kev wrote:
Please Help
I'm Trying to do a mileage counter and I need to know the formula for cell
b57 if the first 10000 miles are charged at 40p and every mile after thatat
25p. B57 is the counting cell for how many miles per week I do.


  #3   Report Post  
Posted to microsoft.public.excel.misc
ERR229
 
Posts: n/a
Default or < Than

If I'm understanding you issue correctly, try this:
=IF(B57<=10000,B57*0.4,B57*0.4+(B75-10000)*0.25)
--
ERR229


"Kev" wrote:

Please Help
I'm Trying to do a mileage counter and I need to know the formula for cell
b57 if the first 10000 miles are charged at 40p and every mile after that at
25p. B57 is the counting cell for how many miles per week I do.

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



All times are GMT +1. The time now is 07:53 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"