尝试执行嵌套的if:
=IF([Years of Service]>10,'Data Tables'!$B$11,"if([years of service]>5,'Data Tables'!$b$10)")出了个漏油错误。
发布于 2020-06-16 00:37:58
你没有表明你想做什么,我也不确定你到底想做什么。
但是,您的公式似乎在Table中。在这种情况下,在Table中输出数组的公式将产生#SPILL!错误。
如果您想要做的是将同一行的服务年数与公式进行比较,那么您需要仅引用该行,以便不输出数组。
例:
=IF([@[Years of Service]]>10,'Data Tables'!$B$11,
IF([@[Years of Service]]>5,'Data Tables'!$B$10,
IF([@[Years of Service]]>1,'Data Tables'!$B$9,
'Data Tables'!$B$8)))如果你想要别的东西,那么你需要提供更多的细节。
https://stackoverflow.com/questions/62398940
复制相似问题