Hi there I am trying to create the following function but I cannot seem to get it working correctly. Any ideas?
Any help would be grately appreciated.![]()
Public Function Result(Formula, Current, Previous) If Formula = "NPID" Then Result = (Current - Previous) / Previous If Formula = "PPID" Then Result = Current End Function
Bookmarks