+ Reply to Thread
Results 1 to 2 of 2

Calculate rate and change rate based on total value reaches a target

  1. #1
    Forum Contributor
    Join Date
    03-30-2009
    Location
    dublin
    MS-Off Ver
    Excel 2007
    Posts
    104

    Calculate rate and change rate based on total value reaches a target

    I AM TRYING TO CALCULATE A MILEAGE RATE SET AT €1.12

    WHEN THE TOTAL MILEAGE ACCRUED REACHES 5000 KM, THE RATE CHANGES TO 98c

    I CAN MAKE CALCULATE EITHER USING AN IF AND MAX FUNCTION COMBO

    BUT I AM HAVING TROUBLE WITH THE ENTRY THAT PUSHES THE TOTAL OVER 5000

    HELP PLEASE

    BAJ
    Attached Files Attached Files
    Last edited by bajdr47; 05-17-2014 at 03:57 PM.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,943

    Re: Calculate rate and change rate based on total value reaches a target

    Change the value in P2 to .98 from 98, and in D3 use

    =IF(C3="","",IF(SUM($C$2:C2)>5000,$P$2,$O$2)*C3-IF(SUM($C$2:C2)<5000,MAX(0,SUM($C$2:C3)-5000)*($O$2-$P$2)))

    and copy down.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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. Replies: 1
    Last Post: 02-28-2014, 02:31 AM
  2. [SOLVED] Calculate total sum based on different rate
    By Roy Kean in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-12-2013, 04:10 AM
  3. Replies: 5
    Last Post: 08-30-2013, 04:32 PM
  4. calculate TOTAL mileage (first 2 miles set rate) all miles thereafter set rate
    By infinite2006 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-30-2013, 08:26 AM
  5. Replies: 8
    Last Post: 10-10-2012, 04:35 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