How to obtain highest value in a specific category using a formula?

abupu

New Member
Joined
Aug 17, 2011
Messages
17
Hi guys,

Here's the problem im having:

<table border="0" cellpadding="0" cellspacing="0" width="176"><colgroup><col style="width:48pt" width="64"> <col style="mso-width-source:userset;mso-width-alt:4096;width:84pt" width="112"> </colgroup><tbody><tr style="height:12.75pt" height="17"> <td class="xl1132" style="height:12.75pt;width:48pt" height="17" width="64">Category</td> <td class="xl1132" style="border-left:none;width:84pt" width="112">Values</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl1132" style="height:12.75pt;border-top:none" height="17">1</td> <td class="xl1133" style="border-top:none;border-left:none">10</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl1132" style="height:12.75pt;border-top:none" height="17">1</td> <td class="xl1133" style="border-top:none;border-left:none">20</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl1132" style="height:12.75pt;border-top:none" height="17">2</td> <td class="xl1133" style="border-top:none;border-left:none">30</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl1132" style="height:12.75pt;border-top:none" height="17">2</td> <td class="xl1133" style="border-top:none;border-left:none">40</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl1132" style="height:12.75pt;border-top:none" height="17">1</td> <td class="xl1133" style="border-top:none;border-left:none">60</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl1132" style="height:12.75pt;border-top:none" height="17">1</td> <td class="xl1133" style="border-top:none;border-left:none">50</td> </tr> </tbody></table>
I want to find the highest value in category 1, using a formula. The value in this instance should be 60.

Any idea how i could write this as a formula?

PS: the category rows will always be in random order so would like to do this without needing to sort the category.
 
Last edited:

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,224,505
Messages
6,179,153
Members
452,891
Latest member
JUSTOUTOFMYREACH

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