Gets populated cell at given index.
In the scenario where column A and column C in the row has data but there is no data in column B then the number of populated cells in the row is 2. And the cell in column A has index 0 and the cell in column C has index 1 while the cell in Column B is not included in the index.