Hey everyone,
I have been working on this problem for a while and cannot find an easy solution to do it without VB. If possible, I'd like to use a formula for it. I will accept VB answers though if you have them.
I have a database that is about 600x600. I already have a function that finds the top 3 values of the range. Now I need to find the row header and column header for each of the top three values.
For example, for the table below, I know the top three values are 4, 3, and 2. I want to find a function that will return "Red-Hot" given 4. Any thoughts?
<table border="0" cellpadding="0" cellspacing="0" width="256"><colgroup><col style="width:48pt" span="4" width="64"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td style="height:15.0pt;width:48pt" height="20" width="64">
</td> <td style="width:48pt" width="64">Red</td> <td style="width:48pt" width="64">Blue</td> <td style="width:48pt" width="64">Green</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">Hot</td> <td align="right">4
</td> <td align="right">1</td> <td align="right">0</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">Warm</td> <td align="right">0</td> <td align="right">0</td> <td align="right">2</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">Cold</td> <td align="right">3</td> <td align="right">0</td> <td align="right">0</td> </tr> </tbody></table>
Thanks for any help you can give.
I have been working on this problem for a while and cannot find an easy solution to do it without VB. If possible, I'd like to use a formula for it. I will accept VB answers though if you have them.
I have a database that is about 600x600. I already have a function that finds the top 3 values of the range. Now I need to find the row header and column header for each of the top three values.
For example, for the table below, I know the top three values are 4, 3, and 2. I want to find a function that will return "Red-Hot" given 4. Any thoughts?
<table border="0" cellpadding="0" cellspacing="0" width="256"><colgroup><col style="width:48pt" span="4" width="64"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td style="height:15.0pt;width:48pt" height="20" width="64">
</td> <td style="width:48pt" width="64">Red</td> <td style="width:48pt" width="64">Blue</td> <td style="width:48pt" width="64">Green</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">Hot</td> <td align="right">4
</td> <td align="right">1</td> <td align="right">0</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">Warm</td> <td align="right">0</td> <td align="right">0</td> <td align="right">2</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">Cold</td> <td align="right">3</td> <td align="right">0</td> <td align="right">0</td> </tr> </tbody></table>
Thanks for any help you can give.