Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting data in same way as explorer

Status
Not open for further replies.

chunkymonkey

Mechanical
Joined
Aug 5, 2004
Messages
2
Location
GB
Is it possible to sort Excel data in the same way as Windows Explorer? I realise that Excel has it's own sort rules, but can these be modified in any way (other than just by checking different day or date options)?
 
i do not quite understand the question...

any continuous range of columns can be sorted by criteria choosen while executing the sort command.

are you thinking about filtering data - the auto-filter feature?

please advise.
-pmover
 
I'll try and explain:

I've got a list of filenames in one column in an Excel sheet (about 200 or so), and I want to sort this column (data/sort command) using the same character order as Windows explorer.

One problem though - I don't know what order that explorer uses to sort the data, I just know that it's different to that used in Excel.
 
chunky,

Are you trying to sort these filenames by date? If yes, are the dates in a column separate from the filenames? If yes, are they formated as dates or as text?
 
I think Explore uses ASCII chr code sort.

Create another column, cause it to contain the ASCII codes for the file names, then sort on that column.
 
Chunky,

FYI - Excel's sorting rules are included in the Microsoft Knowledge Base article:

XL2000: Sorting Alphanumeric Text as Numeric Values


Text and numbers are sorted differently, which is why I am curious about your formatting and search criteria.

- Elliot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top