Is this possible, function to read list and return largest value?

dooder

New Member
Joined
Jun 27, 2017
Messages
11
So here is what I am trying to achieve

PersonCase#
Joe17Y
Bob17
Bob18Y
Doug17
Doug18
Doug19Y

<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>
</tbody>


I want the third col to "trigger" with a "Y" when col B is the highest value for the variable in col A. I'm playing around with countif functions, and maybe search functions, but I'm just blocked. I tried to do a if A2=A3 or A2=A1 then if B2>B3 etc... but because the number of case# per person varies, it get very long, and gets messed up when I enter a new row. Is there some way I read the col b values into an array for each change in col A, and then return the highest value is col C?
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Welcome to the forums!

This seems to accomplish what you're looking to do.


Excel 2013/2016
ABC
1PersonCase#Formula
2Joe17Y
3Bob17
4Bob18Y
5Doug17
6Doug18
7Doug19Y
Sheet1
Cell Formulas
RangeFormula
C2{=IF(B2=MAX(IF(A:A=A2,B:B)),"Y","")}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Oh, my gosh, thank you. I actually tried something similar to that and gave up, but just realize my col b was read in as text.
 
Upvote 0
Oh, my gosh, thank you. I actually tried something similar to that and gave up, but just realize my col b was read in as text.

Glad I was able to find a working solution for you - thanks for the feedback. Have a good weekend!
 
Upvote 0

Forum statistics

Threads
1,215,692
Messages
6,126,232
Members
449,303
Latest member
grantrob

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