Attempting to count a named range "STATUS" if the value of the cells equals Reserved, Blocked, Pending OR Archive with multiple other countif criteria.
Everything else works, but the array formula I used for counting the status is only returning a count if the cell value = Reserved.
Here is the formula I'm using:
=(COUNTIFS(DATES,">="&A3,DATES,"<"&EDATE(A3,1),AGENT,"TEST",COMPANY,"TEST",STATUS,{"Reserved","Blocked","Pending","Archive"}))
Any help would be greatly appreciated. Thank you in advance.
Us Sum to countifs
Try using =OR logic.. Replace the following for your STATUS portion
EDIT:
Since the previous advice did not work, try this:
=SUMPRODUCT((DATES>=A3)*(DATES<EDATE(A3,1))*(AGENT="TEST")*(COMPANY="TEST")*((STATUS="Reserved")+(STATUS="Blocked")+(STATUS="Pending")+(STATUS="Archive")))
It would be great if you could provide some sample data or even a screenshot of your sheet.