# How can I add a function in LibreOffice Calc so that values of cells would not exceed calculated value of 20? [closed]

I have spreadsheets calculating assumed development of some attributes. The value of an attribute should't exceed 20 but in some cases the development is so good it goes over the limit. How can I add there a function or something that limits all the values too high to appear as 20?