Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How do I display numbers as feet AND inches, as in x'x" ?

How do I get cells to display in feet and inches using the x'x" format? For
instance, instead of 16", display 1'4" . or, instead of 2.5', display 2'6"
I've tried to write my own custom number format to no avail, since I can't
figure out how to get a custom format to perform functions.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default How do I display numbers as feet AND inches, as in x'x" ?

=TEXT(INT(A1),"0 '")&TEXT(MOD(A1,1)*12,"-0 \""")
--
Gary's Student


"Orision" wrote:

How do I get cells to display in feet and inches using the x'x" format? For
instance, instead of 16", display 1'4" . or, instead of 2.5', display 2'6"
I've tried to write my own custom number format to no avail, since I can't
figure out how to get a custom format to perform functions.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How do I display numbers as feet AND inches, as in x'x" ?

I am trying to figure out how to create a numbr format that keeps the data in
the cell as the number of inches, but displayes it using the method of 12'
5". A number format as in the date. The date stored the value of the cell as
a number, but displays it differently. I would just use a custom number
format of

m'yyyy''

except 1) ECEL assumes 1900 and 2) EXCEL assumes that a numer is the number
of days, so when I would want to increase by 5 inches, I would increase by 5
days, not 5 months, but if it did increase by 5 months then the display would
be what I want it to be.

I know it is possibly for this to happen, since EXCEL can already do it for
the much mroe complicated time measurement system right from seconds to year.
So, inches to feet shouldn't be ALL that diffuclt... maybe I'll actually ahve
to write a VBA... Wow I don't want to do that.
"Gary''s Student" wrote:

=TEXT(INT(A1),"0 '")&TEXT(MOD(A1,1)*12,"-0 \""")
--
Gary's Student


"Orision" wrote:

How do I get cells to display in feet and inches using the x'x" format? For
instance, instead of 16", display 1'4" . or, instead of 2.5', display 2'6"
I've tried to write my own custom number format to no avail, since I can't
figure out how to get a custom format to perform functions.

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
Display feet inches and fraction Homer Excel Discussion (Misc queries) 12 March 3rd 21 04:18 PM
convert column with inches to 2 columns "feet" and "inches" fsudiane Excel Discussion (Misc queries) 2 March 12th 10 12:30 AM
Is it possible to display feet and inches in one cell ? Tereena Excel Worksheet Functions 4 December 4th 08 06:14 PM
Convert inches & display as Feet Inches and Fractions -- BUG FREE Mark Main Excel Worksheet Functions 12 November 26th 08 08:50 PM
display feet and inches jkrager Excel Discussion (Misc queries) 2 April 21st 06 05:13 PM


All times are GMT +1. The time now is 04:27 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"