View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default Converting time as 7.5 (which represents 7:30 AM) to 0730

In article ,
Steve wrote:

Is there another simplier way, or a way to fix this problem. Basically I
need to convert #'s such as 7.5 to 0730.


XL stores times as fractional days, 1 = 24 hours. So one way:

Put 24 in an empty cell. Copy the cell. Select your times. Choose
Edit/Paste Special, selecting the Values and Divide radio buttons. Click
OK.

WIth the cells still selected, choose Format/Cells/Number/Custom and
enter [hh]mm in the input box. Click Ok.