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 July 28, 2012)

8

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

Managing the AutoCorrect List

If you need to delete all the entries in your AutoCorrect list, the easiest way to do so is with a macro. This tip describes ...

Discover More

Unlinking an Excel Chart Automatically

When Excel charts are linked in a Word document, they update every time the document is opened. Here's how to unlink the ...

Discover More

Averaging Values for a Given Month and Year

Excel is often used to analyze data collected over time. In doing the analysis, you may want to only look at data collected ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

MORE EXCELTIPS (MENU)

Quick AutoFill Variations

The AutoFill feature can be used for more than just incrementing information into cells. This tip explains how to access the ...

Discover More

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

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 for this tip:

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. 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 9 + 8?

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 ..


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.

Links and Sharing
Share