+ Reply to Thread
Results 1 to 3 of 3

Formula Needed to Calc Total Cost for Using Equipment when Rate Increases per Days Used

  1. #1
    Registered User
    Join Date
    03-26-2015
    Location
    New York, NY
    MS-Off Ver
    2013
    Posts
    2

    Formula Needed to Calc Total Cost for Using Equipment when Rate Increases per Days Used

    I'm working to write a formula to calculate total cost for using a vendor's equipment when the cost of using the equipment increases at different rates based on the number of days used.

    ex. the equipment was used for a total of 7 days, the equipment vendor charges $95/day for 1-4 days, the rate then increases to $140/day for 5-8 days, and increases again to $175 for any day the equipment is kept past 9 days.

    In this scenario the correct total cost for using the equipment is $800

    There are multiple vendors, all having different rate schedules. I'm currently calculating using an offset formula, and have all vendors and rates in a chart which pulls the rate based on vendor name and total number of days. The rate populates and multiples by total number of days, however this is overstating the total cost. If the number of days falls into a higher tier, the current formula takes the rate times the number of days, not taking into consideration the lesser charge for the first tier of days.

    Existing formula would calc the total as 7*140 = $980

    I'm assuming this would still use offset in some manner, but can't quite get there.

    Thanks in advance any advice you can lend!

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Formula Needed to Calc Total Cost for Using Equipment when Rate Increases per Days Use

    Try this for a given vendor:

    it use the following

    =SUMPRODUCT(($C$2>=$A$2:$A$4)*($C$2-$A$2:$A$4),$B$2:$B4)

    The table uses the increments between rates: see notes in file.

    So I think you will need a table per Vendor.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-26-2015
    Location
    New York, NY
    MS-Off Ver
    2013
    Posts
    2

    Cool Re: Formula Needed to Calc Total Cost for Using Equipment when Rate Increases per Days Use

    I figured it out!

    I used the Sum and Offset formulas to work through. Here's an example formula in case anyone needs help working through a
    similar issue.


    =SUM(OFFSET(offset!$A$1,AU2,AV2,-1*AT3,1)

    Offset!$A$1 = my data table on a sheet named "offset"
    AU2 = the number of cells down of the starting cell (A1) within my offset table
    AV2 = the number of cells to the right of the starting cell (A1) within my offset table
    -1*AT3 = the number of rows in an upward direction to sum from the cell where AU2 and AV2 met
    1 = the number of columns to sum from the cell where AU2 and AV2 met

    Thanks for your help!

+ 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. Calc total cost based on room rates
    By Rachelle in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-05-2015, 12:41 PM
  2. Forecasting Formula for Decreasing Equipment Rental Rate
    By Dabney in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-30-2014, 05:09 AM
  3. [SOLVED] A formula to calc total number of days elapsed between two dates within any given month
    By paul.a.evans in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-03-2014, 01:29 AM
  4. Vlookup and Formula needed to calculate total cost by monthly basis
    By watson853 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2013, 09:31 PM
  5. multiplying a time by an hourly rate to give a total cost
    By adam.dixon in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-10-2012, 05:19 AM
  6. Replies: 8
    Last Post: 06-05-2012, 01:16 PM
  7. Replies: 3
    Last Post: 03-16-2010, 01:26 PM

Tags for this Thread

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