Check on the parentheses, there is something wrong, excel doesn't allow to enter the formular, but gives you some idea where to look.
Maybe that will work for you, but make sure that it meets your requirement:
=K6/IF(DAY(TODAY())=28,MONTH(TODAY()),(MONTH(TODAY())-1)*12)
|