Help! This is driving me nuts.
Suddenly Excel is assuming everything I put in a cell is a time.
Its trivial, but really, really annoying.
Surely a spreadsheet should assume it's receiving a number?
As it has done for as long as I can remember.
What have I done?
Any advice would be gratefully received.
excel assumng everything is a time
-
- Posts: 165
- Joined: Thu May 09, 2013 5:57 pm
Strange that 

You do not have the required permissions to view the files attached to this post.
-
- Posts: 165
- Joined: Thu May 09, 2013 5:57 pm
- ShaunWhite
- Posts: 10498
- Joined: Sat Sep 03, 2016 3:42 am
Is it doing it on a new blank sheet? If so that's very strange. Otherwise you can try selecting the whole sheet and formatting it as a number type format. In fairness to excel a date/time is also just a number, and the way excel stores it it's the number of days since 1900-jan-00 with a mantissa that represents the fraction of the 24hrs within that day http://www.cpearson.com/excel/datetime.htm
-
- Posts: 165
- Joined: Thu May 09, 2013 5:57 pm
- ShaunWhite
- Posts: 10498
- Joined: Sat Sep 03, 2016 3:42 am
Just seen your post. Glad it's sorted. These niggly things can take ages and it's never expected so they have a habit of turning a 5minute job into a 1 hour job and messing up your day planner. Just be grateful you're not justifying your time on a timesheet and having to explain why you haven't finished. 
-
- Posts: 575
- Joined: Wed Apr 19, 2017 5:12 pm
Took me WAY too long to work out Excel and VBA treats every cell as a variant, like you said time/date is just a number. Tripped myself up so many times not realising this, all part of the learning curve I guess but embarrassing how stuck it got me at times.