Search code examples
arraysif-statementgoogle-sheetsfiltergoogle-sheets-formula

IF Statement if it match range of data


Dear all experts here,

How should I draft my IF Statement here if I am looking to label "Yes" and "No" if it match the date in Column B. Here is the trix

enter image description here


Solution

  • use:

    =ARRAYFORMULA(IF((A2:A29>=B2)*(A2:A29<B3), "Yes", "No"))
    

    enter image description here