+ Reply to Thread
Results 1 to 2 of 2

Calculating Cost with Variables

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    Phoex, USA
    MS-Off Ver
    2010
    Posts
    1

    Question Calculating Cost with Variables

    Hello!

    I am trying to calculate a transportation costs based on distance. For example, a driver is paid $10 for every pick up and this pick up charge includes the first five miles of travel. For every mile after the first five miles, the driver is paid an additional $1.50 per mile plus the original pick up fee of $10. If the trip distance is less than the included miles (five), then the total cost should be the pick up charge ($10). Currently my formula is taking a negative integer and producing cost based on that. For example: the formula reads (trip distance - included miles) x (rate per mile) + (pick up charge) or (1-5) x ($1.50) + ($10)=$4 when it should result in $10. I apologize if this doesn't make much sense. I appreciate any help that can be offered!

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Calculating Cost with Variables

    Hello and welcome to the forum,

    Assuming you have the distance in A2, try this formula :
    Please Login or Register  to view this content.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Calculating total cost from range of cell tally's by cost of item.
    By patrickdjames in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 11-04-2012, 10:27 AM
  2. Calculate cost with three variables
    By Keltic in forum Excel General
    Replies: 3
    Last Post: 04-22-2012, 11:17 AM
  3. calculating cost prices for a product with multiple variables
    By cbs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-02-2010, 07:36 PM
  4. Multiple independant variables in cost estimate
    By wmfinance in forum Excel General
    Replies: 2
    Last Post: 07-28-2010, 09:05 AM
  5. Calculating cost
    By TMCEWAN259 in forum Excel General
    Replies: 5
    Last Post: 04-17-2009, 08:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1