Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave Gibson
 
Posts: n/a
Default Function To Convert Liters To Imperial Gallons & Vice Versa

Can anyone assist me in creating a couple of custom VBA functions that
will convert liters to Imperial Gallons & Vice Versa.

I got a shock on my car fuel consumption until I realised that the
inbult Excel CONVERT function was operating on US Gallons

Thanks

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

I think I'd just use formulas:

To convert imperial gallons to liters, multiply by 4.55
To convert liters to imperial gallons, multiply by 0.22

http://www.saudia-online.com/conversion%20Table.htm

(But I got lots of hits when I searched Google for "imperial gallon convert".)

Dave Gibson wrote:

Can anyone assist me in creating a couple of custom VBA functions that
will convert liters to Imperial Gallons & Vice Versa.

I got a shock on my car fuel consumption until I realised that the
inbult Excel CONVERT function was operating on US Gallons

Thanks


--

Dave Peterson
  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Divide/Mutiply by 1.2.

--
HTH

Bob Phillips

"Dave Gibson" wrote in message
...
Can anyone assist me in creating a couple of custom VBA functions that
will convert liters to Imperial Gallons & Vice Versa.

I got a shock on my car fuel consumption until I realised that the
inbult Excel CONVERT function was operating on US Gallons

Thanks



  #4   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi Dave

Whilst Dave P has given you the correct conversion for UK gallons to litres
and vice versa, and Bob has given you the conversion from US gallons to UK
gallons, you might be interested in a free download I cam across a little
while ago, and which I use when converting anything to anything.

http://www.joshmadison.com/software/convert/

I reckon it is very neat.

Regards

Roger Govier


Dave Gibson wrote:
Can anyone assist me in creating a couple of custom VBA functions that
will convert liters to Imperial Gallons & Vice Versa.

I got a shock on my car fuel consumption until I realised that the
inbult Excel CONVERT function was operating on US Gallons

Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spellnumber Norman Jones Excel Worksheet Functions 6 December 13th 04 07:21 AM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
Function to convert feet and inchs into decimal equivalents Chuck Bierwirth Excel Worksheet Functions 2 December 9th 04 09:43 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
How do I use Excel's convert function for apothecary weight? S Code Excel Worksheet Functions 1 November 19th 04 07:13 PM


All times are GMT +1. The time now is 04:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"