+ Reply to Thread
Results 1 to 4 of 4

How to calculate the fuel rate with fuel costs between 2 valuese

  1. #1
    Registered User
    Join Date
    11-01-2012
    Location
    Jacksonville
    MS-Off Ver
    Excel 2010
    Posts
    74

    How to calculate the fuel rate with fuel costs between 2 valuese

    So Column A is the week and B is the rate that fuel was at for that week. I need the Column H to be the returning value as the Column B would fall on or in between the start and end rates Column F and G. I manually typed row 2's to show how I would need the returning value to be
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: How to calculate the fuel rate with fuel costs between 2 valuese

    Your Start and End dates are $ values.

  3. #3
    Registered User
    Join Date
    11-01-2012
    Location
    Jacksonville
    MS-Off Ver
    Excel 2010
    Posts
    74
    Quote Originally Posted by JieJenn View Post
    Your Start and End dates are $ values.
    Im sorry I meant to say the rate in column C to look up where it would match to the start and end rates and return the last column.

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: How to calculate the fuel rate with fuel costs between 2 valuese

    There is an extra space after your average price, you may want to remove the spaces first. Give this formula a try

    =SUMPRODUCT(($F$2:$F$42<=B2)*($G$2:$G$42>=B2),$H$2:$H$42)

+ 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. [SOLVED] determine a rate from a range of values based on a weekly fuel price
    By djgoody9 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-29-2013, 12:48 PM
  2. [SOLVED] Calculating complex Fuel Cost based on Individual Name, Engine CC, Fuel Type and Date.
    By shadypops in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-16-2013, 01:38 PM
  3. [SOLVED] Fuel type fill base on kind of fuel.
    By yukioh in forum Excel General
    Replies: 2
    Last Post: 01-18-2013, 02:12 AM
  4. how to calculate fuel prices
    By k b in forum Excel General
    Replies: 1
    Last Post: 04-15-2012, 09:56 AM
  5. [SOLVED] how do i set up a spreadsheet to calculate fuel milage
    By Dmds in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-15-2006, 12:25 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