Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Darryl
 
Posts: n/a
Default Sorting in Excel spreadsheet

How can I sort by using the 5th char. in a field....WildCard?
I'm working in an excel spreadsheet and have an eleven character field. I'm
trying to Sort by the 5th and 6th character. Can this be done? Are there wild
cards I can use?

I'm trying to sort by State...which is indicated by the 5th and 6th
characters.
  #3   Report Post  
Posted to microsoft.public.excel.misc
Michael
 
Posts: n/a
Default Sorting in Excel spreadsheet

Hi Darryl. You can use a helper column and extract the 5th and 6th
characterrs from your text fields. Assuming your data is in Column A,
starting in A2, in B2 type: =Mid(A2,5,2) and copy down. You can then sort
on Column B. HTH
--
Sincerely, Michael Colvin


"Darryl" wrote:

How can I sort by using the 5th char. in a field....WildCard?
I'm working in an excel spreadsheet and have an eleven character field. I'm
trying to Sort by the 5th and 6th character. Can this be done? Are there wild
cards I can use?

I'm trying to sort by State...which is indicated by the 5th and 6th
characters.

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
Importing an Excel spreadsheet from the web. Mike Excel Discussion (Misc queries) 0 November 22nd 05 02:50 PM
Can Excel 97 read Excel 2003 simple spreadsheet? MSfStl Excel Discussion (Misc queries) 3 November 21st 05 07:08 PM
Excel 2K3: Opening a spreadsheet, also opens book1.xls? Newtek Excel Discussion (Misc queries) 3 July 6th 05 07:56 PM
Excel 2K3: Opening spreadsheet, also opens book1.xls? Newtek Setting up and Configuration of Excel 1 July 6th 05 07:56 PM
Is there a way to insert a formula, password or macro in an excel spreadsheet that will automatically delete the spreadsheet? oil_driller Excel Discussion (Misc queries) 1 February 8th 05 09:34 AM


All times are GMT +1. The time now is 08:57 PM.

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

About Us

"It's about Microsoft Excel"