Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default sort (on part of) string - originally posted under Tricky Sort

Use
=DateValue(Left(cell,8))

in another column and sort on that.

--
Regards,
Tom Ogilvy


"Struggling with VBA" wrote in
message ...
I had a look on replies but didn't see what I was looking for.

What I am trying to do is perform a sort based on

a. The user selecting the range
b. The sort being performed on the first few characters of a string (a

date value - in
MM/DD/YY format)

If possible I want to automate this as a right click option but am not

sure if this
will work? Although getting a sort routine working would help and I could

try to figure out myself if I can right click to operate it.

Thanks in advance


The data has (3 columns the middle one being the string containing the

text and date value)




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sort part of a filtered spreadsheet jfaulks Excel Worksheet Functions 1 October 6th 09 07:38 AM
Sort by part of a number sacredarms New Users to Excel 2 July 25th 06 06:48 PM
Data Sort 2 part question Roman Excel Discussion (Misc queries) 0 March 3rd 06 08:00 PM
Tricky Sort Issues Starting to Program[_3_] Excel Programming 0 August 4th 04 11:23 PM
Deleting Blank Cells Subject to Criteria (Originally Posted in Excel by Mistake) Mark Excel Programming 3 April 7th 04 03:51 PM


All times are GMT +1. The time now is 03:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"