Alpha sort by multiple column ranges

doug5jmp

Board Regular
Joined
Apr 27, 2010
Messages
62
In one sheet I have three lists A,B,C

Each List has name 4 names
A
Mike
Larry
JOe
JOhn

B
Adam
Gary
Frank
Perry

C
Doug
Jason
Matt
Kerry

My problem is that I have data in columns B:EF for each of the names "rows".

I would like to be able to change a name in the list...from one list to another for example or delete and retype, and have each range IE list perform an alpha sort by column A. Though I would like each list to sort within itself NOT all (3) lists combined.

I have a sheet of all (3) lists and the dedicated names alone. I would like to change these names on said list and then report to sheet2 the names alpha sorted within each list and have the entire row sort as well
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Excel Workbook
ABCD
1List A
2MikeMike1Mike2Mike3
3LarryLarry1Larry2Larry3
4JOeJoe1Joe2Joe3
5JOhnJohn1John2John3
6
7List B
8AdamAdam1Adam2Adam3
9GaryGary1Gary2Gary3
10FrankFrank1Frank2Frank3
11PerryPerry1Perry2Perry3
12
13List C
14DougDoug1Doug2Doug3
15JasonJason1Jason2Jason3
16MattMatt1Matt2Matt3
17KerryKerry1Kerry2Kerry3
Sheet1
Excel Workbook
ABCD
1List A
2JOeJoe1Joe2Joe3
3LarryLarry1Larry2Larry3
4MikeMike1Mike2Mike3
5JOhnJohn1John2John3
6
7List B
8FrankFrank1Frank2Frank3
9GaryGary1Gary2Gary3
10PerryPerry1Perry2Perry3
11
12
13List C
14KerryKerry1Kerry2Kerry3
15DougDoug1Doug2Doug3
16MattMatt1Matt2Matt3
17JasonJason1Jason2Jason3
Sheet2
Cell Formulas
RangeFormula
B2=IF(A2="","",VLOOKUP($A2,Sheet1!$A$2:$D$5, COLUMN(B$1),0))
B3=IF(A3="","",VLOOKUP($A3,Sheet1!$A$2:$D$5, COLUMN(B$1),0))
B4=IF(A4="","",VLOOKUP($A4,Sheet1!$A$2:$D$5, COLUMN(B$1),0))
B5=IF(A5="","",VLOOKUP($A5,Sheet1!$A$2:$D$5, COLUMN(B$1),0))
B8=IF(A8="","",VLOOKUP($A8,Sheet1!$A$8:$D$11, COLUMN(B$1),0))
B9=IF(A9="","",VLOOKUP($A9,Sheet1!$A$8:$D$11, COLUMN(B$1),0))
B10=IF(A10="","",VLOOKUP($A10,Sheet1!$A$8:$D$11, COLUMN(B$1),0))
B11=IF(A11="","",VLOOKUP($A11,Sheet1!$A$8:$D$11, COLUMN(B$1),0))
B14=IF(A14="","",VLOOKUP($A14,Sheet1!$A$14:$D$17, COLUMN(B$1),0))
B15=IF(A15="","",VLOOKUP($A15,Sheet1!$A$14:$D$17, COLUMN(B$1),0))
B16=IF(A16="","",VLOOKUP($A16,Sheet1!$A$14:$D$17, COLUMN(B$1),0))
B17=IF(A17="","",VLOOKUP($A17,Sheet1!$A$14:$D$17, COLUMN(B$1),0))
C2=IF(B2="","",VLOOKUP($A2,Sheet1!$A$2:$D$5, COLUMN(C$1),0))
C3=IF(B3="","",VLOOKUP($A3,Sheet1!$A$2:$D$5, COLUMN(C$1),0))
C4=IF(B4="","",VLOOKUP($A4,Sheet1!$A$2:$D$5, COLUMN(C$1),0))
C5=IF(B5="","",VLOOKUP($A5,Sheet1!$A$2:$D$5, COLUMN(C$1),0))
C8=IF(B8="","",VLOOKUP($A8,Sheet1!$A$8:$D$11, COLUMN(C$1),0))
C9=IF(B9="","",VLOOKUP($A9,Sheet1!$A$8:$D$11, COLUMN(C$1),0))
C10=IF(B10="","",VLOOKUP($A10,Sheet1!$A$8:$D$11, COLUMN(C$1),0))
C11=IF(B11="","",VLOOKUP($A11,Sheet1!$A$8:$D$11, COLUMN(C$1),0))
C14=IF(B14="","",VLOOKUP($A14,Sheet1!$A$14:$D$17, COLUMN(C$1),0))
C15=IF(B15="","",VLOOKUP($A15,Sheet1!$A$14:$D$17, COLUMN(C$1),0))
C16=IF(B16="","",VLOOKUP($A16,Sheet1!$A$14:$D$17, COLUMN(C$1),0))
C17=IF(B17="","",VLOOKUP($A17,Sheet1!$A$14:$D$17, COLUMN(C$1),0))
D2=IF(C2="","",VLOOKUP($A2,Sheet1!$A$2:$D$5, COLUMN(D$1),0))
D3=IF(C3="","",VLOOKUP($A3,Sheet1!$A$2:$D$5, COLUMN(D$1),0))
D4=IF(C4="","",VLOOKUP($A4,Sheet1!$A$2:$D$5, COLUMN(D$1),0))
D5=IF(C5="","",VLOOKUP($A5,Sheet1!$A$2:$D$5, COLUMN(D$1),0))
D8=IF(C8="","",VLOOKUP($A8,Sheet1!$A$8:$D$11, COLUMN(D$1),0))
D9=IF(C9="","",VLOOKUP($A9,Sheet1!$A$8:$D$11, COLUMN(D$1),0))
D10=IF(C10="","",VLOOKUP($A10,Sheet1!$A$8:$D$11, COLUMN(D$1),0))
D11=IF(C11="","",VLOOKUP($A11,Sheet1!$A$8:$D$11, COLUMN(D$1),0))
D14=IF(C14="","",VLOOKUP($A14,Sheet1!$A$14:$D$17, COLUMN(D$1),0))
D15=IF(C15="","",VLOOKUP($A15,Sheet1!$A$14:$D$17, COLUMN(D$1),0))
D16=IF(C16="","",VLOOKUP($A16,Sheet1!$A$14:$D$17, COLUMN(D$1),0))
D17=IF(C17="","",VLOOKUP($A17,Sheet1!$A$14:$D$17, COLUMN(D$1),0))
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,053
Members
449,206
Latest member
Healthydogs

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top