#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Cell Format

How can I format a cell and enter "10.250" and have it converted to "10'-3""
automatically
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 222
Default Cell Format

"rk@morsesteel" wrote:

How can I format a cell and enter "10.250" and have it converted to "10'-3""
automatically


I don't think it's possible (unless anyone else knows) You could possibly
create a user-defined function or put this formula into an adjacent cell:-

CONCATENATE(TEXT(INT(A2),"0")," ft ",TEXT((A2-INT(A2))*12,"0")," ins")
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Cell Format

Thanks for the help I will keep trudging thru this spreadsheet.

"bigwheel" wrote:

"rk@morsesteel" wrote:

How can I format a cell and enter "10.250" and have it converted to "10'-3""
automatically


I don't think it's possible (unless anyone else knows) You could possibly
create a user-defined function or put this formula into an adjacent cell:-

CONCATENATE(TEXT(INT(A2),"0")," ft ",TEXT((A2-INT(A2))*12,"0")," ins")

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 222
Default Cell Format

It's a pleasure and thanks for the feedback.

"rk@morsesteel" wrote:

Thanks for the help I will keep trudging thru this spreadsheet.

"bigwheel" wrote:

"rk@morsesteel" wrote:

How can I format a cell and enter "10.250" and have it converted to "10'-3""
automatically


I don't think it's possible (unless anyone else knows) You could possibly
create a user-defined function or put this formula into an adjacent cell:-

CONCATENATE(TEXT(INT(A2),"0")," ft ",TEXT((A2-INT(A2))*12,"0")," ins")

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
Lock Cell Format - Allow copy and paste of data without format change Chris12InKC Excel Worksheet Functions 2 May 9th 23 07:42 PM
cell format - remove cell format pattern without effecting colors Bas Excel Discussion (Misc queries) 1 March 23rd 09 02:54 PM
Can cell format come from and change with reference cell format jclouse Excel Discussion (Misc queries) 1 November 29th 06 03:20 AM
Excel Auto-Format cell to email format Please Help Me Excel Discussion (Misc queries) 1 March 23rd 06 05:15 PM
How do I copy data in single cell format to a merged cell format Paul Excel Discussion (Misc queries) 1 June 27th 05 11:00 AM


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

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"