=IF(A1=INT(A1/2)*2,(A1+1)*INT(A1/2),(INT(A1/2)+1)*A1)希望你满意,A1必须是正数 ,记得给个评价
=SUMPRODUCT(ROW(INDIRECT("1:"&A1)))
=IF(A1="","",SUMPRODUCT(ROW(INDIRECT("1:"&A1))))