+ Reply to Thread
Results 1 to 3 of 3

numbering rows but skipping blank rows

  1. #1
    Registered User
    Join Date
    03-12-2013
    Location
    Caledon, Canada
    MS-Off Ver
    Excel 2003
    Posts
    20

    numbering rows but skipping blank rows

    Hi. I am using Excel 2003. I want to put invoice numbers beside names. The invoice numbers are in sequence, so that I could use the fill handle, except some rows are blank. How can I automatically fill the invoice column with a sequence of numbers but skip rows that do not contain data? Thanks.

  2. #2
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: numbering rows but skipping blank rows

    Enter the invoice number for the first four rows (assuming you are starting in A1). Then in A5:

    Please Login or Register  to view this content.
    This assumes your invoice number increases by one each time and only works for a few blanks in a row.
    Hope this helps until a better option comes along.
    Say thanks, click *

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: numbering rows but skipping blank rows

    Put this formula in A2, considering your data begins in B2, and drag down -
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1