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

312
Vistas
Why does sheet.js not read formular generated excel data?

So i have a birthday excel which looks like this: (Sorry i haven't found a better method to upload the excel data..) enter image description here

And i want to read my excel with sheet.js but i can't figure out what i'm missing or doing wrong. So the Age ("Alter" in my Screenshot) is generated by a simple formular which takes the birthdate and subtracts it from the current date.The birthdate is typed in staticly. Just FYI

Now i have the following code:

const path = require("path");
const xlsx = require("xlsx");

const filePath = path.resolve(__dirname, "Mitarbeiter Geburtstagsliste.xlsx");

const workbook = xlsx.readFile(filePath);
const sheetNames = workbook.SheetNames;
//console.log(workbook.Sheets[sheetNames[0]])

const data = xlsx.utils.sheet_to_json(workbook.Sheets[sheetNames[0]]);

data.map(person => {
    console.log(`${person.Name} is ${person.Alter} old!`)
})

And when i console log i get undefined for every param as output, why is that?

undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
undefined is undefined old!
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