+ Reply to Thread
Results 1 to 11 of 11

Fuel cost formula?

  1. #1
    Registered User
    Join Date
    01-12-2018
    Location
    Oklahoma
    MS-Off Ver
    I'm not sure
    Posts
    2

    Fuel cost formula?

    I’m looking for the excel formula to calculate the cost of fuel for a trip.

    I know it exists but I can’t find it. It needs to calculate the cost of fuel used for a particular leg or flight when the trip used a combination of fuel from multiple uploads at different prices.

    Example: We just completed a trip that used 500 gallons of fuel. Prior to the trip we uploaded 300 gallons at $5/gal. on top of 400 gallons that were still in the plane from the fueling before that one at $6/gal. Therefore, the 500 gallon trip we just made used 300 gallons of fuel at $5/gal. and 200 gallons that were still in the plane prior to the most recent fueling at $6/gal. The formula will also have to account for the cost of any fuel that may have still been in the plane from maybe up to 3 previous fueling. An average isn’t good enough, it needs to calculate the exact cost of fuel used.

    Anyone know where to find the formula?

  2. #2
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Re: Fuel cost formula?

    You will need to have the gallons in one column (A) and rate in another (B). Multiply those together in the third column (C). Then use :

    =SUM(C2:C10)

    This will get the total of cost for the trip.

  3. #3
    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
    30,375

    Re: Fuel cost formula?

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  4. #4
    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
    30,375

    Re: Fuel cost formula?

    Why is the 500 gallons not 400 at $6 and 100 at $5 ???

  5. #5
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,593

    Re: Fuel cost formula?

    How do you measure the 500, 300 and 200 gallons?

    Before each trip you make sure the fueltank is full
    Then I should say the last trip you do pays the last price you paid.
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,838

    Re: Fuel cost formula?

    Have a look at this link on FIFO inventory. It may help point you in the right direction.
    http://pakaccountants.com/fifo-costi...l-data-tables/
    If not, do as mentioned in post #3 and attach a workbook that shows your expected results.

    BSB

  7. #7
    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
    30,375

    Re: Fuel cost formula?

    See attached (From www.Costviewer.com)

    I added data to represent fuel purchased and fuel used.

    "Usage Value" column J is the fuel cost per trip.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-12-2018
    Location
    Oklahoma
    MS-Off Ver
    I'm not sure
    Posts
    2

    Re: Fuel cost formula?

    Thanks for all the info...I think I figured it out but I'm too stupid to know how to post it here for you guys to see.

    This is essentially what I built into the spreadsheet....If you had $1,500 of fuel (300 gal x $5/gal) and then added it to $2,400 of fuel (400 gal x $6/gal), then the average cost of the fuel in your tank is $5.57/gal. ($3,900/700).

    The cost of your 500 gal trip is $2,786 (500 gal x $5.57/gal).
    Attached Files Attached Files

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2502 (Windows 11 Home 24H2 64-bit)
    Posts
    89,702

    Re: Fuel cost formula?

    Scottyz - please update your profile with the Office version you are using. It's not hard to find out - just look at the splash screen when you launch Excel.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  10. #10
    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
    30,375

    Re: Fuel cost formula?

    An average isn’t good enough, it needs to calculate the exact cost of fuel used.
    ... yet this is what you have done.

    Put your data in the FIFO w/book (post #7) and you will the TRUE costs.

  11. #11
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Fuel cost formula?

    If you want average instead of FIFO,

    B
    C
    D
    E
    F
    G
    H
    2
    Burn [gal]
    Burn Cost
    Refuel [gal]
    Cost / gal
    Tot Fuel Abd
    Tot Fuel Cost
    Avg cost / gal
    3
    700.00
    $ 3,500.00
    $ 5.00
    4
    (559.23)
    $ (2,796.15)
    519.52
    $ 5.03
    660.29
    $ 3,317.06
    $ 5.02
    5
    (289.18)
    $ (1,451.68)
    199.96
    $ 4.66
    571.08
    $ 2,797.20
    $ 4.90
    6
    (249.80)
    $ (1,224.02)
    277.23
    $ 5.35
    598.50
    $ 3,056.33
    $ 5.11
    7
    (472.63)
    $ (2,415.14)
    424.85
    $ 4.78
    550.73
    $ 2,672.00
    $ 4.85
    8
    (370.18)
    $ (1,795.37)
    374.01
    $ 4.87
    554.55
    $ 2,698.04
    $ 4.87
    9
    (357.08)
    $ (1,738.98)
    496.50
    $ 5.46
    693.97
    $ 3,669.93
    $ 5.29
    10
    (508.25)
    $ (2,688.64)
    293.65
    $ 5.03
    479.37
    $ 2,458.37
    $ 5.13
    11
    (291.99)
    $ (1,497.91)
    454.69
    $ 4.66
    642.07
    $ 3,079.32
    $ 4.80
    12
    (353.40)
    $ (1,696.32)
    374.72
    $ 5.33
    663.39
    $ 3,380.24
    $ 5.10
    13
    (348.44)
    $ (1,777.04)
    262.22
    $ 4.82
    577.17
    $ 2,867.09
    $ 4.97
    14
    (445.86)
    $ (2,215.92)
    469.74
    $ 4.99
    601.05
    $ 2,995.16
    $ 4.98
    15
    (431.62)
    $ (2,149.47)
    353.36
    $ 4.64
    522.79
    $ 2,485.28
    $ 4.75
    16
    (312.94)
    $ (1,486.47)
    368.10
    $ 4.50
    577.95
    $ 2,655.28
    $ 4.59
    17
    (328.15)
    $ (1,506.21)
    286.33
    $ 5.37
    536.13
    $ 2,686.65
    $ 5.01
    Last edited by shg; 01-14-2018 at 04:51 PM.
    Entia non sunt multiplicanda sine necessitate

+ 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: 3
    Last Post: 06-18-2015, 02:09 PM
  2. Average fuel cost
    By craigous in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-13-2014, 12:22 AM
  3. [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
  4. Calculation Fuel cost automatic
    By yukioh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2013, 10:05 PM
  5. [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
  6. [SOLVED] Use of Imbedded formulas including VLOOKUP, INDEX and MATCH to determine fuel cost.
    By haloperidal in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-22-2012, 03:19 AM
  7. Cost Driver calculation - Looking for formula/macro to calculate manpower cost alloca
    By Swastik Banerje in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-30-2009, 11:18 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