我的任务是弄清楚这是否可行。我以前没有见过这种类型的语言/公式,当我在网上浏览这些公式时,我似乎找不到任何关于每个函数的具体定义。该工作簿有 3 张工作表:查询表、数据表和 Macro1。这些出现在 Macro1 上。
找到一个 API、帮助或其他东西来解决这个问题会很好。
Cmd ExtractData (a)
=DEFINE.NAME("Criteria",'Query Sheet'!P1:W2)
=DEFINE.NAME("Extract",'Query Sheet'!$A$7:$N$7)
=DEFINE.NAME("Database",'Data Sheet'!Database)
=EXTRACT(FALSE)
=IF(ISBLANK(!A8))
= SELECT("r8c1")
= FORMULA("No Match Found")
=ELSE()
= SELECT("r7c1")
= SELECT.END(4)
= ROW(ACTIVE.CELL())
= FORMULA.FILL("=Serr_(RC[-9],RC[-8],RC[-7],RC[-6],RC[-3],RC[-2],RC[-1])","R8C14:R"&TEXT(B13,0)&"C14")
= SELECT("R8C1:R"&TEXT(B13,0)&"C14")
= IF(mSTB="U")
= SORT(1,"R8C9",2,"R8C14",1)
= ELSE.IF(mSTB="S")
= SORT(1,"R8C9",1,"R8C14",1)
= ELSE()
= SORT(1,"R8C14",1)
= END.IF()
= SELECT("R8C1")
=END.IF()
=RETURN()
Fctn SErr_
=RESULT(1)
=ARGUMENT("Acet",1)
=ARGUMENT("Agar",1)
=ARGUMENT("PH9",1)
=ARGUMENT("PH6",1)
=ARGUMENT("IEF",1)
=ARGUMENT("Short",1)
=ARGUMENT("Long",1)
=VarM_(!mAcet,Acet)
=VarM_(!mAgar,Agar)
=VarM_(!mPH9,PH9)
=VarM_(!mPH6,PH6)
=VarM_(!mIEF,IEF)
=VarM_(!mShort,Short)
=VarM_(!mLong,Long)
=RETURN(SUMSQ(B36:B42))
Fctn VarM_
=RESULT(1)
=ARGUMENT("mNT",3)
=ARGUMENT("sN",1)
=IF(OR(ISTEXT(mNT),sN= -99),RETURN(0), RETURN(mNT-sN))