You need to install Analysis ToolPak add-in

Go to Tools menu,select "Add-ins" and under that tick "Analysis ToolPak" box then re-type formula