+ Reply to Thread
Results 1 to 31 of 31

Function to convert Time String to Time

  1. #1
    Bob Phillips
    Guest

    Re: Function to convert Time String to Time

    Note the other answer will fail on say 91015, they will give 19:01:15.

    If you are going to use the string method you should use

    =TIME(LEFT(A1,LEN(A1)-4),MID(A1,3,2),RIGHT(A1,2))

    --
    HTH

    Bob Phillips

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:eynSP7KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > Thanks Mangesh :-)
    >
    >
    > "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    > news:ef2G%235KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > > assuming that your string is in A1, use:
    > >
    > > =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))
    > >
    > > format as time
    > >
    > > Mangesh
    > >
    > >
    > >
    > > "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    > > news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > > > Hi there,
    > > >
    > > > What excel formula would I use to convert a number string i.e. 143254

    to
    > a
    > > > time string, i.e. 14:32:54
    > > >
    > > > I need it to be as a formula so it is automated and not a manual

    > process.
    > > >
    > > > Thanks in advance
    > > >
    > > > Andi
    > > >
    > > >

    > >
    > >

    >
    >




  2. #2
    Mangesh Yadav
    Guest

    Re: Function to convert Time String to Time

    assuming that your string is in A1, use:

    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    format as time

    Mangesh



    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  3. #3
    Bob Phillips
    Guest

    Re: Function to convert Time String to Time

    =TIME(INT(A21/10000),INT((A21-INT(A21/10000)*10000)/100),MOD(A21,100))

    --
    HTH

    Bob Phillips

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  4. #4
    Andibevan
    Guest

    Re: Function to convert Time String to Time

    Thanks Mangesh :-)


    "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    news:ef2G%235KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > assuming that your string is in A1, use:
    >
    > =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))
    >
    > format as time
    >
    > Mangesh
    >
    >
    >
    > "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    > news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > > Hi there,
    > >
    > > What excel formula would I use to convert a number string i.e. 143254 to

    a
    > > time string, i.e. 14:32:54
    > >
    > > I need it to be as a formula so it is automated and not a manual

    process.
    > >
    > > Thanks in advance
    > >
    > > Andi
    > >
    > >

    >
    >




  5. #5
    Ken Wright
    Guest

    Re: Function to convert Time String to Time

    With your value in A1, in say B1

    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    --
    Regards
    Ken....................... Microsoft MVP - Excel
    Sys Spec - Win XP Pro / XL 97/00/02/03

    ------------------------------*------------------------------*----------------
    It's easier to beg forgiveness than ask permission :-)
    ------------------------------*------------------------------*----------------


    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  6. #6
    Dodo
    Guest

    Re: Function to convert Time String to Time

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl:

    > What excel formula would I use to convert a number string i.e. 143254
    > to a time string, i.e. 14:32:54
    >


    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    and set the cell format to 13:30:55

    --

    It is I, DeauDeau
    (Free after monsieur Leclerc in 'Allo, 'allo)

  7. #7
    Mangesh Yadav
    Guest

    Re: Function to convert Time String to Time

    assuming that your string is in A1, use:

    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    format as time

    Mangesh



    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  8. #8
    Bob Phillips
    Guest

    Re: Function to convert Time String to Time

    Note the other answer will fail on say 91015, they will give 19:01:15.

    If you are going to use the string method you should use

    =TIME(LEFT(A1,LEN(A1)-4),MID(A1,3,2),RIGHT(A1,2))

    --
    HTH

    Bob Phillips

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:eynSP7KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > Thanks Mangesh :-)
    >
    >
    > "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    > news:ef2G%235KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > > assuming that your string is in A1, use:
    > >
    > > =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))
    > >
    > > format as time
    > >
    > > Mangesh
    > >
    > >
    > >
    > > "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    > > news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > > > Hi there,
    > > >
    > > > What excel formula would I use to convert a number string i.e. 143254

    to
    > a
    > > > time string, i.e. 14:32:54
    > > >
    > > > I need it to be as a formula so it is automated and not a manual

    > process.
    > > >
    > > > Thanks in advance
    > > >
    > > > Andi
    > > >
    > > >

    > >
    > >

    >
    >




  9. #9
    Andibevan
    Guest

    Re: Function to convert Time String to Time

    Thanks Mangesh :-)


    "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    news:ef2G%235KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > assuming that your string is in A1, use:
    >
    > =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))
    >
    > format as time
    >
    > Mangesh
    >
    >
    >
    > "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    > news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > > Hi there,
    > >
    > > What excel formula would I use to convert a number string i.e. 143254 to

    a
    > > time string, i.e. 14:32:54
    > >
    > > I need it to be as a formula so it is automated and not a manual

    process.
    > >
    > > Thanks in advance
    > >
    > > Andi
    > >
    > >

    >
    >




  10. #10
    Bob Phillips
    Guest

    Re: Function to convert Time String to Time

    =TIME(INT(A21/10000),INT((A21-INT(A21/10000)*10000)/100),MOD(A21,100))

    --
    HTH

    Bob Phillips

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  11. #11
    Dodo
    Guest

    Re: Function to convert Time String to Time

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl:

    > What excel formula would I use to convert a number string i.e. 143254
    > to a time string, i.e. 14:32:54
    >


    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    and set the cell format to 13:30:55

    --

    It is I, DeauDeau
    (Free after monsieur Leclerc in 'Allo, 'allo)

  12. #12
    Ken Wright
    Guest

    Re: Function to convert Time String to Time

    With your value in A1, in say B1

    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    --
    Regards
    Ken....................... Microsoft MVP - Excel
    Sys Spec - Win XP Pro / XL 97/00/02/03

    ------------------------------*------------------------------*----------------
    It's easier to beg forgiveness than ask permission :-)
    ------------------------------*------------------------------*----------------


    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  13. #13
    Dodo
    Guest

    Re: Function to convert Time String to Time

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl:

    > What excel formula would I use to convert a number string i.e. 143254
    > to a time string, i.e. 14:32:54
    >


    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    and set the cell format to 13:30:55

    --

    It is I, DeauDeau
    (Free after monsieur Leclerc in 'Allo, 'allo)

  14. #14
    Bob Phillips
    Guest

    Re: Function to convert Time String to Time

    Note the other answer will fail on say 91015, they will give 19:01:15.

    If you are going to use the string method you should use

    =TIME(LEFT(A1,LEN(A1)-4),MID(A1,3,2),RIGHT(A1,2))

    --
    HTH

    Bob Phillips

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:eynSP7KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > Thanks Mangesh :-)
    >
    >
    > "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    > news:ef2G%235KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > > assuming that your string is in A1, use:
    > >
    > > =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))
    > >
    > > format as time
    > >
    > > Mangesh
    > >
    > >
    > >
    > > "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    > > news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > > > Hi there,
    > > >
    > > > What excel formula would I use to convert a number string i.e. 143254

    to
    > a
    > > > time string, i.e. 14:32:54
    > > >
    > > > I need it to be as a formula so it is automated and not a manual

    > process.
    > > >
    > > > Thanks in advance
    > > >
    > > > Andi
    > > >
    > > >

    > >
    > >

    >
    >




  15. #15
    Bob Phillips
    Guest

    Re: Function to convert Time String to Time

    =TIME(INT(A21/10000),INT((A21-INT(A21/10000)*10000)/100),MOD(A21,100))

    --
    HTH

    Bob Phillips

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  16. #16
    Ken Wright
    Guest

    Re: Function to convert Time String to Time

    With your value in A1, in say B1

    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    --
    Regards
    Ken....................... Microsoft MVP - Excel
    Sys Spec - Win XP Pro / XL 97/00/02/03

    ------------------------------*------------------------------*----------------
    It's easier to beg forgiveness than ask permission :-)
    ------------------------------*------------------------------*----------------


    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  17. #17
    Andibevan
    Guest

    Re: Function to convert Time String to Time

    Thanks Mangesh :-)


    "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    news:ef2G%235KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > assuming that your string is in A1, use:
    >
    > =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))
    >
    > format as time
    >
    > Mangesh
    >
    >
    >
    > "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    > news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > > Hi there,
    > >
    > > What excel formula would I use to convert a number string i.e. 143254 to

    a
    > > time string, i.e. 14:32:54
    > >
    > > I need it to be as a formula so it is automated and not a manual

    process.
    > >
    > > Thanks in advance
    > >
    > > Andi
    > >
    > >

    >
    >




  18. #18
    Mangesh Yadav
    Guest

    Re: Function to convert Time String to Time

    assuming that your string is in A1, use:

    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    format as time

    Mangesh



    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  19. #19
    Ken Wright
    Guest

    Re: Function to convert Time String to Time

    With your value in A1, in say B1

    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    --
    Regards
    Ken....................... Microsoft MVP - Excel
    Sys Spec - Win XP Pro / XL 97/00/02/03

    ------------------------------*------------------------------*----------------
    It's easier to beg forgiveness than ask permission :-)
    ------------------------------*------------------------------*----------------


    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  20. #20
    Dodo
    Guest

    Re: Function to convert Time String to Time

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl:

    > What excel formula would I use to convert a number string i.e. 143254
    > to a time string, i.e. 14:32:54
    >


    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    and set the cell format to 13:30:55

    --

    It is I, DeauDeau
    (Free after monsieur Leclerc in 'Allo, 'allo)

  21. #21
    Andibevan
    Guest

    Re: Function to convert Time String to Time

    Thanks Mangesh :-)


    "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    news:ef2G%235KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > assuming that your string is in A1, use:
    >
    > =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))
    >
    > format as time
    >
    > Mangesh
    >
    >
    >
    > "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    > news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > > Hi there,
    > >
    > > What excel formula would I use to convert a number string i.e. 143254 to

    a
    > > time string, i.e. 14:32:54
    > >
    > > I need it to be as a formula so it is automated and not a manual

    process.
    > >
    > > Thanks in advance
    > >
    > > Andi
    > >
    > >

    >
    >




  22. #22
    Bob Phillips
    Guest

    Re: Function to convert Time String to Time

    =TIME(INT(A21/10000),INT((A21-INT(A21/10000)*10000)/100),MOD(A21,100))

    --
    HTH

    Bob Phillips

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  23. #23
    Mangesh Yadav
    Guest

    Re: Function to convert Time String to Time

    assuming that your string is in A1, use:

    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    format as time

    Mangesh



    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  24. #24
    Bob Phillips
    Guest

    Re: Function to convert Time String to Time

    Note the other answer will fail on say 91015, they will give 19:01:15.

    If you are going to use the string method you should use

    =TIME(LEFT(A1,LEN(A1)-4),MID(A1,3,2),RIGHT(A1,2))

    --
    HTH

    Bob Phillips

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:eynSP7KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > Thanks Mangesh :-)
    >
    >
    > "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    > news:ef2G%235KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > > assuming that your string is in A1, use:
    > >
    > > =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))
    > >
    > > format as time
    > >
    > > Mangesh
    > >
    > >
    > >
    > > "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    > > news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > > > Hi there,
    > > >
    > > > What excel formula would I use to convert a number string i.e. 143254

    to
    > a
    > > > time string, i.e. 14:32:54
    > > >
    > > > I need it to be as a formula so it is automated and not a manual

    > process.
    > > >
    > > > Thanks in advance
    > > >
    > > > Andi
    > > >
    > > >

    > >
    > >

    >
    >




  25. #25
    Andibevan
    Guest

    Function to convert Time String to Time

    Hi there,

    What excel formula would I use to convert a number string i.e. 143254 to a
    time string, i.e. 14:32:54

    I need it to be as a formula so it is automated and not a manual process.

    Thanks in advance

    Andi



  26. #26
    Ken Wright
    Guest

    Re: Function to convert Time String to Time

    With your value in A1, in say B1

    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    --
    Regards
    Ken....................... Microsoft MVP - Excel
    Sys Spec - Win XP Pro / XL 97/00/02/03

    ------------------------------*------------------------------*----------------
    It's easier to beg forgiveness than ask permission :-)
    ------------------------------*------------------------------*----------------


    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  27. #27
    Dodo
    Guest

    Re: Function to convert Time String to Time

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl:

    > What excel formula would I use to convert a number string i.e. 143254
    > to a time string, i.e. 14:32:54
    >


    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    and set the cell format to 13:30:55

    --

    It is I, DeauDeau
    (Free after monsieur Leclerc in 'Allo, 'allo)

  28. #28
    Bob Phillips
    Guest

    Re: Function to convert Time String to Time

    =TIME(INT(A21/10000),INT((A21-INT(A21/10000)*10000)/100),MOD(A21,100))

    --
    HTH

    Bob Phillips

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




  29. #29
    Andibevan
    Guest

    Re: Function to convert Time String to Time

    Thanks Mangesh :-)


    "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    news:ef2G%235KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > assuming that your string is in A1, use:
    >
    > =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))
    >
    > format as time
    >
    > Mangesh
    >
    >
    >
    > "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    > news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > > Hi there,
    > >
    > > What excel formula would I use to convert a number string i.e. 143254 to

    a
    > > time string, i.e. 14:32:54
    > >
    > > I need it to be as a formula so it is automated and not a manual

    process.
    > >
    > > Thanks in advance
    > >
    > > Andi
    > >
    > >

    >
    >




  30. #30
    Bob Phillips
    Guest

    Re: Function to convert Time String to Time

    Note the other answer will fail on say 91015, they will give 19:01:15.

    If you are going to use the string method you should use

    =TIME(LEFT(A1,LEN(A1)-4),MID(A1,3,2),RIGHT(A1,2))

    --
    HTH

    Bob Phillips

    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:eynSP7KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > Thanks Mangesh :-)
    >
    >
    > "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    > news:ef2G%235KpFHA.4088@TK2MSFTNGP15.phx.gbl...
    > > assuming that your string is in A1, use:
    > >
    > > =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))
    > >
    > > format as time
    > >
    > > Mangesh
    > >
    > >
    > >
    > > "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    > > news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > > > Hi there,
    > > >
    > > > What excel formula would I use to convert a number string i.e. 143254

    to
    > a
    > > > time string, i.e. 14:32:54
    > > >
    > > > I need it to be as a formula so it is automated and not a manual

    > process.
    > > >
    > > > Thanks in advance
    > > >
    > > > Andi
    > > >
    > > >

    > >
    > >

    >
    >




  31. #31
    Mangesh Yadav
    Guest

    Re: Function to convert Time String to Time

    assuming that your string is in A1, use:

    =TIME(LEFT(A1,2),MID(A1,3,2),RIGHT(A1,2))

    format as time

    Mangesh



    "Andibevan" <Andibevan@notehere-hotmail.com> wrote in message
    news:uP6$T1KpFHA.1464@TK2MSFTNGP14.phx.gbl...
    > Hi there,
    >
    > What excel formula would I use to convert a number string i.e. 143254 to a
    > time string, i.e. 14:32:54
    >
    > I need it to be as a formula so it is automated and not a manual process.
    >
    > Thanks in advance
    >
    > Andi
    >
    >




+ 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