I have an Excel sheet like this:
A B C D E F G 1 0 0 0 2 0 0 3 0 4 5 0 0 0 0 0 0 0 6 0 0 0
And every \'0\' represents some data value
if you are comparing cell values then you have their index which is line number and column number, otherwise you can start counter on row and column loop with increment on every iteration, this will tell you exact column number and row number.