We have attached a corrected UDF code and some screen shot of the input and output.





We hope it will help you resolve the issue.
If you have any issue feel free to revert.
Modified on: Thu, 12 May, 2016 at 5:25 PM
Did you find it helpful? Yes No
Send feedback