You're an operations analyst encoding the order-disposition rules from the ops handbook. Four rules apply in strict priority order — first match wins:
- Cancelled — if status code = "X" OR order age > 90 days (terminal state, trumps everything else)
- Expedited — if customer tier = "Premium"
- Backordered — if inventory count < 1 (out of stock, only matters if not expedited)
- Standard — anything that didn't match above
Columns A–E: Order ID, Status Code (X / OK), Order Age (days), Customer Tier (Premium / Gold / Standard), Inventory Count.
The trickiest cases:
- Premium customer with 0 inventory → Expedited (rule 2 trumps rule 3)
- Cancelled status with Premium tier → Cancelled (rule 1 trumps rule 2)
- Order age 95 days, Premium tier, 50 in inventory → Cancelled (rule 1 fires on age alone)
Your task:
- In column F (Disposition), write a single formula (LET + IFS recommended) that produces the right disposition for each row by applying rules in priority order.
- The formula must drag-fill from F2 → F11.
Graded cells: F3 (Cancelled — age 100), F5 (Expedited — Premium with 0 inventory), F6 (Backordered — Standard with 0 inventory).
Open this problem on a desktop to attempt it.