Bring value of A1 from all active sheet in to Master report

Solution 1:

You can use this custom formula:

function getF1F3Data() {
  var sheets = SpreadsheetApp.getActiveSpreadsheet().getSheets()
                             .filter(sheet => sheet.getSheetName() != 'main');
  return sheets.map(sheet => [sheet.getRange("F1").getValue(), sheet.getRange("F3").getValue()]);
}

output

Matches all sample data put into Sheet2 and Sheet3.