I want to restrict the value of a cell

Hi, a cell’s value is calculated using a formula, I want to restrict the value of this cell. It must be 20 or less, if it is over 20, I want it to default to 20. Any way I can do that with LibreOffice Calc?

Hallo

=MIN( 20 ; your_formula )
2 Likes

Thank you very much