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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
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,225,110
Messages
6,182,870
Members
453,137
Latest member
pelkbc5172

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