Use "ChiSquare Quantile" function. See following screenshot to see how the results match.
Notice, the Excel function use right-tail probability, and you need 1 minus that probability for the JSL function.
BTW, I am curious, under what situation, do you need to manually calculate this quantity?