View Single Post
  #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