change feet/ inches to decimals
I want to insert into a cell just like shown 10'-4 3/8" and have it to change
to a deciamls (10.3645) in another cell. Please help. -- Estimator |
change feet/ inches to decimals
See Chip Pearson's site for instructions.
http://www.cpearson.com/excel/FeetInches.htm Gord Dibben MS Excel MVP On Thu, 17 Jan 2008 18:01:02 -0800, Roderick wrote: I want to insert into a cell just like shown 10'-4 3/8" and have it to change to a deciamls (10.3645) in another cell. Please help. |
change feet/ inches to decimals
As an alternative to Chip's macro solution, here is a one-liner version that will also work...
Function ConvertFeetInches(S As Variant) As Variant ConvertFeetInches = Evaluate(Replace(Replace(Replace(S, "'-", "+("), " ", "+"), """", ")/12")) End Function Rick "Gord Dibben" <gorddibbATshawDOTca wrote in message ... See Chip Pearson's site for instructions. http://www.cpearson.com/excel/FeetInches.htm Gord Dibben MS Excel MVP On Thu, 17 Jan 2008 18:01:02 -0800, Roderick wrote: I want to insert into a cell just like shown 10'-4 3/8" and have it to change to a deciamls (10.3645) in another cell. Please help. |
All times are GMT +1. The time now is 05:23 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com