Subdivide in only one direction?
Tab into Edit mode, if you're not already there.
Then either
1. Select only the horizontal edges, then subdivide.
or
2. For each of the three sections, press CtrlR and hover the mouse near a horizontal edge, then LMB or Enter followed by RMB or Esc.