To insert a row in Excel and keep the surrounding formatting, select the row number where the new row should go, right-click it, and choose Insert; Excel adds a row above and usually carries formatting from the row above. If the result is not the style you want, use the Insert Options button beside the new row to choose formatting from above, from below, or no formatting.
Insert a row and retain nearby formatting
In Excel for Microsoft 365 on Windows, a full-row insertion is the dependable starting point for adding a formatted row to a worksheet. Click the numbered row header at the left edge of the sheet to select the entire row. Right-click the selected header and choose Insert. Excel places a blank row above the selected row, shifting existing rows downward.
You can also use the ribbon: select a row, then choose Home > Insert > Insert Sheet Rows. If you select several row headers first, Excel inserts the same number of rows above the selection. For example, selecting rows 8 and 9 before inserting creates two new rows above row 8.
- Click the row number where the new row should appear above.
- Right-click the row number and choose Insert, or use Home > Insert > Insert Sheet Rows.
- Check the new row’s borders, fills, number formats, and alignment.
- If needed, click the Insert Options button that appears near the inserted row and choose the formatting source you want.
When inserting above the first worksheet row, there is no row above to copy from, so Excel may use formatting from the row below. The Insert Options control is useful in either case: it lets you correct the choice without deleting the row and trying again.
Choose the right Insert Options setting
After a row is inserted, Excel may show a small Insert Options button near it. The available formatting choices can vary with the surrounding rows and the kind of content in the sheet, but common choices include using the format from the row above, using the format from the row below, or clearing the inserted row’s formatting. Click the button and select the option that matches your layout.
For instance, imagine a list with a dark blue header, ordinary white detail rows, and a gray totals row. To add another detail line immediately above the totals, insert above the totals row. If Excel takes its format from the totals row, the new line may appear gray or bold. Use the option to match the row above instead, so the new line looks like a detail row.
“Same formatting” is not always the same as “copy everything.” The Insert Options control concerns how the inserted cells are formatted; it does not mean that Excel will duplicate the neighboring row’s text or values. Keep the distinction in mind when adding a row to a template or data-entry sheet.
Use a keyboard shortcut
On Windows, select a row by clicking its row number, then press Ctrl+Shift+Plus (the plus sign is usually entered with Shift and the equals key). Excel inserts a row above the selected row. Another way to select the current row is to click a cell in it and press Shift+Space; then use the insertion shortcut. Keyboard layouts can differ, so the ribbon command is a useful fallback if the shortcut does not behave as expected.
Excel for Mac has different keyboard conventions, and the exact key combination can depend on the keyboard and Excel version. Select the row header and use Home > Insert > Rows, or use the Mac menu or context menu’s insert command if the ribbon labels differ. The important detail is to select the full row before inserting; otherwise, Excel may open an Insert dialog asking whether to shift cells down or shift cells right.
If the dialog appears, choose Entire row when that is your intention. Selecting only a cell and inserting shifted cells can leave the worksheet uneven, because the new cells may not span the full width of the data.
Insert rows inside an Excel table
If your data is formatted as an Excel table, add a table row rather than treating it like an ordinary worksheet range. Click a cell in the table row that should move down, right-click, and choose Insert > Table Rows Above. Excel adds a row within the table, and the table style normally applies its banded rows, borders, and other table formatting automatically.
Tables also have useful behavior beyond appearance. Formulas in calculated columns can fill into a new table row, and structured references generally adjust as the table grows. A table can expand when you type directly in the row immediately below it, but that is not the best choice if you need a new row in the middle of existing records. Insert the table row at the intended position instead.
Table formatting is controlled in part by the table’s style and options, such as banded rows and header or total rows. If a new row looks different from its neighbors, check that it was inserted inside the table rather than just below or beside it. You can click the new row and look for the Table Design tab; its presence indicates that the selection is part of a table.
What formatting does—and does not—include
Cell formatting includes visible and display-related properties such as font, fill color, borders, alignment, and number format. A date cell formatted as a date, for example, may display a serial value in a readable date style. A currency format changes how a number appears, not the underlying value. Matching the neighboring row’s format can therefore make new data easier to read without copying the data itself.
Formatting is only one part of a worksheet’s behavior. A row can also contain formulas, data validation rules, comments, hyperlinks, conditional formatting, and other content. Inserting a row may affect some of these according to the sheet layout and the way the row is inserted, but do not assume that choosing a formatting option copies every rule or formula you need. Inspect the new row before relying on it.
- Formulas: Excel may adjust references in formulas elsewhere when rows are inserted. It may also extend a formula pattern in some layouts, but verify that the new row contains the intended calculation.
- Number formats: A copied format can make a number display as a date, percentage, or currency. Confirm that the format suits the new data.
- Data validation: If users need a drop-down list or an entry restriction, check that the new cells have the required validation rule.
- Conditional formatting: Rules may apply through a defined range rather than through the cell’s ordinary fill. Check the result, especially near the boundary of a rule’s Applies to range.
Pick the best formatting source
Use the row above when the new row should continue the same kind of record as the rows above it. Use the row below when you are inserting above an existing row whose appearance is the pattern you want. Clear Formatting is helpful when the surrounding rows have special styles—such as a subtotal or warning highlight—but you want a plain row before applying a deliberate format.
Think about the purpose of each neighboring row, not just its color. A subtotal row may have a top border, bold type, and a different number format. Copying that appearance into a normal record can make the worksheet misleading. Conversely, inserting a total line among ordinary detail rows may require a special format rather than the default copied style.
For a more controlled result, insert the row first and then use the Format Painter or copy only the formats from a suitable example row. Format Painter is on the Home tab. It applies formatting, but it is not a substitute for checking formulas, validation, or other row-specific features. Avoid copying and pasting an entire row if you only want its appearance, since a normal paste can bring values and formulas along with formatting.
Common problems and practical fixes
The new row has the wrong color or border. Use Insert Options and select the other neighboring row’s format, or clear the formatting and apply the intended style. Check whether a table style or conditional formatting rule is responsible for the appearance; changing a cell’s fill may not override a conditional formatting result.
Excel inserted cells instead of a whole row. This usually happens when you selected cells rather than the row header. Undo immediately if appropriate, select the numbered row header, and insert again. If using the dialog, choose Entire row rather than shifting cells in one direction.
The new row looks right but calculations are missing. Formatting does not create a formula. Enter or fill the appropriate formula and verify its references. In a table, check whether the formula belongs to a calculated column and whether the new row is genuinely within the table.
A merged cell causes an insertion warning or an awkward layout. Merged cells can complicate inserting cells and rows because the merged area may not align with the inserted range. If Excel warns about merged cells, review the affected area and consider unmerging cells before changing the sheet structure. Center Across Selection is an alternative for some heading layouts, but it is not identical to merging.
The shortcut does something unexpected. Confirm that the row header is selected and use the ribbon command as a check. If a dialog appears, choose the whole-row option. On a laptop or a non-US keyboard, the plus key may require a different key combination.
When to use a different method
For a one-off row, the row-header Insert command is usually simplest. For repeated additions in a table, use Table Rows Above so the record remains part of the table and its style and calculated columns can carry forward. For a row that must match an unusual template exactly, insert first, then use Format Painter or copy and paste special formats from a carefully chosen example.
If you need many blank rows, select the same number of row headers as the number of rows you want to add, then insert once. For example, selecting four row numbers inserts four rows above the first selected row. This is quicker and more consistent than repeating a single-row insertion, though you should still check the formatting of the new block.
For recurring data entry, consider converting a plain range into a table with Insert > Table, provided the data has a clear header row and fits the table structure. A table can make formatting and expansion more predictable, but it may change how filtering, formulas, and references work. It is not necessary merely to insert one formatted row, so use it when the table features are useful for the workbook.
Frequently Asked Questions
Does Excel copy formatting from the row above when I insert a row?
Usually, Excel takes formatting from a nearby row, commonly the row above. If the inserted row does not match your intended pattern, use the Insert Options button to choose formatting from above or below, or clear the formatting.
How do I insert a row without copying the formatting?
Insert the row, click the Insert Options button, and choose Clear Formatting if that option is available. You can also remove unwanted formatting afterward from Home > Clear > Clear Formats, taking care not to choose Clear All if you want to keep other cell content.
Will inserting a row copy formulas too?
Not necessarily. Row insertion and formatting choices do not guarantee that every formula is copied into the new row. Check the formula cells after inserting; in an Excel table, calculated columns are more likely to extend their formulas automatically.
How do I insert a formatted row in an Excel table?
Right-click a cell in the table row that should move down and choose Insert > Table Rows Above. This adds a row inside the table, where the table style and table features can apply.
Can I insert several rows with the same formatting at once?
Yes. Select the same number of row headers as the number of rows you need, then use Insert. Excel adds that many rows above the first selected row. Check the Insert Options setting and the resulting formats before entering important data.
Related
- Excel Data Validation: Change Cell Colors Automatically
- Excel Data Validation Character Limits and Messages
- Excel Data Validation: Create a Filtered Dropdown List
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Google Sheets SPLIT Formula: Separate Text into ColumnsIn Google Sheets, use the SPLIT function to divide text at a chosen separator and place the pieces…
- Outlook Block Sender Still Going to Junk Mail?Yes. In Outlook, blocking a sender normally sends that sender’s messages to the Junk Email folder; it does…
- How to Remove Wrap Text in Google SheetsTo remove wrap text in Google Sheets, select the cells, then choose Format > Wrapping > Overflow. This…
- How to Delete a Page in Word After a Table on WindowsTo remove a blank page after a table in Word, show formatting marks with Ctrl+Shift+8, then remove any…
- How to Make a Booklet in Word 365 and Print It CorrectlyTo make a booklet in Word 365, open Layout > Margins > Custom Margins, choose Book fold from…
- Box Plot Template in Excel: Build One Step by StepA box plot template in Excel is easiest to make with the built-in Box and Whisker chart: arrange…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.