Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
sjl sjl is offline
external usenet poster
 
Posts: 8
Default convert to feet and inches

if i have a value such as 1.9878 and want to show it to the nearest feet and
inches how would i do it?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 329
Default convert to feet and inches

Hi,

Depends on what you're trying to convert. Nautical miles, yards, metres, leagues?

I suspect metres, in which case you could use:
=INT(A1/0.3048)&"ft "&ROUND((A1/0.3048-INT(A1/0.3048))*12,0)&"in"

Cheers

--
macropod
[MVP - Microsoft Word]


"sjl" wrote in message ...
| if i have a value such as 1.9878 and want to show it to the nearest feet and
| inches how would i do it?
|
|


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default convert to feet and inches

But if 1.9878 is in feet, then format the sell with custom format # ??/12 to
see 2
And 15.56 shows as 15 7/12


If 1.9878 is metres and is in A1 then =A1/0.038 with the same custom format
show 52 4/12

In all cases, the values are numeric and you can do math on them.

best wishes

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"sjl" wrote in message
...
if i have a value such as 1.9878 and want to show it to the nearest feet
and
inches how would i do it?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 287
Default convert to feet and inches

Hello macropod, in some circumstances, e.g. when A1 = 1.82 the result of your
suggested formula will be "5ft 12in". To always get "6ft 0in" try

=INT(ROUND(A1/0.0254,0)/12)&"ft "&MOD(ROUND(A1/0.0254,0),12)&"in"

"macropod" wrote:

Hi,

Depends on what you're trying to convert. Nautical miles, yards, metres, leagues?

I suspect metres, in which case you could use:
=INT(A1/0.3048)&"ft "&ROUND((A1/0.3048-INT(A1/0.3048))*12,0)&"in"

Cheers

--
macropod
[MVP - Microsoft Word]


"sjl" wrote in message ...
| if i have a value such as 1.9878 and want to show it to the nearest feet and
| inches how would i do it?
|
|



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
How to convert 120608 in Excel into 12 Feet 6 inches 8 sixteenths Trussman Excel Worksheet Functions 12 September 27th 06 07:33 PM
Convert feet/inches to decimal dingy101 Excel Worksheet Functions 16 February 21st 06 10:18 PM
How do I convert Meters to Feet and Inches? Dave S Excel Worksheet Functions 7 December 16th 05 11:33 AM
is there a macro that will convert from inches to feet and inches cable guy Excel Discussion (Misc queries) 1 June 20th 05 07:29 PM
How do i convert feet and inches to a decimal value? go_chrisg Excel Worksheet Functions 4 May 22nd 05 04:33 PM


All times are GMT +1. The time now is 02:47 AM.

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

About Us

"It's about Microsoft Excel"