Hey Barrie,
Thanks for the help. I found some better results using a feet-inch.xls from steel link [
http://steel-link.com/2002/downloads/other.cfm]
This is an Microsoft Excel file with visual basic functions for working in feet and inches. If you work with architectural dimensions in a spreadsheet they come in handy. Submitted by Mark Johnson.
I modified the formula a bit, but this gave me exactly what I was looking for (and was acurate).
=dftos(MROUND(G4/304.8*12,1/8)/12)
To convert string dimension to decimal feet use function stodf() [StringToDecimalFeet].
Example:
Cell B5 contains a dimension in feet and inches, cell D5 uses function stodf() to convert it to decimal feet.
24'-5 5/16" 24.44270706
To convert decimal feet to a string dimension use function dftos() [DecimalFeetToString].
Example:
Cell B11 contains a number which represents decimal feet, cell D11 uses function dftos() to convert it to a string dimension.
16.57795 16'-6 15/16"
You can do math with them.
Result1 is simply adding dimensions and displays result in decimal feet.
Result2 nests the functions to display the same operation in string dimension.
Dist1 Dist2 Result1 Result2
16'-6 15/16" 24'-5 5/16" 41.02083206 41'-0 1/4"
I am using this feature, plus MROUND() and ROUND() to convert from metric mm to Imperial feet and inches
Example1:
Cell B30 is the metric length in mm
Cell D30 uses take the value of B30 devides by 304.8 to convert to decimal feet
Cell D31 takes the value of D31 and multiplies by 12 for the decimal value of inches
Cell F31 uses function MROUND() to round the decimal to the closest fraction denominator (x/2, x/4, x/8, x/16, x/32, etc)
Cell H31 multiplies F31 by 12 to convert back to decimal feet
Cell J31 uses formula dftos() to convert H31 to a string dimension.
1910 6.266404199 6'-3 13/64"
75.19685039 75.1875 6.265625 6'-3 3/16"
Example 2:
Cell B35 is the metric length in mm, Cell D35 uses the formula =dftos((MROUND(((B35/304.8)*12),1/16))/12) to achieve the same results.
1910 6'-3 3/16"
Anyway, this is an FYI for future use.
Thanks,
Michael