Formula Returning Tree With Largest Profit

sacman

New Member
Joined
Feb 5, 2011
Messages
16
I am posting a question using one of the examples from Excel's help files with this stipulation: I do not want a formula that requires the Control+Shift+Enter as those types have not been consistently accurate. I'm not sure what that type of formula is called.

Is there a formula or a combination of formulas that will identify the apple tree with the maximum profit in the following chart? The DMAX returns a value but I cannot locate a funtion that will identify the actual item (as a text) in a database.


Tree Profit
Apple A 105
Pear A 96
Cherry A 105
Apple B 75
Pear B 9 76.8
Apple C 45

Obviously the answer I want returned by the formula in this example would be Apple-A but the application for this is much larger. I wanted to phrase my question in the simplest manner as I tend to overcomplicate things :) .

Sorry about the poorly written chart. I tried several ways to copy/paste but the result was always a concatinated mess of text.

Allen
 
ah, I missed the initial bit about the array formulas, though if the results were inaccurate, it was due to a poorly setup formula vs. any real accuracy issues with array formulas themselves.

Thanks.

So much to learn, so much to learn ... so little time.

:help:

Allen
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
this will rank the fruits according to the value, but ignores the ABorC non array though, maybe you can adapt

Excel Workbook
FGHIJKL
51ABCDEF
521AppleA1051AppleA
532AppleB752CherryA
543AppleC453PearB
554CherryA1051
565PearA76.82
576PearB961
Sheet1
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,702
Members
452,938
Latest member
babeneker

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