This is probably really easy butI have an issue sorting dates that I can not get my head around. Basically I need the columns to sort by day, then month, then time but it automatically sorts by day along as follows:
<TABLE style="WIDTH: 96pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=128><COLGROUP><COL style="WIDTH: 96pt; mso-width-source: userset; mso-width-alt: 4681" width=128><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 96pt; HEIGHT: 12.75pt; BORDER-TOP: silver 0.5pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl64 height=17 width=128>1/6/2011 - 16:57:50</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl64 height=17> </TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl64 height=17>1/7/2011 - 12:02:39</TD></TR></TBODY></TABLE>
The problem is made more difficult as the data extract from another source is hyphenated in the same field as time. What I need is 1/6/2011 - Time, then 2/6/2011 - the next time after that and not for it to jump to 1/7/2011. For example
1/6/2011 - 16:57:50
1/6/2011 - 16:59:01
2/6/2011 - 08:00:54
2/6/2011 - 10:12:06
2/6/2011 - 15:30:44
3/6/2011 - 16:34:05 and so on
Anyone got any ideas. I know loads of posts are on this site but any advice before I go to wok on Monday would be hugely appreciated.
Kind regards
Steve
<TABLE style="WIDTH: 96pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=128><COLGROUP><COL style="WIDTH: 96pt; mso-width-source: userset; mso-width-alt: 4681" width=128><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 96pt; HEIGHT: 12.75pt; BORDER-TOP: silver 0.5pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl64 height=17 width=128>1/6/2011 - 16:57:50</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl64 height=17> </TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl64 height=17>1/7/2011 - 12:02:39</TD></TR></TBODY></TABLE>
The problem is made more difficult as the data extract from another source is hyphenated in the same field as time. What I need is 1/6/2011 - Time, then 2/6/2011 - the next time after that and not for it to jump to 1/7/2011. For example
1/6/2011 - 16:57:50
1/6/2011 - 16:59:01
2/6/2011 - 08:00:54
2/6/2011 - 10:12:06
2/6/2011 - 15:30:44
3/6/2011 - 16:34:05 and so on
Anyone got any ideas. I know loads of posts are on this site but any advice before I go to wok on Monday would be hugely appreciated.
Kind regards
Steve