Find Max value based on criteria in Excel 2010

gmich13

New Member
Joined
Jul 27, 2017
Messages
2
I am trying to find the max value from column B based on a value in column A. Both columns values are numbers.

A B
100 5
100 5.5
100 6
100 7
110 5
110 6
110 15

I have tried using IF statements but I must be missing something.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Provided the max value is a positive number you can use:

=MAX(INDEX(($A$1:$A$7=A1)*$B$1:$B$7,0))

If not you can use:

=MAX(IF($A$1:$A$7=A1,$B$1:$B$7))

but this one needs CTRL-SHIFT-ENTER not just ENTER to enter it into a cell.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,213
Members
452,618
Latest member
Tam84

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