You are here:

Excel/Gallons/hr calculations


Hi Tom,

I seem to be having an issue with my Fuel Consumption Spreadsheet and was wondering if I could get some help.

Here's what I have so far:

Gallons/hr @cycle time= 57.9
Time @cycle: 8:59:14

I've been trying to see if I can get it to read off the allotted time but no matter what I do it either comes back extremely low or pretty high (21.26 or 736) As far as I know it should be around 520 gal/hr

Any help would be greatly appreciated, Thanks


if you have  8:59:14 in a cell, then format that cell as general.  It would then appear as

0.374467592592593  when I multiply that times  57.9 I get  21.6816736111111

which appears to be the extremely low you talk about.  The problem with the 8:59:14 is that is is treated as hours:minutes:seconds and stored as a time serial number.  The time serial number is the proportion of a 24 hour day represented by 8 hours, 59 minutes and 14 seconds.

The way to convert that to hours rather than days is to multiply by 24.  

(0.374467592592593 x 24) = 8.98722222222222 or approximately 8.987 hours  

So your calculation should be

= (0.374467592592593 x 24) x 57.9 which equals 520.360166666667

as a quick check, 9 x 58 = 522 so this appears to be the correct answer.

in excel:
A1:  57.9
A2:  8:59:14
A3:  =(A2*24)*A1   will return 520.360166666667
(The 520.360166666667  may appear rounded say to 520.36. )

Hope that clears it up for you.

Tom Ogilvy

About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here


All Answers

Answers by Expert:

Ask Experts


Tom Ogilvy


Selected as an Excel MVP by Microsoft since 1999. Answering Excel questions in Allexperts since its inception in 2001. Able to answer questions on almost all aspects of Excel's internal capabilities. If seeking a VBA solution, please specify that in your question itself so I give you the answer you want. [Excel has weak protection - if you are distributing an application, I don't answer questions on how to protect your project from your users.]


Extensive experience.

Master of Science (MS) degree Operations Research (ORSA)

Awards and Honors
Microsoft MVP in Excel.

©2016 All rights reserved.