ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formattng time question (https://www.excelbanter.com/excel-discussion-misc-queries/160147-formattng-time-question.html)

Billy B

Formattng time question
 
I am updating an excel worksheet from a query in Access. One of the fields in
the database is time and the query works. The excel field is formatted as
time and displays 2:00 PM or 14:00 depending on the format. What I need to do
is have the cell display 2:00. Is that possible? and if so, how?

Thank You

David Biddulph[_2_]

Formattng time question
 
=mod(A1,0.5)
--
David Biddulph

"Billy B" wrote in message
...
I am updating an excel worksheet from a query in Access. One of the fields
in
the database is time and the query works. The excel field is formatted as
time and displays 2:00 PM or 14:00 depending on the format. What I need to
do
is have the cell display 2:00. Is that possible? and if so, how?

Thank You





All times are GMT +1. The time now is 12:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com