Hello, I am stuck on creating code to find the max in a set of data and outputting the name of the cell. For Example if I have the following data set:
[TABLE="width: 194"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]VIVIX[/TD]
[TD="align: right"]0.142966875[/TD]
[/TR]
[TR]
[TD]HLIEX[/TD]
[TD="align: right"]0.104074291[/TD]
[/TR]
[TR]
[TD]USNQX[/TD]
[TD="align: right"]0.144564163[/TD]
[/TR]
[TR]
[TD]HNASX[/TD]
[TD="align: right"]0.072884645[/TD]
[/TR]
[TR]
[TD]SCVIX[/TD]
[TD="align: right"]0.068055342[/TD]
[/TR]
[TR]
[TD]MMYLX[/TD]
[TD="align: right"]0.056515137[/TD]
[/TR]
[TR]
[TD]JDSCX[/TD]
[TD="align: right"]0.080380966[/TD]
[/TR]
[TR]
[TD]WAMCX[/TD]
[TD="align: right"]0.03907045[/TD]
[/TR]
</tbody>[/TABLE]
The funtion needs evaluate the entire data set and output the name next to the max so in this case USNQX
Thank you for your help.
[TABLE="width: 194"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]VIVIX[/TD]
[TD="align: right"]0.142966875[/TD]
[/TR]
[TR]
[TD]HLIEX[/TD]
[TD="align: right"]0.104074291[/TD]
[/TR]
[TR]
[TD]USNQX[/TD]
[TD="align: right"]0.144564163[/TD]
[/TR]
[TR]
[TD]HNASX[/TD]
[TD="align: right"]0.072884645[/TD]
[/TR]
[TR]
[TD]SCVIX[/TD]
[TD="align: right"]0.068055342[/TD]
[/TR]
[TR]
[TD]MMYLX[/TD]
[TD="align: right"]0.056515137[/TD]
[/TR]
[TR]
[TD]JDSCX[/TD]
[TD="align: right"]0.080380966[/TD]
[/TR]
[TR]
[TD]WAMCX[/TD]
[TD="align: right"]0.03907045[/TD]
[/TR]
</tbody>[/TABLE]
The funtion needs evaluate the entire data set and output the name next to the max so in this case USNQX
Thank you for your help.