tx7399
02-23-2013, 02:14 PM
9589
Hi everyone,
I need to align data based on the values in three different columns.
Change this:
A B C D E F G
1 1 a 1 a 2 i
2 2 a 2 i 4 a
3 4 a 4 a 6 a
4 5 i
5
6
To this;
A B C D E F G
1 1 a 1 a
2 2 a 2 i 2 i
3
4 4 a 4 a 4 a
5 5 i
6 6 a
Note: B&C, D&E, and F&G move together
Cols B, D, and E are sorted ascending
Col A is just a series 1 - 25,000
I have attached test data with a macro that works- but is too slow!
Any suggestions are appreciated.
Hi everyone,
I need to align data based on the values in three different columns.
Change this:
A B C D E F G
1 1 a 1 a 2 i
2 2 a 2 i 4 a
3 4 a 4 a 6 a
4 5 i
5
6
To this;
A B C D E F G
1 1 a 1 a
2 2 a 2 i 2 i
3
4 4 a 4 a 4 a
5 5 i
6 6 a
Note: B&C, D&E, and F&G move together
Cols B, D, and E are sorted ascending
Col A is just a series 1 - 25,000
I have attached test data with a macro that works- but is too slow!
Any suggestions are appreciated.