![]() |
#8
|
|||
|
|||
![]()
For some reason, your dates in column A are not being read as dates. To see this, in B2 use =ISNUMBER(A2)
You should get FALSE as it's not a number, so we have to convert it to a number. A couple of ways to do this: 1) In B2 use the formula =A2+0 and copy it down. Now convert column B to values and sort. The +0 forces A2 into a number. 2) Use Text to Columns Text to Columns
|
Tags |
dates, vba |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
lesmielles | Excel Programming | 3 | 02-08-2017 06:14 AM |
![]() |
rindelsk | Excel | 1 | 04-06-2015 01:15 AM |
![]() |
Sophie1 | Excel | 2 | 04-23-2014 07:19 AM |
If formula for subtracting dates | gbaker | Excel | 6 | 10-07-2012 07:06 AM |
Excel 2007 - formula or macro/vba code required | wrighty50 | Excel Programming | 3 | 05-13-2012 02:24 PM |