Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Read cell formated as Time

I have a friend that is trying to read an Excel spreadsheet, where one
column is formatted as TIME. It shows fine in the column (3:00) but when he
tries to read it (external to Excel) he gets the value .125.

I told him it's stored as a fraction of 24 hours, but he wants to get the
"3:00" value (of course) and not the .125 value.

I could not figure it out, off the top of my head, so I thought I'd post to
see if there was a quick response to this. In the mean time, I'll keep
searching.

Thanks,
Larry


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Read cell formated as Time

Turns out the FORMAT function works. Didn't think it would handle it, but it
does.

"David McRitchie" wrote in message
...
Hi Larry,
To convert the Excel time to hours, multiply by 24.

More information on Date and Time on these two sites
the first is mine, and more sites in the #related area
http://www.mvps.org/dmcritchie/excel/datetime.htm
the second is Chip Pearson's
http://www.cpearson.com/excel/datetime.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Larry" wrote in message

...
I have a friend that is trying to read an Excel spreadsheet, where one
column is formatted as TIME. It shows fine in the column (3:00) but when

he
tries to read it (external to Excel) he gets the value .125.

I told him it's stored as a fraction of 24 hours, but he wants to get

the
"3:00" value (of course) and not the .125 value.

I could not figure it out, off the top of my head, so I thought I'd post

to
see if there was a quick response to this. In the mean time, I'll keep
searching.

Thanks,
Larry






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
How do I add 24 hours to a date and time value formated cell? kknight79558 Excel Discussion (Misc queries) 4 August 20th 07 07:20 PM
Cell formated as text changes when copied jjk98 Excel Discussion (Misc queries) 5 May 22nd 07 01:15 PM
Adding zero's to Time formated cell Browner Excel Worksheet Functions 3 June 20th 06 07:02 PM
Adding numbers to a Time Formated cell Browner Excel Discussion (Misc queries) 2 June 20th 06 03:55 PM
Paste a formated Cell with protection can it be done Ralf Excel Discussion (Misc queries) 1 February 16th 05 03:05 PM


All times are GMT +1. The time now is 12:35 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"