2

我试图为正相关值编写 IF 语句。函数如下。我收到一个错误,它说的参数太多。

=IF(B16 = 1, "Perfect Positive Correlation" ,IF(AND(B16>= 0.9, B16< 1),"Very Strong Correlation" ,IF(AND(B16>=0.7, B16<0.9),"Strong Correlation" ,IF(B16>=0.4,B16<0.7),"Moderate Correlation" ,IF(AND(B16>=0.2, B16 <0.4),"Low Correlation" ,IF(AND(B16>0, B16 <0.2),"Very low Correlation" ,IF(B16 = 0, "No Correlation", "NA")))))))

请帮忙。

谢谢

4

2 回答 2

3

您可以使用具有索引/匹配功能的查找表。

具有索引/匹配功能的查找表

于 2013-07-11T17:03:15.437 回答
2

尝试这个。缺少 AND AND(B16>=0.4,B16<0.7)

=IF(B16 = 1, "Perfect Positive Correlation",IF(AND(B16>= 0.9, B16< 1),"Very Strong Correlation",IF(AND(B16>=0.7, B16<0.9),"Strong Correlation",IF(AND(B16>=0.4,B16<0.7),"Moderate Correlation",IF(AND(B16>=0.2, B16 <0.4),"Low Correlation",IF(AND(B16>0, B16 <0.2),"Very low Correlation",IF(B16 = 0, "No Correlation", "NA")))))))
于 2013-07-11T16:51:47.093 回答