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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
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
A
B
C
D
E
F
1
max
2
GDP
100
200
300
300​
3
BBB
400
500
600
600​
4
XYZ
700
800
900​
900​

<tbody>
</tbody>


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

Forum statistics

Threads
1,215,429
Messages
6,124,839
Members
449,193
Latest member
MikeVol

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