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

or

How to unmerge cells and fill with duplicate values in Excel?

If you have a worksheet which contains numerous merged cells, and now you need to unmerge them and auto-fill down the original values from the merged cells as following screenshots shown. How could you quickly deal with this task?

Unmerge cells and fill with duplicate data with Go To Special command

Unmerge cells and fill with duplicate data with VBA code

Unmerge cells and fill with duplicate data with one click


Unmerge Cells and copy values down:

If you want to cancel the merged cells and fill the cells with their relative values of the merged cells, Kutools for Excel’s Unmerge Cell feature ma help you, by applying it, you can quickly unmerge the merged cells and auto-fill down each unmerged cells with the corresponding data.

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


arrow blue right bubble Unmerge cells and fill with duplicate data with Go To Special command


With the Go To Special command, you can unmerge cells and fill down the values. But this method is somewhat troublesome, please do as following steps:

1. Select the columns that have merged cells.

2. Click Home > Merge & Center > Unmerge Cells. See screenshot:

3. And the merged cells have been unmerged and only the first cell will be filled with the original values. And then select the range again.

4. Then click Home > Find & Select > Go To Special. In the Go To Special dialog box, select Blanks option. See screenshot:

5. And then click OK, all of the blank cells in the range have been selected. Then input = and press Up arrow key on the keyboard. See screenshot:

6. Then press Ctrl + Enter keys, all of the blank cells have been filled with the original merged data. See screenshot:


arrow blue right bubble Unmerge cells and fill with duplicate data with VBA code

With the following VBA code, you can quickly unmerge the cells and fill down the values.

1. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste the following macro in the Modulewindow.

Sub UnMergeSameCell()
'Upadateby20131127
Dim Rng As Range, xCell As Range
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
Application.ScreenUpdating = False
Application.DisplayAlerts = False
For Each Rng In WorkRng
    If Rng.MergeCells Then
        With Rng.MergeArea
            .UnMerge
            .Formula = Rng.Formula
        End With
    End If
Next
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub

3. Then press the F5 key to run this code, a dialog is displayed for selecting a range to work with, see screenshot:

4. Click OK, then the merged cells have been unmerged and auto-filled down the original merged values.


arrow blue right bubble Unmerge cells and fill with duplicate data with one click

With the Unmerge Cell utility of Kutools for Excel, you can unmerge cells and fill with duplicate data with one click, this method is very simple and handy.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days

After installing Kutools for Excel, you can do as follows:

1. Select the columns that you want to unmerge and fill down the data.

2. Click Kutools > Range > Unmerge Cell, see screenshot:

3. And the merged cells have been unmerged and filled with the duplicate values at once. See screenshots:


Tips: If you want to merge the adjacent rows with same value, you can apply the Merge Same Cells feature as following screenshot shown:

Click to Download and free trial Kutools for Excel Now!


arrow blue right bubble Unmerge cells and fill with duplicate data with Kutools for Excel

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Related article:

Merge adjacent rows with same data in Excel


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.
  • To post as a guest, your comment is unpublished.
    excel user 22 · 10 months ago
    Thx!!! It saved me a lot of time!
  • To post as a guest, your comment is unpublished.
    Oyunsuren · 1 years ago
    Great. Thank you very very much.
  • To post as a guest, your comment is unpublished.
    Joel · 1 years ago
    that's brilliant, thanks a bunch, massive sheet with loads of inconsistently merged cells fixed in seconds.
  • To post as a guest, your comment is unpublished.
    Barbs · 1 years ago
    Thanks a million, saved me loads of time using that Go to Special function!
  • To post as a guest, your comment is unpublished.
    Nabil · 1 years ago
    Thanks a lot. Used the Go To Special solution and it worked perfectly.