Hi, Have a look at the attached. I've started with just '1' in the first cell, then a formula after that, copied down to about row 30. Copy it down as far as you need. The appropriate sequential number will appear when you enter data into Col B cells. It is also self-correcting if you delete data from Col B. Regards - Dave > Date: Thu, 6 Jan 2011 15:01:19 -0800 > Subject: $$Excel-Macros$$ Number sequentially, skipping blank cells > From: scoobysnac...@gmail.com > To: excel-macros@googlegroups.com > > Does anyone have a formula or vbs to accomplish the sequential > numbering as listed here? The rows with no information would get a > nill and the next cell would not break the number sequence. > > 1 5t67 > 2 g786 > 3 1234r > > 4 ty765 > 5 24567u > > 6 78ytr89 > 7 56ytre > 8 re45789 > 9 2ewqs78 > 10 45iyunhg > > -- > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/pages/discussexcelcom/160307843985936?v=wall&ref=ts
-- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/pages/discussexcelcom/160307843985936?v=wall&ref=ts
sequential.xls
Description: MS-Excel spreadsheet