+ Reply to Thread
Results 1 to 4 of 4

Thread: Spot time format

  1. #1
    Registered User
    Join Date
    08-28-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    1

    Spot time format

    Hello

    I have a report that contains spot times for a tv campaign in the following format:

    Time
    910
    1015
    1056
    1156
    1230
    1256
    1310
    1328
    1330
    1350

    I need to have these times represented in the hh:mm AM/PM format so I can chart them but I have no idea how to convert them. Everything I have tried has not worked.

    Any ideas?

    Many thanks in advance

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Spot time format

    In an adjacent column use formula:

    =TIME(LEFT(A1,LEN(A1)-2),RIGHT(A1,2),0)

    where A1 is first time to convert... and copy down column needs to be formatted as time, through Format|Cells >> Number tab

    You can then overwrite original by copying the formula column and paste special >> Values over the original.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Forum Moderator daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2007
    Posts
    10,057

    Re: Spot time format

    You could use this formula....

    =TEXT(A1,"00\:00")+0

    format as time

  4. #4
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: Spot time format

    or

    B1: =0+TEXT(A1,"00\:00")

    (edit: dll beat me to it - just going to leave mine this once just to provee I came up with the same approach as him ... hooray!)

+ 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.2.0