I'm attempting to write a Google Apps Script that will duplicate a row whenever new data is entered into a row, however I have little experience with JavaScript.
I start with the function onEdit
, and I want it to check the row of the newly entered value and determine whether or not each cell is occupied by a null or real value. If real, nothing happens. If null, the cell will be filled with the value of the cell in the row above it.
For example, when the value 5 enters the sheet it creates a new row. That row should be filled with the values above it except for the cell occupied by the 5.