View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pecoflyer[_257_] Pecoflyer[_257_] is offline
external usenet poster
 
Posts: 1
Default how do i convert data with miliseconds to just h:mm:ss


bingo983;294786 Wrote:
i have time data with hours, minutes, seconds, and miliseconds. but in
order
to do my calculations, i need to drop the miliseconds. how can i format
this
data so it will only display h:mm:ss?

example: if a cell reads 12:34:55:789, how do i format the cell so the
789
miliseconds drops off, and cell only shows 12:34:55?

i know this can be done in currency and numbers, as you can indicate
how
many decimal places you want. so how do you do it with time?


Hello,
would following formula help ?
=LEFT(A1;LEN(A1)-4)*1 formatted as h:mm:ss


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=82401