我需要excel的帮助,当我输入日期/年份时如何显示最近12个月的日期,例如,如果输入02 Jan 17,那么结果将显示我2月16日,它显示最近12个月的日期。
=DATE(YEAR(A1)-1,MONTH(A1),DAY(A1)+1)
(即使当日是一个月的最后一天,也能给出正确的答案)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.