答案1
我认为使用 VBA 是最简单的指令
粗略地讲,这应该可行 -
Sub Lokam()
Dim a As Range
Dim b As Range
For Each a In Range("A:A")
If a = "" Then Exit Sub
For Each b In Range("B:B")
If b = "" Then GoTo yay:
If InStr(a, b) > 0 Then
a.Offset(, 2) = a
End If
Next
yay:
Next
End Sub