To do the F=ma example in four cells, three input cells a, m, F, and one output cell. Enter values in the two knowns, and a keyword like "solve" in the third. For something simple like this, a nested if statement would work in the output cell, like:
= if (a = "solve",F/m,if(m = "solve"...