level 2
老天鹅啊
楼主

代码:Function 客户分类(s)
Dim score, level, s
score = s
If score < 30 Then
level = "温柔型"
ElseIf score < 60 Then
level = "冲动型"
ElseIf score < 90 Then
level = "暴躁型"
Else
level = "狂暴型"
End If
客户分类 = level
End Function
运行结果为“=客户分类(b2)”,没有显示按理说应该是“冲动型”,我确定b2是数字格式,然后客户分类这个自定义函数也是从自定义函数”直接引用的。所以大佬能不能帮忙想想到底是哪里出问题了呢。