加个if判断一下
if(find("/",K9)=0,"",你的公式)
常用函数集合插件 https://help.fanruan.com/finereport/doc-view-1493.html
用这个判断下
=============
ProcessErrorValue(你的公式, "")
这样错误时候,返回空值