Skip to main content
3 of 3
added 2 characters in body
kglr
  • 400.5k
  • 18
  • 488
  • 929
rownum = LengthWhile[m, Length@# == 2 &]
2
m[[rownum, 2]]
6

If you need the last element in the second column you can also use:

TakeWhile[m, Length@# == 2 &][[-1, 2]]
6
kglr
  • 400.5k
  • 18
  • 488
  • 929