Notices
Non Scooby Related Anything Non-Scooby related

Excel date format problem. Getting really anoying now... Can anyone help?

Thread Tools
 
Search this Thread
 
Old 19 September 2001, 02:49 PM
  #1  
Nimbus
Scooby Regular
Thread Starter
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Question


A temp was messing with some ones spread sheet and has changed all the date formats. At the moment it shows the correct date in the format bar, but not in the cell. See below.




I need the cell to show the date but it wont!

I've tried everything I can think of (which is not a lot ) to fix it. Changed the cell format etc but can not get it to work.

Can anyone help?
Old 19 September 2001, 03:00 PM
  #2  
druddle
Scooby Regular
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Post

Looks like the cell format has been changed to "Special" - "Zip Code".

Will keep looking at this.....

Dave
Old 19 September 2001, 03:21 PM
  #3  
Nimbus
Scooby Regular
Thread Starter
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Unhappy

I've changed to format to date but it still shows this number instead of the date. No formating I apply changes how it looks in the cell. But the formular bar does change, for example, if I change it to another format.

Old 19 September 2001, 03:43 PM
  #4  
druddle
Scooby Regular
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Post

check to see if any protection has been applied to the sheet or workbook <Tools><Protection> and then if theres any protection on the cells <Format Cells><Protection>.

Still scratching my head - this is an awkward on !!

Dave

Old 19 September 2001, 04:14 PM
  #5  
fast bloke
Scooby Regular
 
fast bloke's Avatar
 
Join Date: Nov 2000
Posts: 26,619
Likes: 0
Received 0 Likes on 0 Posts
Post

I've seen this before. I can't remember how to fix it, but it will come to me. The number you see is the number of days after the earliest date the PC can recognise. Try copying the entire column into a fresh column. I'll keep thinking
Old 19 September 2001, 04:20 PM
  #6  
Mo
Scooby Regular
 
Mo's Avatar
 
Join Date: Oct 2000
Location: the fastest rentals in town......0-100mph in 10 seconds
Posts: 1,401
Likes: 0
Received 0 Likes on 0 Posts
Post

Nimbus,

try changing the format to custom, dd/mm/yy

let me know if it works,

Zak.
Old 19 September 2001, 04:39 PM
  #7  
Nimbus
Scooby Regular
Thread Starter
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Post

Druddle,

There's no protection. Already checked


FB,

When I copy the data into a fresh sheet, it does show the dates


Mo,
Tried that. Still shows the number instead of the date.


Thanks for the input so far guys..
Old 19 September 2001, 08:46 PM
  #8  
ChrisB
Moderator
 
ChrisB's Avatar
 
Join Date: Dec 1998
Location: Staffs
Posts: 23,573
Likes: 0
Received 0 Likes on 0 Posts
Post

Fast Bloke looks to be on the right track.

37120 is Excel's way of showing 17/08/01 as a integer. IIRC, 01/01/1900 is 1.
Old 19 September 2001, 11:22 PM
  #9  
fast bloke
Scooby Regular
 
fast bloke's Avatar
 
Join Date: Nov 2000
Posts: 26,619
Likes: 0
Received 0 Likes on 0 Posts
Post

Nimbus - mail me a bit of the file. Cut out names etc if it is confidential. I know there is an easy fix, but I can't replicate the problem to try it out
Old 20 September 2001, 12:23 AM
  #10  
Nimbus
Scooby Regular
Thread Starter
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

LOL, Nice one FB. Thanks again.
Old 20 September 2001, 09:53 AM
  #11  
Nimbus
Scooby Regular
Thread Starter
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Post

FB,

E-mail on it's way

Thanks
Old 20 September 2001, 10:09 AM
  #12  
fast bloke
Scooby Regular
 
fast bloke's Avatar
 
Join Date: Nov 2000
Posts: 26,619
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

Nimbus - There is a bug in the spreadsheet. To fix, do the following

Create a new sheet. On the ASF sheet, Click the top left row/column selector. (Above row 1 and left of column a.) Click copy. Go to the new sheet. Click the same top left button. Click paste. The dates should now be in the correct format. The colum widths will be a bit screwed up, but easily fixed. Let us know if this works.

[This message has been edited by fast bloke (edited 20 September 2001).]
Old 20 September 2001, 11:06 AM
  #13  
Nimbus
Scooby Regular
Thread Starter
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Post

Thanks FB,

I suppose I should have tried this myself

Any idea what the bug was?

[This message has been edited by Nimbus (edited 20 September 2001).]
Old 20 September 2001, 11:53 AM
  #14  
fast bloke
Scooby Regular
 
fast bloke's Avatar
 
Join Date: Nov 2000
Posts: 26,619
Likes: 0
Received 0 Likes on 0 Posts
Cool

No idea. The page was behaving as if it was locked and protected. Unlocking it had no effect, but should allow you to make changes. You can't put anything else into it either. Try putting in cruuency with a puond sign or something, so it is not only the date format which is screwed. As the man from Microsoft said - they all do that sir. You could probably find the bug if you wanted to spend 6 weeks looking for it. Only problem is you would need to single it out from the other 2 million bugs Excel already makes use of.
Old 20 September 2001, 11:32 PM
  #15  
MattN
Scooby Regular
 
MattN's Avatar
 
Join Date: Nov 2000
Posts: 2,174
Likes: 0
Received 0 Likes on 0 Posts
Post

how was the data put in to the spreadsheet?

sometimes when importing data, whatever the data was imported as i.e. text it can't be changed. It can be a real pain.

Matt
Old 21 September 2001, 10:45 AM
  #16  
Nimbus
Scooby Regular
Thread Starter
 
Nimbus's Avatar
 
Join Date: Jun 2000
Posts: 4,413
Likes: 0
Received 0 Likes on 0 Posts
Post

Matt,

Originally it was typed in as a date, but then a temp changed the format but we are not sure what format she used (she has since left).
Old 21 September 2001, 11:28 AM
  #17  
fast bloke
Scooby Regular
 
fast bloke's Avatar
 
Join Date: Nov 2000
Posts: 26,619
Likes: 0
Received 0 Likes on 0 Posts
Post

Matt -
I don't think it was something the temp did. Usually if a person causes the problem it can be fixed. Looked to me like the thing was simply ignoring any formatting changes you tried to make and could not understand all its own formatting. Even creating new rows and putting in fresh data didn't work
Old 21 September 2001, 04:51 PM
  #18  
MattN
Scooby Regular
 
MattN's Avatar
 
Join Date: Nov 2000
Posts: 2,174
Likes: 0
Received 0 Likes on 0 Posts
Post

a good trick to try, try recording a macro of you changing the cell format. then have a look at it in the VB editor and see what it says.

The good thing is you can use the macro on a new spreadsheet to see if the original is knackered!!!

If the data was simply keyed in I don't see how it could lock the cell format, unless of cause there was indeed a bug or a virus.

Microsoft, gotta love em!
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Abx
Subaru
22
09 January 2016 05:42 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
T.K
General Technical
10
02 October 2015 11:35 AM
Littleted
Computer & Technology Related
0
25 September 2015 08:44 AM



Quick Reply: Excel date format problem. Getting really anoying now... Can anyone help?



All times are GMT +1. The time now is 02:48 PM.