Added function to get the row of the active input
Tidying up formatting
Added function to get cell values in the same column