注意:以下abcdefg在实际运用中均为变量或单元格。该公式示例仅表达函数构造主体。=if(a=b,c,if(a=d,e,if(a=f,g,"")))或者=vlookup(a,{b,c;d,e;f,g},2,)或者=LOOKUP(A1,{b,d,f;c,e,g})
=IF(A1=B1,C1,IF(A1=D1,E1,IF(A1=F1,G1,"")))
=IF(A1="b","c",IF(A1="d","e",IF(A1="f","g",""))),