I have a script someone else created, I am new to app script and still learning, I am copying a range of data from sheet1 that they fill in daily to sheet2, I would like this to not copy the row if Column F is blank. Here is what I am using currently.
function CopyData(CopyData) {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet1 = ss.getSheetByName("2019-02-03");
var sheet2 = ss.getSheetByName("Archive Data");
sheet1.getRange("A2:Q16").copyTo(sheet2.getRange(sheet2.getLastRow()+1,1,1,1), {contentsOnly:true});
}