+ Reply to Thread
Results 1 to 4 of 4

Number formatting help

  1. #1
    Registered User
    Join Date
    05-27-2009
    Location
    Alaska
    MS-Off Ver
    Excel 2007
    Posts
    9

    Number formatting help

    Hi I have two columns of cells that need to be reformatted: B and C.

    In the B column excel is reading the cells as time (0:41:55.0), I need it to display those cells as a number like this: 00 41 55.0.

    In column C the cells look like this: 41 : 09 : 47.3
    I need the C column cells to look just like the formatted B column cells (41 09 47.3)

    Also, even though they have the spaces, the numbers should be read by excel as one whole number (i.e. 41 09 47.3 would be used in a calculation as 410947.3)

    Thanks
    Last edited by bvbaby; 05-31-2009 at 05:56 PM.

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Number formatting help

    bvbaby,

    Try Custom:
    hh mm ss.0
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: Number formatting help

    Quote Originally Posted by bvbaby View Post
    Hi I have two columns of cells that need to be reformatted: B and C.

    In the B column excel is reading the cells as time (0:41:55.0), I need it to display those cells as a number like this: 00 41 55.0.

    In column C the cells look like this: 41 : 09 : 47.3
    I need the C column cells to look just like the formatted B column cells (41 09 47.3)

    Also, even though they have the spaces, the numbers should be read by excel as one whole number (i.e. 41 09 47.3 would be used in a calculation as 410947.3)

    Thanks
    Hi,

    For column B with (0:41:55.0) in another column

    =TIMEVALUE(MID(B1,2,9)) custom format the cell [h] mm ss.0

    For column C with 41 : 09 : 47.3 custom format the cell to ([h] mm ss.0)
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  4. #4
    Registered User
    Join Date
    05-27-2009
    Location
    Alaska
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Number formatting help

    Solved:

    I ended using oldchippy's advice for column b and in column c I used Custom -> "00 00 00.0"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1