The project I am looking for is for excel.
Let's say a formula comes up with the number "1" as an answer in cell b2.
In cell c4 is the user defined function.
I want the result (ie 1) to be in c4 for very small amount of time (defined in the function).
Then after this time, the answer in cell c4 would change the value to a different number (defined in the function).
The function inputs would read like this.
In cell c4:
If B2=1, then answer is "2" for 5 seconds, then become number "3". Otherwise answer is "3".