答案 0 :(得分:2)
在众多可能性中,你可以做一个数据透视表。请参阅我的解释here.
答案 1 :(得分:2)
答案 2 :(得分:2)
您可以使用此VBA代码:
Sub RemoveDuplicates()
Dim lastRow As Long, letters As Variant, arr As New Collection, i As Long
lastRow = Cells(Rows.Count, 1).End(xlUp).Row
letters = Range(Cells(1, 1), Cells(lastRow, 2))
On Error Resume Next
For i = 1 To lastRow
arr.Add letters(i, 1) & letters(i, 2), letters(i, 1) & letters(i, 2)
Next
For i = 1 To arr.Count
Cells(i, 3) = Left(arr(i), 1)
Cells(i, 4) = Right(arr(i), 1)
Next
End Sub
答案 3 :(得分:2)