F2=IF(B2=B1,F1,MAX(F1)+1)G2=COUNTIF(B$2:B2,B2)G2=G2+F2/100向下复制I2=IF(ROW(A1)>MAX(F:F)*12,"",MOD(ROW(A12),12)+1+INT(ROW(A12)/12)/100)向下向右复制如果要把缺失的日期填充,则L2=IF(ROW(A1)>MAX(F:F)*12,"",DATE(2017,MOD(ROW(A1)-1,12)+1,1))向下复制,设置为日期格式。
F2=IF(B2=B1,F1,MAX(F1)+1)G2=COUNTIF(B$2:B2,B2)G2=G2+F2/100向下复制I2=IF(ROW(A1)>MAX(F:F)*12,"",MOD(ROW(A12),12)+1+INT(ROW(A12)/12)/100)向下向右复制如果要把缺失的日期填充,则L2=IF(ROW(A1)>MAX(F:F)*12,"",DATE(2017,MOD(ROW(A1)-1,12)+1,1))向下复制,设置为日期格式。