Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Converting decimal number to hh:mm format

I have a large amount of data that I want to enter. I would like to enter it
in the format of #### ( i.e. 1234) and have it automatically converted to
12:34 PM. Is there a way to do this? If so, How?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Converting decimal number to hh:mm format

Chip Pearson shows how it can be done he

http://www.cpearson.com/excel/DateTimeEntry.htm

Hope this helps.

Pete

On Apr 15, 8:21*pm, Jeff Lowenstein
wrote:
I have a large amount of data that I want to enter. *I would like to enter it
in the format of #### ( i.e. 1234) and have it automatically converted to
12:34 PM. *Is there a way to do this? *If so, How?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Converting decimal number to hh:mm format

I agree...it is nice to avoid typing all the :

In A1 enter:
1234 (as text)
In B1 the formula: =TIME(--LEFT(A1,2),--RIGHT(A1,2),0)

For example A1 thru B3:

1234 12:34 PM
0830 8:30 AM
1440 2:40 PM


(as text allows the retension of the leading zero)


--
Gary''s Student - gsnu200779


"Jeff Lowenstein" wrote:

I have a large amount of data that I want to enter. I would like to enter it
in the format of #### ( i.e. 1234) and have it automatically converted to
12:34 PM. Is there a way to do this? If so, How?

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
Converting hours over 24 into decimal format Ary Excel Worksheet Functions 6 July 4th 07 12:34 PM
Converting a decimal number into time M.A.Tyler Excel Discussion (Misc queries) 7 May 26th 06 04:39 AM
Converting 2-place decimal value to floating point decimal number with leading zero Kermit Piper Excel Discussion (Misc queries) 3 March 18th 06 06:20 PM
Converting decimal calculation to h:mm format Gina A. Excel Worksheet Functions 3 November 16th 05 11:27 PM
Converting a number to 2 decimal places mattslav Excel Discussion (Misc queries) 2 June 4th 05 04:10 AM


All times are GMT +1. The time now is 10:26 PM.

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

About Us

"It's about Microsoft Excel"