Using excel value with loop - not printing values - printing col numbers

Hello.
Is there any way to workaround !COLx variable for unknown amount of columns?
I mean i can have 4 to 8 columns in my work csv file.
I wanted to make a script flexible and fitting any amount of columns. Is it possible?

Can i somehow construct this variable, like this “${!COL”+storedVars[‘N’]+"}" using some command?
Or maybe call a variable via a variable?
Thanks in forward.

P.S.: nested variables would be great =)