Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to only copy formatting from a range to another in Excel?

When you only want to copy the cell formatting from a range, how can you get it done quickly? This tutorial introduces quick cuts for you to easily copy formatting only.

Copy formatting only with Format Painter in Excel

Copy formatting only with VBA

Copy formatting only with Kutools for Excel good idea3

Excel Productivity Tools

Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial

Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial

Copy formatting only with Format Painter in Excel

In Excel, you can copy cells' formatting only with the Format Painter tool.

1. Select a range which contains the cells' format you want to copy. See screenshot:

2. Applying Format Painter by clicking it under the Home tab, see screenshot:

3. Select a blank cell and click it, only the cells' formatting is pasted. See screenshot:

Note: Format Painter also can copy formatting only to another worksheet.

Copy formatting only with VBA

The following macros also can help you to copy cells' formatting only.

1. Hold ALT button and press F11 on the keyboard to open a Microsoft Visual Basic for Application window.

2. Click Insert > Module, and copy the VBA into the module.

VBA: Copy cell formatting only:

Sub CopyFormat()
'Update 20130815
Dim CopyRng As Range, PasteRng As Range
xTitleId = "KutoolsforExcel"
Set CopyRng = Application.Selection
Set CopyRng = Application.InputBox("Ranges to be copied :", xTitleId, CopyRng.Address, Type:=8)
Set PasteRng = Application.InputBox("Paste to (single cell):", xTitleId, Type:=8)
PasteRng.PasteSpecial xlPasteFormats
Application.CutCopyMode = False
End Sub

3. Click Run button or press F5 to run the VBA. There is a dialog displayed on the screen, and you should select the cells you want to copy formatting. See screenshot:

4. Click Ok and another dialog is displayed for you to select a cell to paste the formatting. See screenshot:

6. Click Ok, then the cells' formatting is pasted in the selected cell. See screenshot:

 Note: With this VBA code, you can paste only the formatting into other worksheets that you want.

Copy formatting only with Kutools for Excel

Have Kutools for Excel installed, the Copy Ranges function can help you quickly and easily copy cells' formatting only.

Kutools for Excel, with more than 120 handy functions, makes your jobs easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

Please apply Copy Ranges function by clicking Kutools > Copy Ranges. See screenshot:

doc only copy formatting 9

1. Select the cells you want to copy the formatting.

2. Click Kutools > Copy Ranges, a dialog is displayed in the screen, check Formats option under Paste special, see screenshot:

3. And click OK. Another dialog is displayed for you to select a cell to paste the result. See screenshot:

4. Click Ok, and only the formatting is pasted in the selected cell. See screenshot:

Note: You also can copy and paste cells' formatting between two spreadsheets. If you want to copy the row height and column width, too, you can check Including row height and Including column width box in the Copy Multiple Ranges dialog.

With Kutools for Excel' Copy Ranges, you can only copy values, formulas or comments as well.

Tip.If you want to count or sum cells based on colors, please try to use the Kutools for Excel’s Count by Color as shown in the following screenshot. It’s full function without limitation in 60 days, please download and have a free trial now.

Count by Color

In some cases, you may have a range of calues with multiple colors, and what you want is to count/sum values based on same color, how can you quickly calculate?
With Kutools for Excel's Count by Color, you can quickly do many calculations by color, and also can generate a report of the calculated result.
doc count by color

Relative articles:

Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.