Is there a way to get the exact results as in Excel for this function. I am also sharing my Node code to experiment with the function.
const formularjs = require('@formulajs/formulajs');
let array =[71,13,23,32,45,99,103,71,43,11,91,21,45,45,89,66,41,29,66,63];
let compare_array =[11,19,17,31,32,43,71,63,35,13,73,74,81,100,13,41,31,29,31,33];
compare_array.forEach(function(n){
let pr = formularjs.PERCENTRANKINC(array,n,3);
console.log(pr);
});