Forum Discussion

Reza Dashti's avatar
Reza Dashti
Copper Contributor
Sep 25, 2020
Solved

IF function

Hi i use COUNTIF + AND functions to count the number of some courses.  i want to count course and status at the same time. i mean count the number of LANUGUAGE when STATUS is yes. for example there ...
  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Sep 25, 2020

    Reza Dashti That could be:

    =SUMPRODUCT(--(C2:C5="language")*--(F2:F5="yes"))

    or

    =COUNTA(FILTER(C2:C5,(C2:C5="language")*(F2:F5="yes")))

     in case you are a MS365 subscriber.

Resources