![]() |
![]() |
|
|||||||
| 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: Apr 2002
Posts: 1
|
I want to enter a time value(like 12:30:00) in a cell and have Excel provide me with the value of that time (like .502xx) in another cell. This works in Lotus [as @TIMEVALUE(A5)] for example, but it doesn't work in Excel.
How do you do this? Ed |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Enter 12:30 into cell A5. Enter =A5 into cell B5 and format as General.
[ This Message was edited by: Mark W. on 2002-04-26 14:52 ] |
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Helena, MT
Posts: 13,690
|
You don't need a function. If your time is in A1, you can enter =A1 in C1 and then format C1 as a number.
Edit: TOO SLOW [ This Message was edited by: lenze on 2002-04-26 14:52 ] |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Posts: 3,065
|
Can you not link to cell A1 ...
=A1 will this not work.....
__________________
Free Excel based Web Toolbar available here. Jack in the UK J & R Excel Solutions "making Excel work for you" |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Posts: 3,065
|
sory guys i was 60 seconds recorded there to slow, i need to go back to school, no good the 1st time, read and type faster i guess..
sorry guys
__________________
Free Excel based Web Toolbar available here. Jack in the UK J & R Excel Solutions "making Excel work for you" |
|
|
|
|
|
#6 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,318
|
Quote:
=TIMEVALUE(A1&"") will return the result you're looking for. =TIMEVALUE("12:30:00") will have the same effect. This function in Excel converts a time in the form of text to a serial number. Have also a look at the TIME worksheet function under Excel's Help. |
|
|
|
|
|
|
#7 | ||
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
[ This Message was edited by: Mark W. on 2002-04-26 15:01 ] |
||
|
|
|
|
|
#8 | |||
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,318
|
Quote:
|
|||
|
|
|
|
|
#9 | ||||
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
[ This Message was edited by: Mark W. on 2002-04-26 15:03 ] |
||||
|
|
|
|
|
#10 |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,318
|
=TIMEVALUE(A1&"") produces #VALUE! I see. I should indeed. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|