excel怎样根据日期判断今天之前的7天是本周,本周之前的7天是上周,上周之前的7天是上上周

2024-11-28 02:37:16
推荐回答(2个)
回答1:

=IF(INT(NOW()-D1)<=7,"本周",IF(INT(NOW()-D1)<=14,"上周",IF(INT(NOW()-D1)<=21,"上上周","")))

回答2:

实现是可以实现看要花多少代价