Forum Discussion

donchips90's avatar
donchips90
Copper Contributor
Feb 07, 2022
Solved

Excel on COUNTIFS

Can anyone help with what is wrong in this formula =COUNTIFS(B2:B5,">=EOMONTH(TODAY(),-2) +1",C2:C5,"N/A",D2:D5,"<=EOMONTH(TODAY(),-2) +28") it's return value is just zero. please help me.
  • HansVogelaar's avatar
    Feb 07, 2022

    donchips90 

    Place the expressions using EOMONTH outside the quotes:

     

    =COUNTIFS(B2:B5,">="&EOMONTH(TODAY(),-2) +1,C2:C5,"N/A",D2:D5,"<="&EOMONTH(TODAY(),-2) +28)

Resources