本帖最后由 jacky1998 于 2014-10-8 17:49 编辑
- =TEXT(B2+31*MOD(MAX(MMULT(SUMIF(B:B,">"&EOMONTH(B2,A2:A42-{2,1}),C:C),{1;-1})/1%+A26:A66),25),"e年m月")
- =TEXT(EDATE(B2,MOD(MAX(MMULT(SUMIF(B:B,">"&EOMONTH(B2,A2:A42-{2,1}),C:C),{1;-1})/1%+A26:A66),25)),"e年m月")
- =EDATE(1,right(MAX(MMULT(N(ROW(1:2000)=TRANSPOSE(DATEDIF(,B2:B800,"m"))),C2:C800/1%%)+ROW(1:2000)),4))
- =EDATE(B2,MOD(MAX(MMULT(N(A2:A52+1355=TRANSPOSE(DATEDIF(,B2:B800,"m"))),C2:C800/1%)+A26:A76),25))
- =TEXT(EDATE(1,RIGHT(MAX(MMULT(SUMIF(B:B,"<"&EDATE(1,ROW(2:2001)-{1,0}),C:C),{-1;1})/1%%+ROW(1:2000)),4)),"e年m月")
- =TEXT(EDATE(B2,MOD(MAX(MMULT(N(TEXT(EDATE(B2,ROW(1:32)-1),"ym")=TRANSPOSE(TEXT(B2:B800,"ym"))),C2:C800/1%)+ROW(25:56)),25)),"e年m月")
- =TEXT(EDATE(B2,MOD(MAX(MMULT(MINVERSE(N(COLUMN(A:X)<=ROW(1:24))),SUMIF(B:B,"<="&EOMONTH(B2,ROW(1:24)-1),C:C))/1%+ROW(1:24)),100)-1),"e年m月")
- =TEXT(EDATE(B2,mod(Max(MMULT(N(ROW(1:24)=TRANSPOSE(IFERROR(LOOKUP(B2:B800,EOMONTH(B2,ROW(1:24)-2)+1,ROW(1:24)),))),C2:C800/1%)+ROW(1:24)),100)-1),"e年m月")
- =TEXT(EDATE(B2,MOD(LARGE(FREQUENCY(ROW(A1:A100000)+10^5*(COLUMN(A:AT)-1),SUMIF(B:B,"<="&EOMONTH(B2,ROW(1:24)-1),C:C))/1%+ROW(1:25),2),100)-1),"e年m月")
复制代码 |