我基本上是在尝试使用多个ISNUMBER和IF语句:
**DESCRIPTION CATEGORY**
ALL ACCESS -- NA
AMTRAK NRT -- TRAVEL
INDEED -- Recruting
基本上。如果该词包含“全部”,则不适用;如果该词包含“ amtrak”,则应包含旅行;如果该词具有“确实”,则应包含“正在招募”
我正在尝试
=IF(ISNUMBER(SEARCH("amtrak",D9)),D9,"train"), IF(ISNUMBER(SEARCH("all",D9)),D9,"t")
但是它不起作用。它总是给我错误“值”,或者我尝试了这个错误
=IF((AND(ISNUMBER(SEARCH("abm",B5)),B5,"don't know")),AND(ISNUMBER(SEARCH("all",B5)),B5,"don't k"))
,具有相同的错误。
谢谢
答案 0 :(得分:1)
您需要嵌套IF statements
:
=IF(ISNUMBER(SEARCH("amtrak",D9)),"train", IF(ISNUMBER(SEARCH("all",D9)),"na",IF(ISNUMBER(SEARCH("indeed",D9)),"recruiting","")))