jpt@zasa.com has the best answer. There is
another way to do this without protecting the cells by Using Names:
Enter Formula in a cell in Absolute Reference:
Example =Sum($A$1:$A$10)+Average($A$5:$A$10)Double Click or F2 to Edit Cell
SelectEntire Formula and = then cut formula
From Menu, Insert, Name, Define...
Give a Meaningful Name
Example CostRate
Paste Formula in Refer to Field
Click OK
Create the Following Macro:
Sub HideMyFormula
ActiveWorkbook.Names.Item _
("CostRate").Visible = False
End Sub
Run the Macro
Now Enter "=CostRate" in the Cell you want the data in.
The users cannot see the formula because the
name is hidden, but they can use it on the worksheet.