Get MAX value and Other Value based on Criteria

aetedford

New Member
Joined
Mar 26, 2018
Messages
9
Office Version
  1. 365
I have a table (pasted below) showing COMPANY, BRAND, VALUE.

I am trying to put a fomula in E2 that looks at the company name in E1, then looks in the table and picks the brand AND the value for ONLY the MAX for the company in E2.
So, E2 should come up with BRAND3: 30
F2 should come up with BRAND8: 25


Book1
ABCDEFGHI
1COMPANYBRANDVALUECOMPANY1COMPANY2COMPANY3COMPANY4COMPANY5
2Company1Brand115Brand name: valueBrand name: valueBrand name: valueBrand name: valueBrand name: value
3Company1Brand212
4Company1Brand330
5Company1Brand426
6Company2Brand55
7Company2Brand621
8Company2Brand719
9Company2Brand825
10Company3Brand1022
11Company3Brand1124
12Company3Brand1229
13Company3Brand1327
14Company4Brand1416
15Company4Brand153
16Company4Brand1621
17Company4Brand177
18Company5Brand195
19Company5Brand2026
20Company5Brand2128
21Company5Brand2214
Sheet1
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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