Index/Match and return header

eaje92

New Member
Joined
Feb 19, 2018
Messages
16
Hi i would like some help with returning column headers based on the highest value in the specific row that will change constantly. Much appreciated!

An example would be:

State16/08/201713/09/201720/09/201727/09/201704/10/201711/10/201718/10/201720/10/2017
1 0 0 0 0 11 19 112 0
2 0 0 0 20 0 0 68 0
3 0 0 0 0 71 7 39 0

<tbody>
</tbody>

<tbody>
</tbody>


For my results,

StateResult
2 (dynamically changing)18/10/2017








<tbody>
</tbody>
 

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

Excel 2010
ABCDEFGHIJKL
1State16/08/201713/09/201720/09/201727/09/20174/10/201711/10/201718/10/201720/10/2017218/10/2017
21000011191120
320002000680
430000717390
Sheet26
Cell Formulas
RangeFormula
L1=INDEX(B1:I1,MATCH(MAX(INDEX(B2:I4,MATCH(K1,A2:A4,0),)),INDEX(B2:I4,MATCH(K1,A2:A4,0),),0))
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,806
Members
449,048
Latest member
greyangel23

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