LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Convert room dimensions 13' 8" X 9' 2" to square feet

On Thursday, July 28, 2011 5:41:59 AM UTC+5:30, isabelle wrote:
hi Dale,

this doesn't exist in the native functionality of Excel,
i suggest you a custom function

with provided that data is always enter in that form (0'1") or (10'12")

=SquareFeet(A1,B1)

Code:
 Function SquareFeet(rng1 As Range, rng2 As Range) As Double
 x = Split(rng1, "'")
 inches1 = CDbl(Application.Substitute(x(1), """", ""))
 feet1 = CDbl(x(0))
 
 x2 = Split(rng2, "'")
 inches2 = CDbl(Application.Substitute(x(1), """", ""))
 feet2 = CDbl(x(0))
 
 SquareFeet = ((feet1 + (inches1 / 12)) * (feet2 + (inches2 / 12)))
 End Function

--
isabelle


isabelle please u ahev video for this excel sheet convert for square feet, i wait of ur 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
convert column with inches to 2 columns "feet" and "inches" fsudiane Excel Discussion (Misc queries) 2 March 12th 10 12:30 AM
Convert Square Feet to Gallons Texins Karate Excel Worksheet Functions 4 June 9th 09 02:49 AM
how i convert "100" to "hundred"( number to text) in excel-2007 mohanraj Excel Worksheet Functions 1 May 11th 08 09:07 PM
convert "15000" to "Fifteen thousand" in excel cell? anurag Excel Worksheet Functions 1 May 4th 06 07:58 AM
can we convert "2 days 16 hrs" to " 64hrs" using excel functions chris Excel Worksheet Functions 5 April 24th 06 12:53 AM


All times are GMT +1. The time now is 09:14 AM.

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"