21

I have an excel table and all rows are formatted the same. When I add a new row, the formatting does not match the rows above - so every time I add a row I have to select the above row and copy/paste special>format to get it to look right.

My question is twofold.
1) How can I get it to format correctly when adding a new row?
2) Where do tables pull their formatting from, as I'm not understanding why it formats so odd.

*I can take a video and upload it to youtube if you need to see the behavior I am talking about.
**This is happening in multiple workbooks, so not isolated to a single workbook or single table.

10 Answers 10

13

I had the same problem for one column, it used to set forecolor of one column to red for each new row I added to the table.

To resolve this click on the header of a column then right click and choose "Format Cells" option and set the desired format. After this new row will use this format for selected column. You can specify the format for other / all columns like this.

2
  • 1
    Format cells did it; formats are inheriting correctly now - nice simple solution. Thanks.
    – CBRF23
    Commented Feb 10, 2016 at 13:05
  • 1
    This solution did not work for me when pasting unformatted data into a table. Oddly, some of my tables pass formatting (espec. cell type) to new cells in a column as expected using the same paste method. It isn't clear why these tables behave differently. Do we have any information about how Excel determines the formatting for a table column? Commented Apr 6, 2017 at 14:36
9

This happened to me as well using the TAB key to insert a new table row. What I found is that Excel is using the format of the row when the table was created not it's current state. So to address this, I converted the table to a range, ensured the formatting was how I wanted it, then converted it back to a table.

2
  • I didn't want to lose custom formatting so I built on your solution by (1) converting to range, (2) adding a new row at the top, formatted correctly, (3) created a table using only headers and that top row, (4) copied all format from my table to a blank space, (5) expanded the table to the whole range, (6) copied the custom formats back in. If you use a striped table, the formats will be included so change the table style to an empty table first.
    – claytond
    Commented Oct 22, 2021 at 18:21
  • Legend! Was egtting so annoyed by this and wa sonly on my 5th of 40+ rows of data inputting!.. Thank you Commented Aug 2, 2022 at 10:12
4

It sounds like the range to which you are adding rows to is not actually formatted as a table.

Option 1: Highlight the cells that you want to format and select "Format as Table" on the Home tab. Once you do that, any new rows and columns will be formatted consistently.

Option 2: After you insert a new row, you should see a little formatting icon pop up next to the new row. Click that drop-down menu to see options for "Format Same as Above/Below" as shown in the screenshot.

enter image description here

11
  • @P Fitz - I'd already done this, and just did it again. No change - still does not inherit the formatting of the rest of the table. I also do not get any popup giving me the "format same as above/below" option.
    – CBRF23
    Commented Mar 4, 2015 at 21:29
  • What version of Excel?
    – PFitz
    Commented Mar 4, 2015 at 21:30
  • @CBRF23 Are you getting the rest of the table behavior as expected? (Pull down menu in each column header, etc.)
    – Adam
    Commented Mar 5, 2015 at 16:56
  • @PFitz I'm on Excel Home and Business 2010
    – CBRF23
    Commented Mar 5, 2015 at 19:31
  • @Adam Everything else in the table works as expected - pull downs, calculated columns, etc. - just not getting the right formatting.
    – CBRF23
    Commented Mar 5, 2015 at 19:31
3

To solve this problem, follow the steps:

  1. Click the table which you want to be main format table.
  2. click design.
  3. Go to "Properties"
  4. Click "Resize table"
  5. In the range, enter the entire range from start of the table to the cell you want to be included in the format of the table.
  6. Click OK
  7. VOILA....its magically done.
0

I had the same issue and this is what I found.

The issue happens only when inserting new rows moving to the end of the last row and pressing TAB.

If I add the new row using the menu option "Insert -> Table Row Below" the format is inherited properly to the new row.

Looks like a bug in Excel when adding rows using TAB.

Hope it helps.

1
  • I get the same behavior using TAB at the end of the row or RMB>Insert Row Below.
    – CBRF23
    Commented Mar 19, 2015 at 20:29
0

I was just having trouble with this as well, and the above answers really did not work for me. But I believe I found out what to do. It is close to the current best answer but a little more nuanced.

Hover your cursor over the table header in the column where the format refuses to auto-fill. Once it turns into a down arrow left click, and the entire column will be selected. Then right click, select format cells and change the formats. Now try adding a new row to the table and the formats should Auto-fill.

2
  • 2
    This doesn't really answer the question. He asked about adding new rows, not columns, and getting the sheet to automatically format correctly. He knows how to manually format the row.
    – Josh
    Commented Oct 12, 2017 at 16:14
  • This does not add new columns, it formats the cells in the table column so that when you do add a new row that new row has the same formatting as the prior rows. If you have multiple columns you will have to do this action for each column where the formatting is not auto-filling correctly. Commented Oct 12, 2017 at 17:02
0

I had this same problem, but for mine- it's because I had created a table on top of existing formatted cells. (I like a dark BG, not a white BG). The solution I found was:

  1. highlight my table (the whole thing)
  2. right click
  3. format cells
  4. set the desired format (in my case, "No Fill" BG)

and then new rows take on the new format thereafter. :)

1
  • Welcome and thank you for your answer, but to me this looks like a duplicate of the accepted answer. Or do you disagree?
    – Edward
    Commented Mar 27, 2018 at 7:40
0

A special case occurs if you're inserting before the first row. Once inserted, you have the option to pick "Same as Above", "Same as Below" or "Same as Column" (which is typically selected by default). To make sure the "Same as Column" acts as expected, you need to make sure to apply the formatting to the column header also, so that it is applicable.

0

it worked for me thanks to Aarons answer.

I had a table with date columns, time columns, number columns and text columns. To keep the correct format on each column when adding a new row, I did the following:

  1. Copy the entire table
  2. Paste only the formulas a few rows below the existing table
  3. Delete the rows of the initial table, so you are left with only the dataset not as a table.
  4. Make sure to format every column like you want it.
  5. Create table

The new table remembers the formatting it had when created.

0

I have had this issue before. This seems to be an issue caused by having a Totals row, but that's only a guess. This will still clear the problem of formatting.

  1. Select the entire table, except the headers, but including the Totals row.
  2. On the Home tab, click the small dropdown arrow next to the Clear button on the Editing submenu, then choose Clear Formats from the list.
  3. With the formats cleared, select the last cell not in the Totals row and press Tab to create a new row. It should be in the General format.
  4. Select the column to be formatting, excluding header, but including cell from Totals row.
  5. Format as desired by pressing Ctrl + 1 or using Format Cells from context menu.
  6. Add new row again. It should be in your desired format.
  7. Change the Total cell in that row to its desired format.
  8. Final test, add another new row. It should still be in the correct format from step #6, while the Total cell is in its correct format as well.

Table Formatting

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .