Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

169
Vistas
Multiple spreadsheets to master & master to back to the same sheets

I want to combine 40 different spreadsheets into one master sheet through referring to a only a specific tabs under these sheets (AS SPREADSHEETS CONATINS MULTIPLE TABS) Also want that the data in the master will only appear submit button is clicked I found so many script and tried them but they all are combining all tabs in the same spreadsheets Is there anyone who can help here ?

using these code :

function myFunctionCOMBINE() {

// ={FILTER({'Partial Data 1'!A2:G,"Data Tab 1 - Row "&ROW('Partial Data 1'!A2:A)}, ‘Partial Data 1'!A2:A<>"");
// FILTER({'Partial Data 2'!A2:G,"Data Tab 2 - Row “&ROW('Partial Data 2'!A2:A)}, ‘Partial Data 2'!A2:A<>"");
// FILTER({*Partial Data 3'!A2:G,"Data Tab 3 - Row “&ROW('Partial Data 3'!A2:A)}, ‘Partial Data 3'!A2:A<>"")}

 
//set variable
const masterSheet = "ASM-A30";
const masterSheetFormulaCell = "A2";
const ignoreSheets = ["Verified NDRx","Business Tracker","NDRX","PMT_EBx","PMT_EBx.","NDRx PMT Business Tracker.","Analysis"];
const dataRange = "A2:AA";
const checkRange = "A2:A" ;
//end set variables

const ss = SpreadsheetApp.getActiveSpreadsheet() ;

ignoreSheets.push(masterSheet) ;

const allsheets = ss.getSheets() ;

const filteredListofSheets = allsheets.filter(s => ignoreSheets.indexOf(s.getSheetName()) == -1);

let formulaArray = filteredListofSheets.map(s => `FILTER({'${s.getSheetName()}'!${dataRange},"${s.getSheetName()} - Row "&ROW('${s.getSheetName()}'!${dataRange})}, '${s.getSheetName()}'!${checkRange}<>"")`);
let formulaText = "={" + formulaArray.join(";")+ "}"

//console.1og( formulaText) ;
ss. getSheetByName(masterSheet).getRange(masterSheetFormulaCell) .setFormula(formulaText) ;

}
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda