Change the order of my name list

selant

Board Regular
Joined
Mar 26, 2009
Messages
109
I have a list of names and they are in the following format :

Code:
A1     B1     C1
A2     B2     C2
A3     B3     C3
A4     B4     C4
A5     B5     C5

How can i list them in the following order ?

Code:
A1
B1
C1
A2
B2
C2
A3
B3
C3

P.S : This is quite a long list containing about 5000 names in total.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Basic formula is like:
=INDEX(Sheet2!$A$1:$C$12,INT((ROW()-1)/3)+1,MOD((ROW()-1),3)+1)
adjust the table range and change the 3s to 2980.

shall i write the formula in a new sheet (For example, into A1) and pull down the formula to the A536400 ?
 
Upvote 0
Yes, start in A1 and copy down.
 
Upvote 0
The following formula didnt work as desired, i dont know where i made the mistake :

Code:
=INDEX($F$1:$GC$2976;INT((ROW()-1)/2976)+1;MOD((ROW()-1);2976)+1)

It prints all the columns in a row but doesnt jump to the second row to operate..
 
Upvote 0
What happens in row 2977?
 
Upvote 0
Ah, I think you have your rows and columns reversed in your question! Replace the 2976 with 180.
 
Upvote 0
My range is F2:GC2976

Code:
=INDEX($F$2:$GC$2976;INT((ROW()-1)/180)+1;MOD((ROW()-1);180)+1)

This code seems to be working somehow, it starts listing from AP18..

Code:
AP18
AQ18
..
..
 
Upvote 0
Where does the output start? (i.e. where did you enter the formula?)
 
Upvote 0

Forum statistics

Threads
1,215,445
Messages
6,124,894
Members
449,194
Latest member
JayEggleton

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