[TABLE="class: grid, width: 575"]
<tbody>[TR]
[TD][/TD]
[TD]GBCAT-1[/TD]
[TD]GBCAT-2[/TD]
[TD]GBCAT-3[/TD]
[TD]GBCAT-4[/TD]
[TD]GBCAT-5[/TD]
[TD]GBCAT-6[/TD]
[TD]GBCAT-7[/TD]
[TD]GBCAT-8[/TD]
[/TR]
[TR]
[TD]GBCAT-1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.226[/TD]
[TD="align: right"]0.234[/TD]
[TD="align: right"]0.216[/TD]
[TD="align: right"]0.248[/TD]
[TD="align: right"]0.205[/TD]
[TD="align: right"]0.201[/TD]
[TD="align: right"]0.196[/TD]
[/TR]
[TR]
[TD]GBCAT-2[/TD]
[TD="align: right"]0.226[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.235[/TD]
[TD="align: right"]0.208[/TD]
[TD="align: right"]0.194[/TD]
[TD="align: right"]0.192[/TD]
[TD="align: right"]0.18[/TD]
[TD="align: right"]0.207[/TD]
[/TR]
[TR]
[TD]GBCAT-3[/TD]
[TD="align: right"]0.234[/TD]
[TD="align: right"]0.235[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.21[/TD]
[TD="align: right"]0.249[/TD]
[TD="align: right"]0.205[/TD]
[TD="align: right"]0.203[/TD]
[TD="align: right"]0.184[/TD]
[/TR]
[TR]
[TD]GBCAT-4[/TD]
[TD="align: right"]0.216[/TD]
[TD="align: right"]0.208[/TD]
[TD="align: right"]0.21[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.195[/TD]
[TD="align: right"]0.17[/TD]
[TD="align: right"]0.168[/TD]
[TD="align: right"]0.193[/TD]
[/TR]
[TR]
[TD]GBCAT-5[/TD]
[TD="align: right"]0.248[/TD]
[TD="align: right"]0.194[/TD]
[TD="align: right"]0.249[/TD]
[TD="align: right"]0.195[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.212[/TD]
[TD="align: right"]0.199[/TD]
[TD="align: right"]0.188[/TD]
[/TR]
[TR]
[TD]GBCAT-6[/TD]
[TD="align: right"]0.205[/TD]
[TD="align: right"]0.192[/TD]
[TD="align: right"]0.205[/TD]
[TD="align: right"]0.17[/TD]
[TD="align: right"]0.212[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.05[/TD]
[TD="align: right"]0.125[/TD]
[/TR]
[TR]
[TD]GBCAT-7[/TD]
[TD="align: right"]0.201[/TD]
[TD="align: right"]0.18[/TD]
[TD="align: right"]0.203[/TD]
[TD="align: right"]0.168[/TD]
[TD="align: right"]0.199[/TD]
[TD="align: right"]0.05[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.127[/TD]
[/TR]
[TR]
[TD]GBCAT-8[/TD]
[TD="align: right"]0.196[/TD]
[TD="align: right"]0.207[/TD]
[TD="align: right"]0.184[/TD]
[TD="align: right"]0.193[/TD]
[TD="align: right"]0.188[/TD]
[TD="align: right"]0.125[/TD]
[TD="align: right"]0.127[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
I am having huge data (4000x4000) the above data is sample of it, I need to find and retrive 1st, 2nd and 3rd highest and lowest values returning their column and row names as below:
[TABLE="class: grid, width: 1091"]
<tbody>[TR]
[TD]Find 1st highest[/TD]
[TD="align: right"]0.249[/TD]
[TD][/TD]
[TD]Find 2nd highest[/TD]
[TD="align: right"]0.248[/TD]
[TD][/TD]
[TD]Find 3rd highest[/TD]
[TD="align: right"]0.235[/TD]
[TD][/TD]
[TD]Find 1st lowest[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD]Find 2nd lowest[/TD]
[TD="align: right"]0.05[/TD]
[TD][/TD]
[TD]Find 3rd lowest[/TD]
[TD="align: right"]0.125[/TD]
[/TR]
[TR]
[TD]GBCAT-3[/TD]
[TD]GBCAT-5[/TD]
[TD][/TD]
[TD]GBCAT-1[/TD]
[TD]GBCAT-5[/TD]
[TD][/TD]
[TD]GBCAT-2[/TD]
[TD]GBCAT-3[/TD]
[TD][/TD]
[TD]GB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TD]GBCAT-6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]GBCAT-7[/TD]
[TD]GBCAT-7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]GBCAT-8[/TD]
[TD]GBCAT-8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any kind of help, formula else script will be appereciated, thank you!
<tbody>[TR]
[TD][/TD]
[TD]GBCAT-1[/TD]
[TD]GBCAT-2[/TD]
[TD]GBCAT-3[/TD]
[TD]GBCAT-4[/TD]
[TD]GBCAT-5[/TD]
[TD]GBCAT-6[/TD]
[TD]GBCAT-7[/TD]
[TD]GBCAT-8[/TD]
[/TR]
[TR]
[TD]GBCAT-1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.226[/TD]
[TD="align: right"]0.234[/TD]
[TD="align: right"]0.216[/TD]
[TD="align: right"]0.248[/TD]
[TD="align: right"]0.205[/TD]
[TD="align: right"]0.201[/TD]
[TD="align: right"]0.196[/TD]
[/TR]
[TR]
[TD]GBCAT-2[/TD]
[TD="align: right"]0.226[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.235[/TD]
[TD="align: right"]0.208[/TD]
[TD="align: right"]0.194[/TD]
[TD="align: right"]0.192[/TD]
[TD="align: right"]0.18[/TD]
[TD="align: right"]0.207[/TD]
[/TR]
[TR]
[TD]GBCAT-3[/TD]
[TD="align: right"]0.234[/TD]
[TD="align: right"]0.235[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.21[/TD]
[TD="align: right"]0.249[/TD]
[TD="align: right"]0.205[/TD]
[TD="align: right"]0.203[/TD]
[TD="align: right"]0.184[/TD]
[/TR]
[TR]
[TD]GBCAT-4[/TD]
[TD="align: right"]0.216[/TD]
[TD="align: right"]0.208[/TD]
[TD="align: right"]0.21[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.195[/TD]
[TD="align: right"]0.17[/TD]
[TD="align: right"]0.168[/TD]
[TD="align: right"]0.193[/TD]
[/TR]
[TR]
[TD]GBCAT-5[/TD]
[TD="align: right"]0.248[/TD]
[TD="align: right"]0.194[/TD]
[TD="align: right"]0.249[/TD]
[TD="align: right"]0.195[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.212[/TD]
[TD="align: right"]0.199[/TD]
[TD="align: right"]0.188[/TD]
[/TR]
[TR]
[TD]GBCAT-6[/TD]
[TD="align: right"]0.205[/TD]
[TD="align: right"]0.192[/TD]
[TD="align: right"]0.205[/TD]
[TD="align: right"]0.17[/TD]
[TD="align: right"]0.212[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.05[/TD]
[TD="align: right"]0.125[/TD]
[/TR]
[TR]
[TD]GBCAT-7[/TD]
[TD="align: right"]0.201[/TD]
[TD="align: right"]0.18[/TD]
[TD="align: right"]0.203[/TD]
[TD="align: right"]0.168[/TD]
[TD="align: right"]0.199[/TD]
[TD="align: right"]0.05[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0.127[/TD]
[/TR]
[TR]
[TD]GBCAT-8[/TD]
[TD="align: right"]0.196[/TD]
[TD="align: right"]0.207[/TD]
[TD="align: right"]0.184[/TD]
[TD="align: right"]0.193[/TD]
[TD="align: right"]0.188[/TD]
[TD="align: right"]0.125[/TD]
[TD="align: right"]0.127[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
I am having huge data (4000x4000) the above data is sample of it, I need to find and retrive 1st, 2nd and 3rd highest and lowest values returning their column and row names as below:
[TABLE="class: grid, width: 1091"]
<tbody>[TR]
[TD]Find 1st highest[/TD]
[TD="align: right"]0.249[/TD]
[TD][/TD]
[TD]Find 2nd highest[/TD]
[TD="align: right"]0.248[/TD]
[TD][/TD]
[TD]Find 3rd highest[/TD]
[TD="align: right"]0.235[/TD]
[TD][/TD]
[TD]Find 1st lowest[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD]Find 2nd lowest[/TD]
[TD="align: right"]0.05[/TD]
[TD][/TD]
[TD]Find 3rd lowest[/TD]
[TD="align: right"]0.125[/TD]
[/TR]
[TR]
[TD]GBCAT-3[/TD]
[TD]GBCAT-5[/TD]
[TD][/TD]
[TD]GBCAT-1[/TD]
[TD]GBCAT-5[/TD]
[TD][/TD]
[TD]GBCAT-2[/TD]
[TD]GBCAT-3[/TD]
[TD][/TD]
[TD]GBCAT-1[/TD]
[TD]GBCAT-1[/TD]
[TD][/TD]
[TD]GBCAT-6[/TD]
[TD]GBCAT-7[/TD]
[TD][/TD]
[TD]GBCAT-6[/TD]
[TD]GBCAT-8[/TD]
[/TR]
[TR]
[TD]GBCAT-5[/TD]
[TD]GBCAT-3[/TD]
[TD][/TD]
[TD]GBCAT-5[/TD]
[TD]GBCAT-1[/TD]
[TD][/TD]
[TD]GBCAT-3[/TD]
[TD]GBCAT-2[/TD]
[TD][/TD]
[TD]GBCAT-2[/TD]
[TD]GBCAT-2[/TD]
[TD][/TD]
[TD]GBCAT-7[/TD]
[TD]GBCAT-6[/TD]
[TD][/TD]
[TD]GBCAT-8[/TD]
[TD]GBCAT-6[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]GBCAT-3[/TD]
[TD]GBCAT-3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]GBCAT-4[/TD]
[TD]GBCAT-4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]GBCAT-5[/TD]
[TD]GBCAT-5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]GBCAT-6[/TD]
[TD]GBCAT-6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]GBCAT-7[/TD]
[TD]GBCAT-7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]GBCAT-8[/TD]
[TD]GBCAT-8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any kind of help, formula else script will be appereciated, thank you!