View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
joel[_909_] joel[_909_] is offline
external usenet poster
 
Posts: 1
Default Fraction to decimal


You can add the text function to format the cell


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


the format would be in double quotes Like "General" or "0.00"


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?u=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=196484

http://www.thecodecage.com/forumz