Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Copying Formats to a New Worksheet.
Written by Allen Wyatt (last updated February 10, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365
While developing your worksheets, you may wonder if there is a way to copy all formats—including row and column dimensions—to a new worksheet. Fortunately, this is quite easy to do, and there are a couple ways to go about it.
The biggest point to remember is that column widths are attributes of columns, not of individual cells. Likewise, row height is an attribute of rows, not of cells. This means that if you want to copy the width of a column to another worksheet, you need to select the entire column before clicking on the Format Painter. Likewise, if you want to copy the height of a row, you need to first select the entire row whose format you want to copy.
To put these guidelines in perspective, try this:
At this point, the rows in the target worksheet should be formatted exactly the same as the rows you selected in the source worksheet. If you selected more rows in the target worksheet than you did in the source worksheet, then the formats of the rows are repeated in the target. These same steps could be applied to columns, as well.
If you want to format the entire target worksheet so it is formatted just like the source worksheet, simply select all columns and rows (press Ctrl+A or click on the gray junction block above row 1 and to the left of column A) in step 2.
Another way to copy the formatting of the entire worksheet is to make a copy of the worksheet itself. When the copy is created, you can simply delete any information you don't need.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9454) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Copying Formats to a New Worksheet.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
When getting ready to print your worksheet, you may want to take a moment to check what margins Excel will use on the ...
Discover MoreExcel does not provide a built-in way to change the background color used in a worksheet. You can, however, try a few ...
Discover MoreGot just a small amount of worksheet data to print out? It might look better on the printed page if you center it. Excel ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2019-05-29 13:45:10
Dennis Costello
I often will use Paste-Special-Column Widths (Alt-E-S-W) to copy the width of a single column or group of columns onto a group of other columns.
When copying over other format characteristics, you can select the entire row by clicking on the row number decoration on the left and then as Allen indicated click on the format painter. To apply that, you can either click on the target row's number, or in cell A of the target row(s). Similarly, click on the column name(s) - A, B, C, etc. - in the decoration across the top, then the format painter, and to apply it click either on the target column(s) names or in row 1 of the target columns. Clicking outside of column A when you've captured the format of an entire row, or of row 1 when you've captured a column, will cause Excel to complain "You can't paste here because the Copy are and paste area aren't the same size." Considering that the alternative would be that Excel would likely be pasting the formatting into the wrong places, I like this behavior, even though I absentmindedly trip over it often.
2019-03-18 11:00:27
Roy
Well dip me in official MS mendacity and call me Mr. Brown. That's gonna be useful.
Wonder how I never noticed it. Probably "something, something, senility...": Thank you!
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments