Converting list into ranges

P

pikapika13

Any help is appreciated. Thanks in advance.
Is there a way (preferably w/o macros or VBS, but will take it anyway)
to convert the following list:
1
2
3
4
5
7
9
10
11
13
INTO: 1-5,7,9-11,13? In other words, seperated by dashes (where
appropriate) and comma delimited when its not in sequential order.
 
Top