Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steved
 
Posts: n/a
Default 3.02 PM ( Decimal Point )to 1502

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.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default 3.02 PM ( Decimal Point )to 1502


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")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=531636

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default 3.02 PM ( Decimal Point )to 1502

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


"Steved" wrote in message
...
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.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Steved
 
Posts: n/a
Default 3.02 PM ( Decimal Point )to 1502

Thanks Folks

"Steved" wrote:

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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
defined cell as currency but still have to enter decimal point Beebs Excel Worksheet Functions 2 March 7th 06 11:56 PM
Display a digit before or after the decimal point in another cell Robert Monks Excel Worksheet Functions 4 December 3rd 05 09:18 AM
format inplied decimal point c62ip64 Excel Discussion (Misc queries) 8 November 16th 05 03:09 PM
FIXED 2 DECIMAL PLACES, MUST ENTER ALL ZEROES AFTER DECIMAL POINT. SUKYKITTY Excel Discussion (Misc queries) 3 July 6th 05 01:50 PM
decimal point override does not work Sam Brauen Excel Discussion (Misc queries) 0 January 6th 05 05:29 PM


All times are GMT +1. The time now is 09:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"