Share via

Excel formula

Anonymous
2024-05-10T09:16:05+00:00

My data contains "High evidence/confidence of contamination", "Low evidence/confidence of contamination" and "Insufficient evidence of contamination". I'm using function =COUNTIF(Table46[Overall Assessment],"High evidence/confidence of contamination") in data set. It's working. But when I'm filtering by "Reporting Date" and this data set not changes and it still shows the same result. how should I do?

Microsoft 365 and Office | Excel | Other | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Ashish Mathur 102K Reputation points Volunteer Moderator
    2024-05-10T23:37:02+00:00

    Hi,

    In cell B13, enter this formula

    =SUM((BYROW(A2:A7,LAMBDA(a,SUBTOTAL(103,a))))*(A2:A7=A13))

    Hope this helps.

    Was this answer helpful?

    0 comments No comments
  2. Andreas Killer 144.1K Reputation points Volunteer Moderator
    2024-05-10T10:21:16+00:00

    D1: =SUMPRODUCT((SUBTOTAL(103,INDIRECT("A"&ROW(Table46[Overall Assessment])))=1)*(Table46[Overall Assessment] = "High evidence/confidence of contamination"))

    Filtered:

    If you need further help I need to see your (sample) file.
    Why a sample file is important for troubleshooting. How to do it. - Microsoft Community

    Andreas.

    Was this answer helpful?

    0 comments No comments