Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果 A1 = 2012 年 12 月 31 日(年底) B1 = 公司、个人、信托等(实体类型) 我希望 C1 计算纳税申报表的到期日期 根据您和实体类型,到期日期为从年末算起 3.5 或 2.5 个月。
您可以使用如下公式:
=IF(criteria, A1+74, A1+105 )
您定义的标准。
74:天数(闰年第一个 2.5 个月) 105:天数(闰年第一个 3.5 个月)
或者正如 pnuts 建议的那样:
=IF(criterion,EOMONTH(A1,3)-15,EOMONTH(A1,4)-15)