Thread: Finding MAX based on MATCH

1. Finding MAX based on MATCH

I have a data table that looks like the following;

Item Operation Is Max
X 20
X 30
X 40
Y 10
Y 20
Y 30
Z 40
Z 50
Z 60

I'm looking for a formula for the 'Is Max' column where, it looks for all Item matches and then returns "No" or "Yes" based on the highest Operation value. So, the end product would look like;

Item Operation Is Max
X 20 No
X 30 No
X 40 Yes
Y 10 No
Y 20 No
Y 30 Yes
Z 40 No
Z 50 No
Z 60 Yes

Any help would be much appreciated!!

2. Try an array formula:

Code:
`=IF(MAX(IF(\$A\$2:\$A\$10=A2,\$B\$2:\$B\$10))=B2,"Yes","No")`
Confirmed as an array formula with CSE (Ctrl-Shift-Enter).

3. Originally Posted by smokeisrising
I have a data table that looks like the following;

Item Operation Is Max
X 20
X 30
X 40
Y 10
Y 20
Y 30
Z 40
Z 50
Z 60

I'm looking for a formula for the 'Is Max' column where, it looks for all Item matches and then returns "No" or "Yes" based on the highest Operation value. So, the end product would look like;

Item Operation Is Max
X 20 No
X 30 No
X 40 Yes
Y 10 No
Y 20 No
Y 30 Yes
Z 40 No
Z 50 No
Z 60 Yes

Any help would be much appreciated!!

here is something that you might be able to use.. it dost have the yes /no.. but it returns your highest value for a given X Y Z..

4. Originally Posted by jason_r
here is something that you might be able to use.. It dost have the yes /no.. But it returns your highest value for a given x y z..

here try this again.. The formula is in column d ... Just when you enter it. You mus hit "ctrl+shft+enter" because its and array formula... I also added a small look up drop down that may come in handy for you..

5. =IF(MAX(INDEX((\$A\$1:\$A\$25=A1)*\$B\$1:\$B\$25,0))=B1,"yes","no")

Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•