Last Remaining Cell

Volodymyr Sakhan  ·   · 

The Last Remaining Cell technique helps you figure out where a specific digit must go inside a 3×3 box. Instead of looking at empty cells and asking what digit belongs there, you pick a digit and ask: in this box, which cell can it go to?

The logic is simple: each digit must appear exactly once in every row, column, and 3×3 box. If a digit already exists in a row that passes through a box, no cell in that row within the box can hold it. By scanning all intersecting rows and columns this way, you can eliminate every cell except one — and that is where the digit goes. Use our online sudoku puzzle to practice this technique right away.

Row and column elimination

Let's find where the digit 8 belongs in the top-left box. Start by scanning every row and column that passes through the box to see if 8 already appears there.

By crossing off every cell that shares a row or column with an existing 8, the top-left box is left with exactly one valid position.

61723459289584376ABCDEFGHI123456789
Box 1: row 3 (contains 8 at E3) and column C (contains 8 at C6) are dimmed — only B2 remains for the digit 8.

When two rows are already blocked

Now let's find where 5 goes in the middle-right box (columns G–I, rows 4–6). This time, two of the three rows through the box are already blocked.

When two rows (or columns) through a box are already blocked by the same digit, you only need to look at the third row — and if just one cell there is empty, the answer is immediate.

358236571ABCDEFGHI123456789
Box 6: rows 4 and 6 are dimmed (each already contains a 5), leaving only row 5. G5 and H5 are filled, so 5 must go at I5.

Combining row and column elimination

Let's find where 7 belongs in the center box (columns D–F, rows 4–6). Here we need to use both a row constraint and a column constraint together.

Applying row and column eliminations together in one scan is the natural rhythm of this technique — sweep the intersecting lines, then check what is left.

7928317ABCDEFGHI123456789
Box 5: row 4 (contains 7 at A4) and column F (contains 7 at F7) are dimmed. Of the four remaining cells, only E6 is empty — that is where 7 goes.

When the technique reaches its limit

The Last Remaining Cell technique works only when cross-unit eliminations reduce a unit to a single valid cell for a digit. If, after scanning all intersecting rows and columns, two or more empty cells remain, this technique alone cannot decide between them — you will need to apply a more advanced strategy such as Hidden Singles or Naked Pairs.

As you grow more comfortable with scanning, you will find yourself applying this technique across rows and columns as well — not just boxes. Doing so is the same logical process and naturally leads into the Hidden Singles technique, which is the next step in your sudoku-solving journey.