Add and count

Find the highest number in one category

=MAXIFS(B2:B5,A2:A5,E2)

How it works in Excel

The idea in general

First narrow the list to one group, then pick its biggest number.

What I assumed

Check the result on your own data before relying on it.

Related

Ask another question