Hi:
I have a spreadsheet with a LONG column with values that look like this:
119.49
119.49
119.43(a)
119.43(a)
119.43(a)
119.43(a)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)(1)
119.43(b)(1)
119.43(b)(1)
That I basically need to sort like this:
119.43
119.43(a)
119.43(a)
119.43(a)
119.43(a)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)
119.43(b)(1)
119.43(b)(1)
119.43(b)(1)
119.43(b)(1)
119.43(b)(1)
119.43(b)(1)
119.47
119.47
119.47
I've tried doing this with Text-to-columns, concatenating values and then re-merging, etc. But I can't get it to work. Essentially the hierarchy should go like this:
Decimated number, no parenthetical value first: 123.45
Followed by: 123.45(a)
Followed by: 123.45(a)(1)
Followed by: 123.45(a)(2)
Followed by: 123.46
Followed by: 123.45(a)
Followed by: 123.45(a)(1)
Followed by: 123.45(b)
And so on. This is proving to be a lot harder than I anticipated. Any help would be greatly appreciated.
Thanks,
-P
Bookmarks