Wolfram Function Examples
The Wolfram function allows users to execute Wolfram Language code from Excel without needing to deploy a Wolfram API. It requires the user to have some Wolfram Language knowledge. The user must be signed into a cloud account for this function to work. Following are examples that show different aspects of the Wolfram function.
A Wolfram function that calls RandomInteger:
=Wolfram("RandomInteger")
A Wolfram function that calls RandomInteger with additional arguments:
=Wolfram("RandomInteger",5,10)
This is the equivalent of running the following function:
A Wolfram function that calls RandomInteger with Excel references as arguments:
=Wolfram("RandomInteger",A1,A2)
Calling a pure function from the Wolfram function:
=Wolfram("#1+#2&",5,6)
Calling a Wolfram Language expression (using a pure function):
=Wolfram("Now&")