function myFunction() {
Ā const ss=SpreadsheetApp.getActiveSpreadsheet();
Ā const sheet = ss.getSheetByName("Green S1");
Ā const range = sheet.getRange("B13:C30");
Ā // Get the values in Columns B and C
Ā var values = range.getValues();
Ā // Create an array to store the shuffled rows
Ā var shuffledRows = [];
Ā // Randomly shuffle the rows
Ā while (values.length > 0) {
Ā Ā var randomIndex = Math.floor(Math.random() * values.length);
Ā Ā var randomRow = values.splice(randomIndex, 1)[0];
Ā Ā shuffledRows.push(randomRow);
Ā }
Ā // Set the shuffled rows back in Columns B&C
Ā range.setValues(shuffledRows);
}