A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conversion Formula



 
 
Thread Tools Display Modes
  #1  
Old November 11th, 2006, 11:08 PM posted to microsoft.public.excel.worksheet.functions
Dawg
external usenet poster
 
Posts: 5
Default Conversion Formula

Iā€™m looking for a formula to convert distance.

Example:
60.625 to 5ā€™ 3/8ā€

Is this possible?
Can someone help me?

  #2  
Old November 11th, 2006, 11:33 PM posted to microsoft.public.excel.worksheet.functions
David Biddulph
external usenet poster
 
Posts: 601
Default Conversion Formula

The closest I can easily get is =INT(A1/12)&"'
"&INT(MOD(A1,12))&TEXT(MOD(A1,1),"# ?/?")&""""
which gives 5' 0 5/8"
--
David Biddulph

"dawg" wrote in message
...
I'm looking for a formula to convert distance.

Example:
60.625 to 5' 3/8"

Is this possible?
Can someone help me?



  #3  
Old November 11th, 2006, 11:33 PM posted to microsoft.public.excel.worksheet.functions
Biff
external usenet poster
 
Posts: 1,559
Default Conversion Formula

0.625 = 5/8

Will the full inches *ALWAYS* be a multiple of a full foot? Will you have
entries like:

1.25
8.50
0.75
13.125

Biff

"dawg" wrote in message
...
I'm looking for a formula to convert distance.

Example:
60.625 to 5' 3/8"

Is this possible?
Can someone help me?



  #4  
Old November 12th, 2006, 12:00 AM posted to microsoft.public.excel.worksheet.functions
Biff
external usenet poster
 
Posts: 1,559
Default Conversion Formula

Suggest this modified version:

=INT(A1/12)&"'
"&INT(MOD(A1,12))&IF(MOD(A1,1),TEXT(MOD(A1,1), "??/??")&"""","""")

Biff

"David Biddulph" wrote in message
...
The closest I can easily get is =INT(A1/12)&"'
"&INT(MOD(A1,12))&TEXT(MOD(A1,1),"# ?/?")&""""
which gives 5' 0 5/8"
--
David Biddulph

"dawg" wrote in message
...
I'm looking for a formula to convert distance.

Example:
60.625 to 5' 3/8"

Is this possible?
Can someone help me?





 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.