3.10 PM to 24 hour time please ( 1510 )

S

Steved

Hello from Steved

Could I have a formula to acheive the below please.

Below is "Text"
3.10 PM to 1510

Thankyou.
 
B

bpeltzer

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.
 
S

Steved

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.
 
N

Niek Otten

Starting from 3:10 PM in A1:

=TEXT(A1,"hhmm")

Or, if you want to use it in calculations,

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