Hi Everyone,
The other day this question came across my desk, and even though I was able to create a plausible solution I can't help but to think there might be a better (more efficient) way, so I figured asking the collective might help. Here is the situation.
Imagine a column that lists a bunch of dimensions (think measurements).
For example:
2 X 4
12 x 9
11 X 7
3 x 4
1 x 2
2 X 1
2 X 2
10 x 2
4 x 4
5 X 3 (etc)
When you go to sort the column excel lists the 1's first, then 2's, 3's as you are aware. The challenge is to sort the values in sequential order (1,2,3,4, 5, an so on).
One easy solution would be to create a helper column(s) and use the text to column feature. The other would be to create a formula the blends the VALUE, LEN and FIND functions that returns just the first number into a helper column, from which you can sort the new helper column.
That said, something in the back of my mind thinks there is an easier way. Oh and before I forger, although a custom list was a thought the total amount of dimensions in the column is over 100, so typing the list order might be a pain.
Love to hear your thoughts.
-Dave
The other day this question came across my desk, and even though I was able to create a plausible solution I can't help but to think there might be a better (more efficient) way, so I figured asking the collective might help. Here is the situation.
Imagine a column that lists a bunch of dimensions (think measurements).
For example:
2 X 4
12 x 9
11 X 7
3 x 4
1 x 2
2 X 1
2 X 2
10 x 2
4 x 4
5 X 3 (etc)
When you go to sort the column excel lists the 1's first, then 2's, 3's as you are aware. The challenge is to sort the values in sequential order (1,2,3,4, 5, an so on).
One easy solution would be to create a helper column(s) and use the text to column feature. The other would be to create a formula the blends the VALUE, LEN and FIND functions that returns just the first number into a helper column, from which you can sort the new helper column.
That said, something in the back of my mind thinks there is an easier way. Oh and before I forger, although a custom list was a thought the total amount of dimensions in the column is over 100, so typing the list order might be a pain.
Love to hear your thoughts.
-Dave