1

I have tables which look like this:

Link

I want to filter out the sum of the maximum values in column C for every unique text value in column A, where the value in column B equals "d".

So for the linked example, the result would be a sum of C3+C6+C9 equaling 9. I am able to get the right results using pivot tables, macros etc., but I'm looking to solve it with a single function.

1 Answer 1

3

Use:

=SUMPRODUCT(MAXIFS(C:C,A:A,A1:A9,B:B,"d")/(COUNTIFS(A:A,A1:A9)))

MAXIFS was introduced with Office 365 Excel

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks! Any clues on how to do this in older versions of ecxel?
@Dag I could not find one that did not include a helper column

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.