ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   3.10 PM to 24 hour time please ( 1510 ) (https://www.excelbanter.com/excel-worksheet-functions/59548-3-10-pm-24-hour-time-please-1510-a.html)

Steved

3.10 PM to 24 hour time please ( 1510 )
 
Hello from Steved

Could I have a formula to acheive the below please.

Below is "Text"
3.10 PM to 1510

Thankyou.

bpeltzer

3.10 PM to 24 hour time please ( 1510 )
 
If it's really text, first convert to a number: copy a blank cell, highlight
your text and Edit Paste Special, select Values and Add, click OK. Then
format it as needed: Edit Format Cells, on the number tab select the time
category and choose the second one down.

"Steved" wrote:

Hello from Steved

Could I have a formula to acheive the below please.

Below is "Text"
3.10 PM to 1510

Thankyou.


JE McGimpsey

3.10 PM to 24 hour time please ( 1510 )
 
One way:

=--SUBSTITUTE(A1,".",":")

Format as hhmm

In article ,
Steved wrote:

Hello from Steved

Could I have a formula to acheive the below please.

Below is "Text"
3.10 PM to 1510

Thankyou.


Peo Sjoblom

3.10 PM to 24 hour time please ( 1510 )
 
Or maybe

=TEXT(SUBSTITUTE(A1,".",":"),"HMM")


"JE McGimpsey" wrote in message
...
One way:

=--SUBSTITUTE(A1,".",":")

Format as hhmm

In article ,
Steved wrote:

Hello from Steved

Could I have a formula to acheive the below please.

Below is "Text"
3.10 PM to 1510

Thankyou.




Steved

3.10 PM to 24 hour time please ( 1510 )
 
Thankyou

ok Ive now gone from 3.10 PM to 3:10 PM

I now need to convert it to 24 hour clock please in this case 1510

Thankyou.

"Steved" wrote:

Hello from Steved

Could I have a formula to acheive the below please.

Below is "Text"
3.10 PM to 1510

Thankyou.


Niek Otten

3.10 PM to 24 hour time please ( 1510 )
 
Starting from 3:10 PM in A1:

=TEXT(A1,"hhmm")

Or, if you want to use it in calculations,

=VALUE(TEXT(A1,"hhmm"))

--
Kind regards,

Niek Otten

"Steved" wrote in message
...
Thankyou

ok Ive now gone from 3.10 PM to 3:10 PM

I now need to convert it to 24 hour clock please in this case 1510

Thankyou.

"Steved" wrote:

Hello from Steved

Could I have a formula to acheive the below please.

Below is "Text"
3.10 PM to 1510

Thankyou.





All times are GMT +1. The time now is 02:35 PM.

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