Maximum value index function

Jono_NZ

Board Regular
Joined
Sep 4, 2007
Messages
75
Hi,

I'm trying to return whether a given value is the maximum value in it's respective category. Is there a way to include the max function in a sumproduct, index formula?

Thanks

Column A Column B Column C
Category Value Max. Value?
Apples 370 No
Apples 501 No
Apples 914 Yes
Apples 572 No
Apples 327 No
Oranges 17
Oranges 870
Oranges 296
Oranges 661
Oranges 116
Oranges 974
Pears 404
Pears 328
Pears 343
Pears 85
Pears 464
Pears 201
Pears 589
Pears 392
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Try this array formula entered with CTRL + SHIFT + ENTER

This will give you a True or False instead of yes or no
=B1=MAX(IF($A$1:$A$20=A1,$B$1:$B$20))

Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,233
Members
452,898
Latest member
Capolavoro009

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