You can use Data Validation for that.

Select cells K2 to K40. Then, on the Data Ribbon, choose Data Validation. Choose Whole Number or Decimal and choose what limits you want.


Regards, TMS