Apply the same math to the grid row/col selection