|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
Function iflb(mc As String)
Dim hzgx
hzgx = mc
If InStr(1, hzgx, "母", 1) > 0 Then
iflb = "女性"
End If
If InStr(1, hzgx, "妻", 1) > 0 Then
iflb = "女性"
End If
If InStr(1, hzgx, "女", 1) > 0 Then
iflb = "女性"
End If
If InStr(1, hzgx, "父", 1) > 0 Then
iflb = "男性"
End If
If InStr(1, hzgx, "夫", 1) > 0 Then
iflb = "男性"
End If
If InStr(1, hzgx, "子", 1) > 0 Then
iflb = "男性"
End If
If InStr(1, hzgx, "妻子", 1) > 0 Then
iflb = "女性"
End If
End Function |
评分
-
1
查看全部评分
-
|