colinheslop1984
Board Regular
- Joined
- Oct 14, 2016
- Messages
- 129
- Office Version
- 2016
I need a formula to return the name of the column which contains the highest number within a chosen row. Below is the table layout I am using. Assume the column names are also the cell references I am using, i.e. B1 would be 200. I need the formula to tell me "H" is the highest and return the name of the column for H. The cell I want to show this data is R2.
[TABLE="width: 960"]
<tbody>[TR]
[TD][/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[TD]N[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD] 200[/TD]
[TD] 12[/TD]
[TD] 57[/TD]
[TD] 43[/TD]
[TD] 500[/TD]
[TD] 76[/TD]
[TD] 890[/TD]
[TD] 355[/TD]
[TD] 650[/TD]
[TD] 138[/TD]
[TD] 99[/TD]
[TD] 70[/TD]
[TD] 8[/TD]
[TD="align: right"]0.0%[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD="align: right"]0.0%[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD="align: right"]0.0%[/TD]
[/TR]
[TR]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 960"]
<tbody>[TR]
[TD][/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[TD]L[/TD]
[TD]M[/TD]
[TD]N[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD] 200[/TD]
[TD] 12[/TD]
[TD] 57[/TD]
[TD] 43[/TD]
[TD] 500[/TD]
[TD] 76[/TD]
[TD] 890[/TD]
[TD] 355[/TD]
[TD] 650[/TD]
[TD] 138[/TD]
[TD] 99[/TD]
[TD] 70[/TD]
[TD] 8[/TD]
[TD="align: right"]0.0%[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD="align: right"]0.0%[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD="align: right"]0.0%[/TD]
[/TR]
[TR]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]