Merging Cells Automatically
There is an Excel file that teaches how to perform the Merging Cells Automatically operation.
Excel Solution: Merging Cells Automatically
This workbook demonstrates merging cells automatically using VBA macros on a 2-row data layout.
Hope it is useful.