#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Auto-Alphabetize

I have a master data sheet, with columns of different information.
I'd like to pull information from 3 different columns
(Rank,LastName,Shift) into a separate column (I know how to do this).
What I would then like to have happen is, in another separate column,
have the information sorted alphabetically by last name. There are
duplicate last names, in which case I'd like them sorted in rank
order. Is this at all possible? Also, I can't use a VB Macro - it
needs to be in a formula or array format.

Rank.......LastName.........Shift
PO Smith B/1
BC Jones B/2
FF Smith B/1
LT Harris C/4


What I'd like to end up with, in one column is this:

LT Harris C/4
BC Jones B/2
PO Smith B/1
FF Smith B/1

The rank possibilities in descending order a BC, CT, LT, PO, EVD,
FF, FFPM, FPR
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,071
Default Auto-Alphabetize

Matt
A formula can't sort a range of data. There are only 2 ways of doing
what you want, manually and by VBA. What constrains you from using a macro?
Also, Excel can sort a range in only numerical or alphabetical order. It
cannot sort by rank. However, there is a way around that. You can assign a
number or a letter to every rank and VBA (a macro again) can sort by those
values in the background and the end-product will be sorted by rank. Please
post back, we'd like to help you. HTH Otto

"Matt" wrote in message
...
I have a master data sheet, with columns of different information.
I'd like to pull information from 3 different columns
(Rank,LastName,Shift) into a separate column (I know how to do this).
What I would then like to have happen is, in another separate column,
have the information sorted alphabetically by last name. There are
duplicate last names, in which case I'd like them sorted in rank
order. Is this at all possible? Also, I can't use a VB Macro - it
needs to be in a formula or array format.

Rank.......LastName.........Shift
PO Smith B/1
BC Jones B/2
FF Smith B/1
LT Harris C/4


What I'd like to end up with, in one column is this:

LT Harris C/4
BC Jones B/2
PO Smith B/1
FF Smith B/1

The rank possibilities in descending order a BC, CT, LT, PO, EVD,
FF, FFPM, FPR


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
alphabetize Ahsen New Users to Excel 1 February 1st 07 04:13 AM
alphabetize EC Excel Discussion (Misc queries) 4 December 13th 06 12:36 AM
Alphabetize? lisaz530 Excel Discussion (Misc queries) 1 August 16th 06 01:12 AM
alphabetize names brendar Excel Discussion (Misc queries) 3 July 13th 06 12:24 PM
how do I alphabetize by sheets in excel 2000? Is there an auto-so. Keith 1 Excel Discussion (Misc queries) 2 September 9th 05 07:02 PM


All times are GMT +1. The time now is 12:56 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"