Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Thank you very much.
While I, too, like the "AND"s as shown by Andy better, you still can use the multiplication of the conditions.
As an alternative to the program if, you can also use the (visually less clear) if-function: