View Single Post
  #1  
Old 06-22-2009, 05:26 PM
comicbook comicbook is offline
Registered User
 
Join Date: 22 Jun 2009
Location: London, England
MS Office Version:Excel 2007
Posts: 4
comicbook is becoming part of the community
Culling consecutive numbers into ranges

I have a spreadsheet that has a column of numbers some of which are consecutive, some of which are not. I would like to have a way to lump all of these chunks of consecutive blocks into ranges. For example:

2759
2760
2761
2762
2764
2765
2766
2768
2769
2773

would return something like:

2759 - 2762
2764 - 2766
2768 - 2769
2773

Any ideas?

Help would be much appreciated.

Last edited by comicbook; 06-24-2009 at 02:14 AM.
Reply With Quote