公式要自己写的,不过帆软的功能很强大,基本的都可以解决,你传的Excel我看不懂,可以写下具体需求
参考条件汇总:
https://help.fanruan.com/finereport/doc-view-345.html?source=4