Say I have a a spreadsheet with the following data:
A B C D
---------------------
2 1 0 2
3 2 1 4
5 3 3 6
7 5 6 8
11 8 10 10
13 13 15 12
17 21 21 14
19 34 28 16
23 55 36 18
29 89 45 20
I want to sort the columns so that each row only contains a single value like this:
A B C D
---------------------
0
1 1
2 2 2
3 3 3
4
5 5
6 6
7
8 8
10 10
11
12
13 13
14
15
16
17
18
19
20
21 21
23
28
29
34
36
45
55
89
Is there a quick way to do this in Excel?
built in
as far as I know. This looks as a Macro task to me. Pseudo code: Pick out all contents of a row, start repeat: select the lowest number from what was picked and reinsert it, move cursor down one row, if there is numbers remaining do insert an empty row, go back to 'repeat start' else end