简体   繁体   中英

Excel add year from Cell into existing formula

I need to add the YEAR from a cell into an existing formula.

The formula works out the fiscal month & adds prefix 0 before the value.

="0"&MOD(MONTH(A2)-7,12)+1

I want the YEAR from Cell A to prefix the formula so the final value is

201507

在此处输入图片说明

= YEAR(A1)&“ 0”&MOD(MONTH(A2)-7,12)+1

您是否不能像=YEAR(A2) &"0"&MOD(MONTH(A2)-7, 12)+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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM