麻烦您帮帮忙!谢谢谢谢!在表二G3中输入公式,从表一中搜索得到G3结果。“配合”可看做“配合人”。
这个给你一个自定义函数吧,代码如下:
Function mystring(val, arr)
Dim x As Integer
Dim str As String
ar = arr
For x = 1 To UBound(ar, 2)
If InStr(1, val, ar(2, x)) <> 0 Then
str = str & "、" & ar(1, x)
End If
Next
mystring = Right(str, Len(str) - 1)
End Function
效果如下:
下一篇:如果购买快乐水
上一篇:饭店老板应该怎么给顾客分类?
热门标签: