User Agents

Web browsers and everyday web tech, explained

How to Autofill Every Other Cell in Excel

· 5 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Autofilling every other cell in Excel lets you quickly copy a formula, value, or formatting down a column while skipping a row each time — useful for creating alternating patterns, separating data, or applying formulas to non-adjacent rows. You don't need any special tools; just a basic understanding of fill handles and the MOD function.

What You'll Need

  • Microsoft Excel (2010 or later; steps are similar across versions)
  • A worksheet with data or a blank area where you want the pattern
  • Basic familiarity with entering formulas

Step-by-Step

  1. Identify the pattern you want. Decide whether you want to fill every other row with a value, formula, or formatting. For example, you might want column B to show values from column A, but only for rows 1, 3, 5, etc.
  2. Enter the first value or formula manually. In the first cell of your target column (e.g., B1), type the value or formula you want. For instance, if you want to copy A1, enter =A1.
  3. Enter the second value or formula in the next row down, but two rows below the first. In cell B3 (skipping B2), enter the next value or formula, e.g., =A3. This establishes the pattern: every other row.
  4. Select both cells. Click on B1, hold the mouse button, and drag down to B3. Now both cells are highlighted.
  5. Use the fill handle. Move your cursor to the bottom-right corner of the selection until it turns into a small black cross (the fill handle). Click and drag down as far as you need. Excel will continue the pattern, filling B5, B7, B9, etc., with the corresponding formulas or values.
  6. Release the mouse. The cells will be populated. If you used formulas, they will adjust relative to each row.

Alternatively, for a more automated approach that works even when you need to fill a large range, use the MOD function:

  1. In the first cell of your target column, enter a formula that checks the row number. For example, in B1, enter =IF(MOD(ROW(),2)=1, A1, ""). This returns the value from A1 if the row is odd, and leaves a blank if even.
  2. Drag the fill handle down from B1. This will fill every cell, but only odd rows will show the value; even rows will appear blank. You can then filter or copy the visible cells if needed.

Common Mistakes

  • Selecting only one cell before dragging. If you select just B1 and drag, Excel fills every row, not every other. You must select two cells (B1 and B3) to establish the pattern.
  • Starting with an even row. If your pattern starts at row 2, you need to adjust the formula or selection accordingly. For example, use =IF(MOD(ROW(),2)=0, A2, "") for even rows.
  • Dragging horizontally. The fill handle works both ways, but if you drag across columns instead of down, you'll fill every other column, not row. Make sure you drag vertically.
  • Forgetting to lock cell references. If your formula uses a fixed cell (like $A$1), dragging will keep it constant, which may not be what you want. Use relative references unless you specifically need a constant.

Tips

  • Use the Ctrl key to copy instead of fill. If you want to copy the exact same value (not a pattern), hold Ctrl while dragging the fill handle. But for every-other-cell, you still need the two-cell selection.
  • Apply to formatting only. If you want to shade every other row, select the range, go to Home > Conditional Formatting > New Rule, use the formula =MOD(ROW(),2)=0, and set a fill color. This is easier than manual filling.
  • Combine with filtering. After using the MOD formula, you can filter out blanks (select the column, go to Data > Filter, uncheck "Blanks") to see only the filled cells.
  • Use named ranges or tables. If your data is in an Excel Table, you can use structured references like [@Column1] in formulas, but the MOD approach still works.

Troubleshooting

Problem: The fill handle doesn't appear. Go to File > Options > Advanced, and under Editing Options, make sure "Enable fill handle and cell drag-and-drop" is checked.

Problem: The pattern is not repeating correctly. Double-check that you selected exactly two cells before dragging. If you selected B1 and B2, you'll fill every row. If you selected B1 and B4, you'll fill every third row.

Problem: The MOD formula returns #VALUE! or shows an error. Ensure you're using the correct syntax: =IF(MOD(ROW(),2)=1, A1, ""). Also, make sure the cell references are correct for your data column.

Problem: The fill handle overrides existing data. If you drag over cells that already have content, Excel may overwrite them. To avoid this, select only empty cells or use the "Fill Without Formatting" option from the right-click menu after dragging.

Frequently Asked Questions

Can I autofill every other cell with a series like 1, 3, 5?

Yes. Enter 1 in the first cell, 3 in the cell two rows below, select both, and drag. Excel will continue the series (5, 7, 9, etc.).

How do I autofill every other column instead of row?

Use the same logic but horizontally. Select two cells side by side (e.g., A1 and C1), then drag the fill handle to the right. Or use =IF(MOD(COLUMN(),2)=1, A1, "") for odd columns.

Will this work in Google Sheets?

Yes, the same fill handle and MOD function work in Google Sheets. The steps are nearly identical.

How do I autofill every other cell with a formula that references a different sheet?

Simply enter the formula with the sheet reference, e.g., =Sheet2!A1, in the first cell, and =Sheet2!A3 in the second. Then select both and drag.

Can I autofill every other cell with a date pattern?

Yes. Enter two dates that are two days apart (e.g., Jan 1 and Jan 3), select both, and drag. Excel will fill every other day.

What if I want to fill every third or fourth cell?

Select the number of cells that matches the interval. For every third, enter values in cells 1 and 4, select both, and drag. For every fourth, use cells 1 and 5.