Sean Cheshire's comment is probably the best answer you get:
Excel Formula Beautifier
It has a function that allows you to convert to javascript.
The only thing that is apparently missing is the ability to make a batch of formulas at once (which will save a lot of time if the whole sheet is converted using the "Show Formulas"). I have added a request for this .
Given how the application works now, if you are trying to insert a package into a single-line input field, you can still get a result that is at least somewhat useful. I recommend a try.
source share