[英]Google Sheets, IF, AND, REGEXMATCH, DATE combined Formula
我正在努力實現以下目標:
IF
Cells B5:B6 and B8:B9 contains ☑
AND
Todays date is less than 7 days after the date defined in cell B2
THEN
In the cell the formula is added write 'On Time' otherwise write 'Behind'
我已經嘗試過以下公式,但是會返回“公式解析錯誤”
=IF(AND((REGEXMATCH((B5:B6,B8:B9), "☑")),(B2+7) < today() ), 'On Time', 'Running Behind')
關於如何實現此功能的任何想法?
編輯
從測試來看,問題似乎在於REGEXMATCH
無法以我定義它的方式檢查2個不同的單元格。
可能需要使用ArrayFormula(--
來自一些研究
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.