LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Fraction to decimal

I have a cell with a value of {0'-3/4}
I want another cell to call that value and change the format to
{0'-0 3/4"}

the following code will change it to a decimal when it is formatted correctly:
which is what I am after.

{=SUBSTITUTE(LEFT(H69,FIND("-",H69)-1),"'","")*12+SUBSTITUTE(REPLACE(H69,1,FIND("-",H69),""),"""","")}

Thanks in advance
Alvin Smith
 
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
How can I turn a fraction into a decimal. sharder Excel Worksheet Functions 0 October 15th 09 05:09 PM
How can I turn a fraction into a decimal. Megan Excel Worksheet Functions 0 October 15th 09 04:49 PM
Convert fraction to decimal Dig Excel Discussion (Misc queries) 3 June 20th 07 03:26 PM
leave the decimal fraction Darrel Excel Worksheet Functions 3 July 6th 06 06:55 AM
Help with decimal half fraction mikewild2000[_6_] Excel Programming 2 January 29th 04 01:27 PM


All times are GMT +1. The time now is 01:32 PM.

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"