Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dolores
 
Posts: n/a
Default Sort Excel Column on Fifth Character

Hi,

Is it possible to sort an Excel column on the fifth character? If so, how is
it done?

If not, is it possible to write a macro to copy each Excel column to Access,
sort the column on the fifth character in Access, and copy the column back to
Excel? And if so, how?

Would this be further complicated because each Excel column is filled with
items from a drop-down menu that exists only in each column itself?
--
Dolores
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default Sort Excel Column on Fifth Character

Insert a new column alongside your data and use the MID function to extract
the character on which you want to sort into the new column

Let's assume the column you want to use for sorting is D. Use

=mid(D2,5,1)

to extract the 5th character. Copy the formula to all rows, then sort on
that column



"Dolores" wrote:

Hi,

Is it possible to sort an Excel column on the fifth character? If so, how is
it done?

If not, is it possible to write a macro to copy each Excel column to Access,
sort the column on the fifth character in Access, and copy the column back to
Excel? And if so, how?

Would this be further complicated because each Excel column is filled with
items from a drop-down menu that exists only in each column itself?
--
Dolores

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dolores
 
Posts: n/a
Default Sort Excel Column on Fifth Character

Thanks very much, Duke. You're a life saver!
--
Dolores


"Duke Carey" wrote:

Insert a new column alongside your data and use the MID function to extract
the character on which you want to sort into the new column

Let's assume the column you want to use for sorting is D. Use

=mid(D2,5,1)

to extract the 5th character. Copy the formula to all rows, then sort on
that column



"Dolores" wrote:

Hi,

Is it possible to sort an Excel column on the fifth character? If so, how is
it done?

If not, is it possible to write a macro to copy each Excel column to Access,
sort the column on the fifth character in Access, and copy the column back to
Excel? And if so, how?

Would this be further complicated because each Excel column is filled with
items from a drop-down menu that exists only in each column itself?
--
Dolores

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 column data with hidden columns - excel 2003 nanimadrina Excel Discussion (Misc queries) 2 April 26th 05 08:27 PM
excel change default column sort to current selection john palmer Excel Worksheet Functions 2 March 8th 05 03:07 PM
"-" ignored in sort Mike H Excel Discussion (Misc queries) 8 January 2nd 05 07:48 AM
HELP! How do you--> Lock a set of rows but also link worksheets to FRUSTRATED Excel Discussion (Misc queries) 6 December 29th 04 10:05 PM
How do I sort a column of formulas in Excel? Gordon Excel Discussion (Misc queries) 2 November 27th 04 01:55 AM


All times are GMT +1. The time now is 11:05 AM.

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"