Scenario:
I have an expense report dataset with flight details. I want to flag exceptions based on our company travel policy, which states:
- Domestic flights must be Economy class only.
- For International flights:
- If flight duration is < 7 hours → must be Economy class.
- If flight duration is ≥ 7 hours → Business class is allowed.I HAVE USED THE BELOW FORMULA BUT i need to add this criteria which says if business eligibility is there but economy is booked then it should not be an exception.
how should i add this parameter?