Excel表格星座计算公式(输入生日计算星座)

{"1/21 "," 2/20 "," 3/21 "," 4/21 "," 5/22 "," 6/22 "," 7/23 ","牧羊人","金牛座","双子座","巨蟹","狮子","处女","天秤座","天蝎座","射手座","摩羯座" } &;"座位”)。

例如,下面的公式

=IF(ISNA(VLOOKUP(B5,sheet1!$B$2:$E$179,2,FALSE)),"",VLOOKUP(B5,sheet1!$B$2:$E$179,2,FALSE))

X=VLOOKUP(B5,sheet1!$B$2:$E$179,2,FALSE) ->如果找到相同的条件,取其值。整个事情就是找值,就是找不到。用空白代替NA。公式ISNA类似于ISERROR,但是当ISERROR出错时,也会显示空白。对于ISNA,将显示错误,NA将显示空白。

A1参考样式

默认情况下,Excel使用A1引用样式,引用字母标识列(从A到IV,*** 256列,注意:不同版本最大列数不同),引用数字标识行(从1到65536)。这些字母和数字被称为行号和列标签。若要引用单元格,请输入列标签和行号。例如,B2引用位于b列和2行交叉处的单元格。