Excel detect a break in a seqence of numbers :: MrExcel Message Board


 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

detect a break in a seqence of numbers
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

mewheel
Welcome to the Board


Joined: 02 Dec 2002
Posts: 4


Status: Offline

 Reply with quote  

I have a column of numbers. How to I have Excel detect a break in the sequence and insert a line in the cell below the break, then continue on in the same column?
Ex
23
24
26

Post Tue Dec 03, 2002 1:05 am 
 View user's profile Send private message

Juan Pablo González
MrExcel MVP


Joined: 09 Feb 2002
Posts: 8476
Location: Marion, IL
Flag: Colombia

Status: Offline

 Reply with quote  

Welcome to the board.

You could use another column, next to it, with a formula such as

=A3=A2+1

in B3. And drag it down. Now, you can Autofilter for False and there will be your breaks.

Post Tue Dec 03, 2002 1:10 am 
 View user's profile Send private message Visit poster's website
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.