Python Conditional And Statement In Excel