我有下面的示例表,它使用以下有點作業的公式。我這么說是因為在對選項卡進行排序過濾后或有時在添加新行時,經常打開作業表時過濾器公式會出錯。正在設定的值一旦最初設定就不會改變,所以我正在尋找一些幫助,讓我開始使用一個應用程式腳本,如果相應單元格中的值為空,該腳本將設定打開時的值。
由于上述錯誤,我想使用應用程式腳本一,并且也有興趣學習一下。我已經在其他平臺上做了一些 js 作業,并且相信我可以在以下一項或多項幫助下撥入
交易標簽
FILTER(text(B2:B,"MMMM"),Not(ISBLANK(B2:B)))
FILTER(text(B2:B,"YYYY"),Not(ISBLANK(B2:B)))
filter(if(E2:E < 0,"debit","credit"),not(ISBLANK(E2:E)))
filter(VLOOKUP(D2:D,Lists!A:B,2,false),not(ISBLANK(B2:B)))
平衡歷史
FILTER(text(B2:B,"MMMM"),Not(ISBLANK(B2:B)))
FILTER(text(B2:B,"YYYY"),Not(ISBLANK(B2:B)))
ARRAYFORMULA({"Date/Time"; B2:B C2:C})

(更新)
- I updated the code to include the
Groupcolumn value inTransactionssheet. I just read the values in yourListssheet and create a JavaScript Object with column A (Category) as thekeyand column B (Group) as thevalue. Refer tolistsMapvariable on how it was created. - Then I used the current row's category in
Transactionssheet to get its equivalent group value in the JavaScript Object.
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/332767.html
