function doGet(e) { const ss = SpreadsheetApp.openById('1aVYWo9CMD0u6UZy8YhC_eVwVR3McnV2IlHHaPmCMIF0'); const sheet = ss.getSheetByName('Sheet1'); // muda para o nome da tua aba const data = sheet.getDataRange().getValues(); const rows = data.slice(1); // ignora cabeçalhos // pilotos únicos const pilotos = [...new Set(rows.map(r => r[3]).filter(p => p))]; // construir HTML let html = `
`; pilotos.forEach(piloto => { html += ``; }); html += `
`; return HtmlService.createHtmlOutput(html); }