Excel 函数 =IF(YEAR(Sheet2!A:A)=YEAR(Sheet2!B:B),YEAR(Sheet2!A:A),YEAR(Sheet2!Sheet2!A:A)'-'&YEAR(Sheet2!Sheet2!B:B)) 存在错误。

正确的函数表达式应该是:

=IF(YEAR(Sheet2!A:A)=YEAR(Sheet2!B:B),YEAR(Sheet2!A:A),YEAR(Sheet2!A:A)'-'&YEAR(Sheet2!B:B))

错误原因在于函数中重复使用了 Sheet2!。

Excel 函数错误分析:=IF(YEAR(Sheet2!A:A)=YEAR(Sheet2!B:B),YEAR(Sheet2!A:A),YEAR(Sheet2!Sheet2!A:A)&

原文地址: https://www.cveoy.top/t/topic/nKpA 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录