Hi mohamed,
There is different way to hide a formula in excel.
Step I : Select the cell => right click=> Cell-format=> Protection=>Choose hidden=> Press ok.
Step II : Click on review onglet =>Protect sheet =>Choose a password =>Click ok.
Now your formula is hidden.
But you must know that there is different programs that can bypass this security.
:) Good luck