Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Damon Longworth
 
Posts: n/a
Default

Have a look at TimeValue in help.

"Jack Bible" wrote in message
...
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   Report Post  
Jack Bible
 
Posts: n/a
Default 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

  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

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" wrote in message
...
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   Report Post  
Bob Phillips
 
Posts: n/a
Default

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" wrote in message
...
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   Report Post  
RagDyeR
 
Posts: n/a
Default

Try this:

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

HTH,

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


"Jack Bible" wrote in message
...
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   Report Post  
RagDyeR
 
Posts: n/a
Default

Sorry, copied the wrong cell.
Try this:

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

HTH,

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


"RagDyeR" wrote in message
...
Try this:

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

HTH,

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


"Jack Bible" wrote in message
...
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   Report Post  
Jack Bible
 
Posts: n/a
Default

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" wrote in message
...
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   Report Post  
Jack Bible
 
Posts: n/a
Default

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" wrote in message
...
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   Report Post  
RagDyeR
 
Posts: n/a
Default

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

Regards,

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

"Jack Bible" wrote in message
...
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" wrote in message
...
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   Report Post  
Jack Bible
 
Posts: n/a
Default

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" wrote in message
...
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" wrote in message
...
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   Report Post  
Ragdyer
 
Posts: n/a
Default

Appreciate the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Jack Bible" wrote in message
...
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" wrote in message
...
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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Time entry leah Excel Discussion (Misc queries) 9 January 18th 05 01:47 PM
entering numbers to display a time format Ian Williams/Eazygig Excel Discussion (Misc queries) 1 January 10th 05 11:57 AM
Help - Information with time and date PM Excel Discussion (Misc queries) 4 January 6th 05 08:25 AM
remove all Hyperlinks at one time. afglass Excel Discussion (Misc queries) 2 January 2nd 05 05:47 PM
Time Format Auto Entry AM and PM BulaMan Excel Discussion (Misc queries) 1 December 15th 04 09:30 AM


All times are GMT +1. The time now is 10:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"