3.02 PM ( Decimal Point )to 1502

G

Guest

Hello from Steved

From 3.02 PM to 1502 Military time please.

The below formula is my attempt but displays #VAULE!
HOUR(B71)*100+MINUTE(B71)

Thankyou.
 
D

daddylonglegs

Do you want 15:02 as a time or 1502 text value?

either

=SUBSTITUTE(B71,".",":")+0

format as hh:mm

or for text

=TEXT(SUBSTITUTE(B71,".",":")+0,"hhmm")
 
P

Peo Sjoblom

If the values are text

=--TEXT(TEXT(SUBSTITUTE(A1,".",":"),"hh:mm"),"hhmm")

If not and you by some reason is using a period as a time delimiter

=--TEXT(TEXT(A1,"hh.mm"),"hhmm")

note that 00:30 AM will display as 30

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

To reconise text or number 2
3.10 PM to 24 hour time please ( 1510 ) 5
decimal time subtraction please. 6
#VALUE! 4
Decimal minute 9
106% to this please 6% 7
Subtract Decimal time 9
It display's Sat 4

Top