Click here for more detailsI will assist you in creating your own custom formula in excelI will help you create your own custom formula in excel and create an addin file for you
This can be used to distribute the functionality to other Excel sheets and reuse the formula