If statement with multiple conditions

Like this?