Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 25
Default Having a problem formatting short time

I am having a problem formatting time in my spreadsheet. If I type in a
number (ex. 1300) and then try to format the cell this is what happens ....
the cell changes to 00:00 and the formula bar shows 7/23/1903 12:00 AM. Can
anyone help me? I give up!
--

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5,651
Default Having a problem formatting short time

On Sun, 20 Jul 2008 16:04:00 -0700, clueless
wrote:

I am having a problem formatting time in my spreadsheet. If I type in a
number (ex. 1300) and then try to format the cell this is what happens ....
the cell changes to 00:00 and the formula bar shows 7/23/1903 12:00 AM. Can
anyone help me? I give up!


Formatting does not affect how Excel interprets your date or time entry.

If you type 1300 into a cell, and then format it as a time, Excel will
interpret that as 1300 days (and no hours) since 1/1/1900. That happens to be
7/23/1903 12:00 AM

If you want to enter 1300 as a time, you must enter the ":". eg. 13:00.

There are methods of entering 1300 and having Excel convert it to 13:00, but
you need to use VBA to do that. See
http://www.cpearson.com/excel/DateTimeEntry.htm
--ron
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
Short Date Formatting Majikwoman Excel Discussion (Misc queries) 8 June 21st 08 02:00 AM
Time Formatting Problem mpenkala Excel Discussion (Misc queries) 1 June 2nd 08 09:30 PM
Date & time short cut Conditional Formatting Excel Worksheet Functions 1 November 21st 05 05:05 PM
Problem with formatting time Tcs Excel Discussion (Misc queries) 2 November 3rd 05 06:48 PM
Despite formatting a column in Excel 2002 worksheet as Short Date. Pete Whalley Excel Discussion (Misc queries) 2 February 7th 05 06:17 PM


All times are GMT +1. The time now is 05:42 AM.

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"