Example 1: the rule is in the columns
| Row | Column 1 | Column 2 | Column 3 |
| 1 | 2 | 3 | 1 |
| 2 | 4 | 5 | 3 |
| 3 | 6 | 7 | ? |
Example 2: the rule is in both directions
| Row | Column 1 | Column 2 | Column 3 |
| 1 | 2 | 4 | 6 |
| 2 | 3 | 6 | 9 |
| 3 | 4 | 8 | ? |
Example 3: a Latin square
| Row | Column 1 | Column 2 | Column 3 |
| 1 | A | B | C |
| 2 | B | C | A |
| 3 | C | A | ? |
Example 4: a step in both directions
| Row | Column 1 | Column 2 | Column 3 |
| 1 | 1 | 3 | 5 |
| 2 | 2 | 4 | 6 |
| 3 | 3 | 5 | ? |
Copy tests, then numbers along rows, then down columns, then Latin, then combine. Accept a rule only when it fits every complete line.
Key takeaways. Use the same order every time, accept a rule only when it fits every complete line, and let the second direction check the first.