Thầy ơi, e có dữ liệu từ cột G gộp ô thành cột J, ngoài thao tác meger ¢rer thì còn cách nào nhanh hơn k ạ, làm thủ công thì lâu quá ạ
Chào bạn phần này bạn cần dùng code nhé
Option Explicit
Sub Gitiho()
Dim i, LR
LR = Cells(Rows.Count, "G").End(3).Row
Application.DisplayAlerts = False
On Error Resume Next
For i = LR To 1 Step -1
If Cells(i, 1) = Cells(i - 1, 1) Then
Range(Cells(i, 1), Cells(i - 1, 1)).Merge
End If
Next i
Columns(1).VerticalAlignment = xlCenter
Application.DisplayAlerts = True
End Sub