I have no idea how LOGNORMDIST works, but you could use Evaluate, like

myval = Evaluate("LOGNORMDIST(4,3.5,1.2)")