Find MAX(Column C) where Row in Column B = 1

Twatwood

New Member
Joined
Nov 10, 2016
Messages
13
Office Version
  1. 365
Platform
  1. Windows
I have a need to find out which Person has the highest number of reviews performed that found 1 defect

Sample data:

Column A
(Person)
Column B
(Defects Found)
Column C
(Reviews Performed)
11065
21142
31285
41454
52025
62174
72345
831108
93315
103585
114149

<tbody>
</tbody>

In the above, person 2 did 74 reviews that found 1 defect
Once I get the 74 review count, I plan to do an INDEX/MATCH to identify that it was Person 2

To get the 74 I tried this, but it didn't work

{=IF(B1:B11=1,MAX(C1:C11),0)}

Any suggestions on how to fix this?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Based on your expressed logic, why would you not have a greater expectation for returning Person 3 than you indicated you have for Person 2, because Person 3 had 108 reviews performed with only 1 defect found.
 
Upvote 0
Hi,

The correct result should be 108 from Person 3, also pointed out by Tom, try it this way, CSE formula cause I don't have MAXIF:


Book1
ABCDE
1(Person)(Defects Found)(Reviews Performed)
21065108
31142
41285
51454
62025
72174
82345
931108
103315
113585
124149
Sheet85
Cell Formulas
RangeFormula
E2{=MAX(IF(B2:B12=1,C2:C12))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Last edited:
Upvote 0
Yes, the correct answer is 108 (my bad)

And, that works.

Thanks mate.
 
Upvote 0

Book1
ABCDE
1(Person)(Defects Found)(Reviews Performed)1
21065108
31142who?
412853
514548
62025
72174
82345
931108
103315
113585
124149
1353108
1481108
Sheet1


In E2 just enter:

=MAXIFS($C$2:$C$14,$B$2:$B$14,E$1)

If there is no MAXIFS on your system, control+shift+enter, not just enter:

=MAX(IF($B$2:$B$14=E$1,$C$2:$C$14))

In E4 control+shift+enter, not just enter, and copy down:

=IF(ROWS(E$4:E4)>COUNTIFS($B$2:$B$14,E$1,$C$2:$C$14,E$2),"",INDEX($A$2:$A$14,SMALL(IF($B$2:$B$14=E$1,IF($C$2:$C$14=E$2,ROW($A$2:$A$14)-ROW($A$2)+1)),ROWS(E$4:E4))))
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,496
Members
449,089
Latest member
Raviguru

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top