You cannot. How could you expect to delete the data used by your function and yet not affect the result of the function?
I am not sure what you are really describing because you refer to deleting columns but you are referring to cells. What is it exactly that you want to delete?
And last, your function is a custom function so we don't even know what it does.