View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
pikapika13
 
Posts: n/a
Default Converting list into ranges


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.


--
pikapika13
------------------------------------------------------------------------
pikapika13's Profile: http://www.excelforum.com/member.php...o&userid=10892
View this thread: http://www.excelforum.com/showthread...hreadid=512372