I am using a UDF to calculate the % change between two numbers
I want the value that's returned to be automatically formatted as a percentage
Here is my code so far
What do I need to add to accomplish this
I want the value that's returned to be automatically formatted as a percentage
Here is my code so far
Code:
Public Function PercentChange(current, last)
PercentChange = (current - last) / Abs(last)
End Function
What do I need to add to accomplish this