![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Location: georgia
Posts: 9
|
I have a column of numbers such as 123, 245, 345 etc.
I would like to convert these to times such as 1:23, 2:45, and 3:45, when I choose format cells I get a value of 0:00 Thanks for your help in advance. |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
If these values are 24-hour representation of hours and minutes use...
=SUM(MID(REPT(0,4-LEN(A1))&A1,{1,3},2)/{24,1440}) ...where A1 contains your value. Format the cell containing this formula as h:mm |
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Location: georgia
Posts: 9
|
EXCELLENT Thank you!
I hate to ask this but could you please tell me how to include seconds. 24511 = 2:45:11 Thanks again |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|