Logical FunctionsAdvanced

Capstone: triage this morning's orders

Two decisions per row, from the whole logic track.

Task:

Warehouse needs to know what ships today and why anything that does not is held up. In column D put Ship when there is stock and the order is paid, otherwise Hold. In column E give the reason: Backorder when stock is zero, Awaiting payment when it is unpaid, and Ready otherwise.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

5 rows × 5 columns8 cells you fill in
ABCDE
1OrderStockPaidDecisionReason
2A-1015Yes
3A-1020Yes
4A-10312No
5A-1043Yes
What this exercise teachesMay contain the answer

The order of the nested tests is the whole exercise. Checking payment before stock would label A-102 as awaiting payment when it is paid for and simply not in the warehouse — a nested IF returns the first branch that matches, so the most specific case goes first.