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.
How to Unmerge Cells in Excel. Two Methods:Unmerge a Single CellSplit Cells Across Contents of a SpreadsheetCommunity Q&A. One of many features of Microsoft Office Excel is the ability to merge or unmerge cells within a worksheet. When working in Excel, you can use the tools to split data among two or more cells within a chart or spreadsheet. Jump to VBA Code to Unmerge Cells - To unmerge cells with VBA, use a statement with the following structure: view source.
Select the columns that have merged cells. 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. 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: 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. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window. 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.
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.: with more than 300 handy Excel add-ins, free to try with no limitation in 60 days. Increase your productivity in 5 minutes.
Don't need any special skills, save two hours every day! 300 New Features for Excel, Make Excel Much Easy and Powerful:. Merge Cell/Rows/Columns without Losing Data. Combine and Consolidate Multiple Sheets and Workbooks.
![Excel Unmerge Cells Vba Excel Unmerge Cells Vba](/uploads/1/2/5/4/125498867/617909681.png)
Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion. Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,. More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools.
Merge UnMerge Range in Excel VBA – Solution: We can use Merge and UnMerge methods of a Range to Merge UnMerge Cell Range in Excel VBA. Merge UnMerge Cell Range in Excel VBA – Example: Following is the example to show you how to merge or UnMerge the cells in excel using VBA. Code to merge Cells Sub sbMergeRange Range('A1:B3').Merge End Sub Code to unmerge Cells Sub sbUnMergeRange Range('A1:B3').UnMerge End Sub Instructions:.
Open an excel workbook. Press Alt+F11 to open VBA Editor. Insert a Module for Insert Menu. Copy the above code and Paste in the code window. Save the file as macro enabled workbook. Press F5 to execute it.