+ Reply to Thread
Results 1 to 11 of 11

Remove Spaces beginning Time entry

Hybrid View

  1. #1
    Jack Bible
    Guest

    Remove Spaces beginning Time entry

    I am using "=TIME(HOUR(B11),MROUND(MINUTE(B11),I11),0)" for
    a time card, but if a space is entered we get #VALUE error. How can
    these spaces be filtered out. Input "06:00" or "06:00 am" works, but "
    06:00" gives #VALUE error.

    Thanks
    Jack


  2. #2
    Damon Longworth
    Guest

    Re: Remove Spaces beginning Time entry

    Have a look at TimeValue in help.

    "Jack Bible" <[email protected]> wrote in message
    news:[email protected]...
    > I am using "=TIME(HOUR(B11),MROUND(MINUTE(B11),I11),0)" for
    > a time card, but if a space is entered we get #VALUE error. How can
    > these spaces be filtered out. Input "06:00" or "06:00 am" works, but "
    > 06:00" gives #VALUE error.
    >
    > Thanks
    > Jack
    >




  3. #3
    Peo Sjoblom
    Guest

    Re: Remove Spaces beginning Time entry

    Why would anyone put a space in a time value?

    =TIME(HOUR(TRIM(B11)),MROUND(MINUTE(TRIM(B11)),I11),0)

    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "Jack Bible" <[email protected]> wrote in message
    news:[email protected]...
    > I am using "=TIME(HOUR(B11),MROUND(MINUTE(B11),I11),0)" for
    > a time card, but if a space is entered we get #VALUE error. How can
    > these spaces be filtered out. Input "06:00" or "06:00 am" works, but "
    > 06:00" gives #VALUE error.
    >
    > Thanks
    > Jack
    >



  4. #4
    Jack Bible
    Guest

    Re: Remove Spaces beginning Time entry

    Good question, but had some people do it, believe they would put a space to
    remove the wrong number.
    jack

    Peo Sjoblom wrote:

    > Why would anyone put a space in a time value?
    >
    > =TIME(HOUR(TRIM(B11)),MROUND(MINUTE(TRIM(B11)),I11),0)
    >
    > --
    > Regards,
    >
    > Peo Sjoblom
    >
    > (No private emails please)
    >
    > "Jack Bible" <[email protected]> wrote in message
    > news:[email protected]...
    > > I am using "=TIME(HOUR(B11),MROUND(MINUTE(B11),I11),0)" for
    > > a time card, but if a space is entered we get #VALUE error. How can
    > > these spaces be filtered out. Input "06:00" or "06:00 am" works, but "
    > > 06:00" gives #VALUE error.
    > >
    > > Thanks
    > > Jack
    > >



  5. #5
    Jack Bible
    Guest

    Re: Remove Spaces beginning Time entry

    Peo

    This works very well.
    Thanks
    Jack

    Peo Sjoblom wrote:

    > Why would anyone put a space in a time value?
    >
    > =TIME(HOUR(TRIM(B11)),MROUND(MINUTE(TRIM(B11)),I11),0)
    >
    > --
    > Regards,
    >
    > Peo Sjoblom
    >
    > (No private emails please)
    >
    > "Jack Bible" <[email protected]> wrote in message
    > news:[email protected]...
    > > I am using "=TIME(HOUR(B11),MROUND(MINUTE(B11),I11),0)" for
    > > a time card, but if a space is entered we get #VALUE error. How can
    > > these spaces be filtered out. Input "06:00" or "06:00 am" works, but "
    > > 06:00" gives #VALUE error.
    > >
    > > Thanks
    > > Jack
    > >



  6. #6
    RagDyeR
    Guest

    Re: Remove Spaces beginning Time entry

    So ... that possibility *doesn't* exist for I11?<g>
    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------

    "Jack Bible" <[email protected]> wrote in message
    news:[email protected]...
    Peo

    This works very well.
    Thanks
    Jack

    Peo Sjoblom wrote:

    > Why would anyone put a space in a time value?
    >
    > =TIME(HOUR(TRIM(B11)),MROUND(MINUTE(TRIM(B11)),I11),0)
    >
    > --
    > Regards,
    >
    > Peo Sjoblom
    >
    > (No private emails please)
    >
    > "Jack Bible" <[email protected]> wrote in message
    > news:[email protected]...
    > > I am using "=TIME(HOUR(B11),MROUND(MINUTE(B11),I11),0)" for
    > > a time card, but if a space is entered we get #VALUE error. How can
    > > these spaces be filtered out. Input "06:00" or "06:00 am" works, but "
    > > 06:00" gives #VALUE error.
    > >
    > > Thanks
    > > Jack
    > >




  7. #7
    Jack Bible
    Guest

    Re: Remove Spaces beginning Time entry

    No I11 is fixed at 15 to round time at 15 min. intervals.
    Thank You all for your help.

    Jack

    RagDyeR wrote:

    > So ... that possibility *doesn't* exist for I11?<g>
    > --
    >
    > Regards,
    >
    > RD
    > --------------------------------------------------------------------
    > Please keep all correspondence within the Group, so all may benefit !
    > --------------------------------------------------------------------
    >
    > "Jack Bible" <[email protected]> wrote in message
    > news:[email protected]...
    > Peo
    >
    > This works very well.
    > Thanks
    > Jack
    >
    > Peo Sjoblom wrote:
    >
    > > Why would anyone put a space in a time value?
    > >
    > > =TIME(HOUR(TRIM(B11)),MROUND(MINUTE(TRIM(B11)),I11),0)
    > >
    > > --
    > > Regards,
    > >
    > > Peo Sjoblom
    > >
    > > (No private emails please)
    > >
    > > "Jack Bible" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > I am using "=TIME(HOUR(B11),MROUND(MINUTE(B11),I11),0)" for
    > > > a time card, but if a space is entered we get #VALUE error. How can
    > > > these spaces be filtered out. Input "06:00" or "06:00 am" works, but "
    > > > 06:00" gives #VALUE error.
    > > >
    > > > Thanks
    > > > Jack
    > > >



  8. #8
    Ragdyer
    Guest

    Re: Remove Spaces beginning Time entry

    Appreciate the feed-back.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "Jack Bible" <[email protected]> wrote in message
    news:[email protected]...
    > No I11 is fixed at 15 to round time at 15 min. intervals.
    > Thank You all for your help.
    >
    > Jack
    >
    > RagDyeR wrote:
    >
    > > So ... that possibility *doesn't* exist for I11?<g>
    > > --
    > >
    > > Regards,
    > >
    > > RD
    > > --------------------------------------------------------------------
    > > Please keep all correspondence within the Group, so all may benefit !
    > > --------------------------------------------------------------------
    > >
    > > "Jack Bible" <[email protected]> wrote in message
    > > news:[email protected]...
    > > Peo
    > >
    > > This works very well.
    > > Thanks
    > > Jack
    > >
    > > Peo Sjoblom wrote:
    > >
    > > > Why would anyone put a space in a time value?
    > > >
    > > > =TIME(HOUR(TRIM(B11)),MROUND(MINUTE(TRIM(B11)),I11),0)
    > > >
    > > > --
    > > > Regards,
    > > >
    > > > Peo Sjoblom
    > > >
    > > > (No private emails please)
    > > >
    > > > "Jack Bible" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > > I am using "=TIME(HOUR(B11),MROUND(MINUTE(B11),I11),0)" for
    > > > > a time card, but if a space is entered we get #VALUE error. How can
    > > > > these spaces be filtered out. Input "06:00" or "06:00 am" works, but

    "
    > > > > 06:00" gives #VALUE error.
    > > > >
    > > > > Thanks
    > > > > Jack
    > > > >

    >



  9. #9
    Bob Phillips
    Guest

    Re: Remove Spaces beginning Time entry

    Another way

    =TIME(HOUR(SUBSTITUTE(B11," ","")),MROUND(MINUTE(SUBSTITUTE(B11,"
    ","")),I11),0)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Jack Bible" <[email protected]> wrote in message
    news:[email protected]...
    > I am using "=TIME(HOUR(B11),MROUND(MINUTE(B11),I11),0)" for
    > a time card, but if a space is entered we get #VALUE error. How can
    > these spaces be filtered out. Input "06:00" or "06:00 am" works, but "
    > 06:00" gives #VALUE error.
    >
    > Thanks
    > Jack
    >




  10. #10
    RagDyeR
    Guest

    Re: Remove Spaces beginning Time entry

    Try this:

    =TIME(HOUR(TRIM(B11)),,)
    --

    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================


    "Jack Bible" <[email protected]> wrote in message
    news:[email protected]...
    I am using "=TIME(HOUR(B11),MROUND(MINUTE(B11),I11),0)" for
    a time card, but if a space is entered we get #VALUE error. How can
    these spaces be filtered out. Input "06:00" or "06:00 am" works, but "
    06:00" gives #VALUE error.

    Thanks
    Jack



  11. #11
    RagDyeR
    Guest

    Re: Remove Spaces beginning Time entry

    Sorry, copied the wrong cell.
    Try this:

    =TIME(HOUR(TRIM(B11)),MROUND(MINUTE(TRIM(B11)),TRIM(I11)),0)
    --

    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================


    "RagDyeR" <[email protected]> wrote in message
    news:%[email protected]...
    Try this:

    =TIME(HOUR(TRIM(B11)),,)
    --

    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================


    "Jack Bible" <[email protected]> wrote in message
    news:[email protected]...
    I am using "=TIME(HOUR(B11),MROUND(MINUTE(B11),I11),0)" for
    a time card, but if a space is entered we get #VALUE error. How can
    these spaces be filtered out. Input "06:00" or "06:00 am" works, but "
    06:00" gives #VALUE error.

    Thanks
    Jack




+ 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