

Under Table Tools, select the Layout tab, and then in the Merge Cells group, select Merge Cells.
HOT KEY FOR MERGING CELLS IN EXCEL HOW TO
HOT KEY FOR MERGING CELLS IN EXCEL CODE
If you desire to use this on multiple different columns with the intention of moving everything to one cell, use this code recursively or in some repetitive manner e.g.

Split = VBA.Split(strReplacedText, Delimiter) ' Split the sentence into an array of words and return StrReplacedText = Replace(strReplacedText, _ ' Loop until all consecutive space characters are StrReplacedText = Trim(Replace(strReplacedText, _ ' Filter all specified characters from the string. StrReplacedText = Trim(Replace(InputText, _ ' Replace tab characters with space characters. By default, Excel shows the results of formulas. ' that should be filtered from the input string. Show Formulas Excel provides a really simple and quick way to show formulas in cells, and in a moment, you will make sure of this. ' This constant contains punctuation and characters ' element of the array contains one word.

' words and returns a string array of the words. ' This function splits the sentence in InputText into Optional ByVal Delimiter As String) As Variant Split() Function: Public Function Split(ByVal InputText As String, _ StrgTemp = Split(Worksheets("Sheet1").Cells(i, col).Value) Set destinationCell = Range("B1") 'this can be what you want 'enter destination cell in same format as above Set lastCell = Range("A3") 'this can be what you want

Set firstCell = Range("A1") 'this can be what you want 'enter first and last cells of column of interest in the "A1/A2/A3." format below:' Link to Wade's Article with Split Function: There are two Procedures I use: 1) a columnCombine() Sub and 2) a Custom Split() Function courtesy of Wade Tai of Microsoft The following shows you how to combine all numbers from a column into a single cell in VBA Excel, which is what I assume the coding language you are using.
