I was wondering how can I make my main /master sheet more automatic so I don't have to input every data such as =sheet1!b2, =sheet2!b2, etc. I was thinking if there is some way to make it more automatic so whenever I create a new sheet it will update it on my master page with data of specific cells such as b2 in every sheet.
I have found a way to automatically add sheet name into column:
function GetAllSheetNames() { var out = new Array() var sheets = SpreadsheetApp.getActiveSpreadsheet().getSheets(); for (var i=0 ; i<sheets.length ; i++) out.push( [ sheets[i].getName() ] ) return out }But I have no idea and could not find online how to make it so it makes list/column of data from every sheet b2 cell.