Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default converting architectural units

I'm trying to convert 2'-8" to 32 in Excel. Any ideas? Thanks a TON
to anyone that can help.
-m
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default converting architectural units

I don't know how generalized the technique needs to be, but for the specific
construct you show:

Demo'd from the immediate window
sStr = "2'-8"""
? sStr
2'-8"
varr = split(sStr,"-")
? val(varr(0))*12 + val(varr(1))
32

Assumes xl2000 or later
--
Regards,
Tom Ogilvy

"Mike" wrote in message
m...
I'm trying to convert 2'-8" to 32 in Excel. Any ideas? Thanks a TON
to anyone that can help.
-m



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
converting Time to units hellZg8 Excel Worksheet Functions 8 December 28th 09 07:13 PM
Units Produced / (finish time minus start time)=Units Per Hr Gary A Excel Worksheet Functions 1 February 10th 09 01:35 AM
architectural fractions Cyberbiker Excel Discussion (Misc queries) 8 October 8th 07 02:43 PM
How can a cell be formatted to display architectural units? teatime Excel Discussion (Misc queries) 0 September 25th 06 06:57 PM
Provide Excel format for architectural units: ft-inches-fractions bltseattle Excel Discussion (Misc queries) 0 August 9th 06 05:58 PM


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