View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Sarah_Lecturer
 
Posts: n/a
Default Convert date/time to text

Hilight the column
Click on Data
Text to columns
Clicked next
Tick "Space"
Click next
Click Finish

Sort as required x

"Pam" wrote:

An automatically generated report has a column of dates/times in the format:
mm/dd/yyyy hh:mm:ss AM

We want to be able to sort this column ONLY by the times. We don't care
about the date. When we change the format of the cells to contain only the
time, the sort sorts by the entire date/time (because we never really changed
the contents of the cells).

So, basically what I want to do is 'strip out' the date information, leaving
only the time information. Any ideas?