Write to google sheets in a selected index

I want to know if there are anyway to write data to google sheets in a selected index (data don't just add one next to the other i want to add each thing to the index i select)

This should be possible.

Give an example of what you want to achieve - show your relevant blocks, spreadsheet etc.