汇总月份所属期
看看哪个大神能汇总一下月份起止期定位空格,输入公式,CTRL+回车=TEXT(TEXT(C12,"0-00"),"e年mm月-")&TEXT(TEXT(OFFSET(C12,-B13+1,),"0-00"),"e年mm月")
或者=TEXT(SUMPRODUCT(T(OFFSET(C12,{0;1}-N(+B12:B13),))*10^{6;0}),"0年00月-0000年00月") 借助一下你B咧的数值,C列定位空值,输入:
=TEXT(C12,"0年00月-")&2021&TEXT(RIGHT(C12,2)+B13-1,"年00月")
按ctrl+enter即可 下面公式粘贴在黄色位置就可以了。
=LEFT(SMALL(IF(LEFT(A19,1)=$B$1:$B$78,$C$1:$C$78),1),4)&"年"&TEXT(RIGHT(SMALL(IF(LEFT(A19,1)=$B$1:$B$78,$C$1:$C$78),1),2),"0")&"月"&"-"&LEFT(LARGE(IF(LEFT(A19,1)=$B$1:$B$78,$C$1:$C$78),1),4)&"年"&TEXT(RIGHT(LARGE(IF(LEFT(A19,1)=$B$1:$B$78,$C$1:$C$78),1),2),"0")&"月"
您的回复,对我帮助很大,谢谢! =TEXT(TEXT(C12,"0-00"),"e年m月-")&TEXT(EDATE(TEXT(C12,"0-00"),B13-1),"e年m月")
页:
[1]