There is a table "Test" and "DB".
In the table "Test", Sheet "A" when executing the script, you need to move the data from cell B2 to table "DB", Sheet "B" to empty cells "B2: B" of the desired ID "A2: A" from the previous table "A2 ". (Image 1)
And if the data is already there, do not record anything. (Image 2)
The result of the correct operation of the script. (Image 3)


