我以前对f4列的公式为count(F4{F4 = \"夜\" || F4 = \"白下\" || F4 = \"上\" || F4 = \"下\" || F4 = \"白夜\"|| F4 = \"日夜\"||F4 = \"上事\"||F4 = \"下事\"}),现在想增加一个下上,但是要统计这个下上为2怎么写公式啊
在公式后面加上"上下"数量X2,不就OK了
count(F4{F4 = "夜" || F4 = "白下" || F4 = "上" || F4 = "下" || F4 = "白夜"|| F4 = "日夜"||F4 = "上事"||F4 = "下事"}) + (count(F4{f4="上下"}) * 2)
IF(A1="数字",2,A1)
你是多条件获取吗
假设下上在E4单元格,
count(F4{(F4 = "夜" &&E4="下上")|| (F4 = "白下"&&E4="下上") ||( F4 = "上"&&E4="下上") ||( F4 = "下"&&E4="下上") || (F4 = "白夜"&&E4="下上")|| (F4 = "日夜"&&E4="下上")||(F4 = "上事"&&E4="下上")||(F4 = "下事"&&E4="下上")})