Max with Index/Match

joeness419

New Member
Joined
Mar 7, 2017
Messages
4
Hi All

I am having trouble with the following situation

I have a data set
1 A B C D
2 GDP 100 200 300
3 BBB 400 500 600
4 XYZ 700 800 900

I would like to do an index/match formula that returns the largest value for GDP which would be 300 by searching through B2:D4, not just column D.

Any ideas would be great!

Thanks

Joe
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Maybe something like this:
Excel Workbook
ABCDEFG
1ABCDSearchGDP
2GDP100200300300
3BBB400500600
4XYZ700800900
Sheet
 
Upvote 0
Thanks, but what if I want a formula that does all 3 (GDP, BBB, XYZ) at the same time...I would not be able to input $G$1 into the formula....
 
Upvote 0
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
A
[/TD]
[TD]
B
[/TD]
[TD]
C
[/TD]
[TD]
D
[/TD]
[TD]
E
[/TD]
[TD]
F
[/TD]
[/TR]
[TR]
[TD]
1
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]max[/TD]
[/TR]
[TR]
[TD]
2
[/TD]
[TD]
GDP
[/TD]
[TD]
100
[/TD]
[TD]
200
[/TD]
[TD]
300
[/TD]
[TD][/TD]
[TD]
300​
[/TD]
[/TR]
[TR]
[TD]
3
[/TD]
[TD]
BBB
[/TD]
[TD]
400
[/TD]
[TD]
500
[/TD]
[TD]
600
[/TD]
[TD][/TD]
[TD]
600​
[/TD]
[/TR]
[TR]
[TD]
4
[/TD]
[TD]
XYZ
[/TD]
[TD]
700
[/TD]
[TD]
800
[/TD]
[TD]
900​
[/TD]
[TD][/TD]
[TD]
900​
[/TD]
[/TR]
</tbody>[/TABLE]


f2=MAX(IF($A$2:$A$4=A2,$B$2:$D$4)) control+shift+enter copy down
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

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