How to use the IF function with the AND function in LibreOffice Calc