Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-14-2016, 03:13 PM
maxliv maxliv is offline How to create mileage formula Windows 10 How to create mileage formula Office 2016
Novice
How to create mileage formula
 
Join Date: Aug 2016
Posts: 1
maxliv is on a distinguished road
Smile How to create mileage formula


I am trying to figure out a formula for mileage. Anything under 22 miles is $25.30 and anything over 22 miles is multiplied by $1.50 plus $25.30. How do you create a formula for this?
Reply With Quote
  #2  
Old 08-14-2016, 10:43 PM
c991257 c991257 is offline How to create mileage formula Windows 10 How to create mileage formula Office 2016
Advanced Beginner
 
Join Date: Mar 2014
Location: Zambia
Posts: 61
c991257 is on a distinguished road
Default

Quote:
Originally Posted by maxliv View Post
I am trying to figure out a formula for mileage. Anything under 22 miles is $25.30 and anything over 22 miles is multiplied by $1.50 plus $25.30. How do you create a formula for this?
=if(A1<=22;25.30;(A1-22)*1.5+25.30)

/Møller
Reply With Quote
  #3  
Old 08-15-2016, 12:57 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline How to create mileage formula Windows 7 64bit How to create mileage formula Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Just for the fun

=((A1-22)*1.5)*(A1>22))+25.30
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #4  
Old 08-15-2016, 02:16 AM
c991257 c991257 is offline How to create mileage formula Windows 10 How to create mileage formula Office 2016
Advanced Beginner
 
Join Date: Mar 2014
Location: Zambia
Posts: 61
c991257 is on a distinguished road
Default

That's quite elegant. It's requires a bit more than basic understanding but is elegant. I think it might be faster too if there are a lot of calculations of the type.

/Møller
Reply With Quote
  #5  
Old 08-15-2016, 08:13 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline How to create mileage formula Windows 7 64bit How to create mileage formula Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

I don't know about faster, it's just a bit more " back to basics". No knowledge of functions needed
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create mileage formula Create formula for entire column tdodson Excel 2 10-27-2015 09:38 PM
How to create vlookup formula range R1C1 using VBA jyfuller Excel Programming 0 04-29-2015 12:03 PM
How to create mileage formula Looking for formula that would create an average from certain criteria with in excel bdouglas1011 Excel Programming 7 07-29-2014 08:16 AM
How to create mileage formula How to create a formula using the IF in a time sheet. spaul Excel 3 10-28-2013 07:19 PM
Please help me create this formula... doublejoy Excel 1 08-22-2009 03:04 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:32 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft