Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Skipping Rows when Filling.

Skipping Rows when Filling

by Allen Wyatt
(last updated October 11, 2017)

9

Bill noted that he can use the fill handle to fill a range of cells with values, such as 1, 2, 3, 4, etc. What he wants to do, however, is to drag the fill handle and have Excel fill every other row with a value, leaving every other row blank, such as 1, blank, 2, blank, 3, blank, 4, etc. He can't seem to make it work, however.

There are a couple of ways that you can do this, all using the fill handle. The important thing to remember is that you need to (1) establish a pattern and (2) select the cells that represent the pattern before you begin dragging the fill handle.

For instance, if you want to fill a range with incrementing numbers, you could fill cell A1 with 1 and cell A2 with 2, select both cells, and then drag. The two cells establish a pattern, you selected the cells, and then Excel was able to determine what you wanted to do.

What if you fill cell A1 with 1, leave cell A2 blank, put 2 in cell A3, and then select all three cells before dragging the fill handle? You won't get what you may expect because the three cells don't establish the pattern you want. Instead, you need to leave cell A4 blank and then select the range A1:A4 before dragging. This establishes the pattern you want: number, blank, number, blank. Excel will then give you the type of fill you want.

Interestingly enough, Excel has a quirk that you can exploit when doing your filling. If you put a 1 into cell A1, select that cell, and drag downward, Excel assumes that you want to fill each cell with the number 1. However, if you put 1 into cell A1, leave cell A2 blank, select the two cells, and then drag downward, Excel assumes you want to increment the value and leave every other cell blank. So, you end up with 1, blank, 2, blank, 3, blank, etc. And therein lies the quirk: Excel assumes no increment in one fill yet assumes an increment in the other.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (5405) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Skipping Rows when Filling.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Detailed Measurements

Want to know exactly how far something on the ruler is from the left and right margins of your document? It's easy to figure ...

Discover More

Leading Spaces in Document File Names

If you try to add spaces to the beginning of a document's file name, Word normally strips them away. This tip examines two ...

Discover More

Changing the Theme of a Presentation

Themes allow you to apply a consistent look to all the slides in your presentation. Fortunately, Presentation allows you to ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (menu)

Fast AutoFill

Want to fill a long column with predictive data? It's easy to do by using AutoFill and a double-click of the mouse.

Discover More

AutoFilling with Weekdays

Need to fill a range of cells with the days of the week? Excel makes it easy to do so using AutoFill.

Discover More

AutoFill Won't Work as Expected

AutoFill is a great tool for filling cells with data. What do you do when it doesn't work like you expect, however? Here's ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 + 0?

2017-05-02 23:01:47

Heilso

Thank you so much I used the method and numbered every 3rd row as well (A1=1, A2= Blank, A3= Blank, A4=2) had been looking all over trying different formulas as well, had no idea there was such a simple method to it. Thank you ounce again.


2016-12-01 11:50:35

Adam

I want to be able to skip certain cells while numbering using the fill tool, with no pattern to it. Something that would also work might be filtering my spreadsheet to only view what I want to number but the fill tool ends up only repeating the selected numbers and not continuing the numbering. Is there a way to format certain cells to skip the filling numbers? or Any suggestions?


2016-08-01 08:18:46

Kailash Prajapati

if cell A1 to A4 is any value then A5 is automaticly fill 1

how it possible


2015-09-16 04:16:21

favas

I need to list the rows like 1.1,1.2,1.3 in column A when the column b in the same row is not blank and continue 2.1,3.1,4.1 when the column B in the same row is a blank


2015-07-27 23:11:47

david

This works great if you work only on one sheet. I tried populating every other row on sheet one with every row on sheet 2. I put ='sheet2'!A2 in A1, nothing in A2, 'sheet2'!A3 in A3, and nothing in A4. when I try to auto fill down selecting cells A1:A4, cell A5 shows 'sheet2'!A6. How do I fix this?


2014-11-22 04:49:50

Braham

Thank you for you valuable tips! I have a challenge: I want to fill certain rows with numbers and skip some shaded rows - there is no pattern in this sequence.
I would appreciate a solution.

Thanks

Braham


2014-09-20 02:05:12

Sherin

Thanx


2014-09-09 02:22:53

Mehdi Zaidi

Tips provided by you is valuable.....thanks


2013-01-30 05:49:56

Mani

Hi Blogger ,

I Want to Know that there is any Formula is There for Adding Auto Number after two blank Rows .
For Best Understanding i have given a link of image ..

Image Preview :- http://s2.postimage.org/k509mbfhl/sshot_1.png

As you have noted the numbers are on the url cells after two blank cells ..like that i want the forumal to enter it auto..Thank You in Advance ..


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.