Filter excel content using filter JS

Hello, I’m trying to filter excel data, I take the object and apply the following script excel_content.Worksheet.filter(({type, tp cod cli, prz current, prz prop }) => tp cod cli == “IND” && current prz != prz prop);

It must filter everything that is current IND and prz != prz prop the problem that doesn’t work because excel headers have space. In other words, tp cod cli soon the function does not work. Does anybody know how to solve this?

@pedro.azevedo Since header contains spaces then it must be declared as a string.
or use cell position instead and try.