ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Time function (https://www.excelbanter.com/excel-worksheet-functions/153785-time-function.html)

vito

Time function
 
I am working with a database that has time entred in military time. However
it was coded into excel as a number. Is there a way to change the numbers
entered under charge time to time values under Actual Time.

Charge Time Actual Time
625 6:25 a
205 2:05 a
2050 8:50 p
1500
555
2220


Teethless mama

Time function
 
=TEXT(A1,"0\:00")+0

Format cells as: h:mm AM/PM


"vito" wrote:

I am working with a database that has time entred in military time. However
it was coded into excel as a number. Is there a way to change the numbers
entered under charge time to time values under Actual Time.

Charge Time Actual Time
625 6:25 a
205 2:05 a
2050 8:50 p
1500
555
2220


vito

Time function
 
Thanks worked perfectly.

"Teethless mama" wrote:

=TEXT(A1,"0\:00")+0

Format cells as: h:mm AM/PM


"vito" wrote:

I am working with a database that has time entred in military time. However
it was coded into excel as a number. Is there a way to change the numbers
entered under charge time to time values under Actual Time.

Charge Time Actual Time
625 6:25 a
205 2:05 a
2050 8:50 p
1500
555
2220



All times are GMT +1. The time now is 07:20 PM.

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