So someone helped me here the other day with the first step of my issue... I was trying to return a text reference from the column headings of the following data...
<table width="320" border="0" cellpadding="0" cellspacing="0"><col style="width: 48pt;" width="64" span="5"> <tbody><tr style="height: 15pt;" height="20"> <td style="height: 15pt; width: 48pt;" width="64" height="20">Name</td> <td style="width: 48pt;" width="64">2B</td> <td style="width: 48pt;" width="64">SS</td> <td style="width: 48pt;" width="64">3B</td> <td style="width: 48pt;" width="64">1B</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">Joe</td> <td align="right">23</td> <td align="right">45</td> <td align="right">0</td> <td align="right">0</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">Steve</td> <td align="right">0</td> <td align="right">0</td> <td align="right">60</td> <td align="right">0
</td> </tr> </tbody></table>
(Baseball games played by position, in case you care).
I was given the following solution for cell F2, which works beautifully: =INDEX(B$1:E$1,MATCH(MAX(B2:E2),B2:E2,0)) ... this returns "SS", just as it should.
Here's my next issue.... I have a whole page full of 'Joes' and 'Steves' in the fashion you see here. I've got to sync them with other data I have on Joe and Steve on another page.
So, if on sheet2, I've got 'Steve'... how do I modify that formula so that I can have that cell reference do the same thing as above? I was thinking I'd have to nest another index:match inside the match function of the original formula above, but can't quite wrap my mortal brain around what I'm supposed to do.
If you help me, I'll make all your wildest dreams come true. Sexually.
Thanks,
--AG
<table width="320" border="0" cellpadding="0" cellspacing="0"><col style="width: 48pt;" width="64" span="5"> <tbody><tr style="height: 15pt;" height="20"> <td style="height: 15pt; width: 48pt;" width="64" height="20">Name</td> <td style="width: 48pt;" width="64">2B</td> <td style="width: 48pt;" width="64">SS</td> <td style="width: 48pt;" width="64">3B</td> <td style="width: 48pt;" width="64">1B</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">Joe</td> <td align="right">23</td> <td align="right">45</td> <td align="right">0</td> <td align="right">0</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">Steve</td> <td align="right">0</td> <td align="right">0</td> <td align="right">60</td> <td align="right">0
</td> </tr> </tbody></table>
(Baseball games played by position, in case you care).
I was given the following solution for cell F2, which works beautifully: =INDEX(B$1:E$1,MATCH(MAX(B2:E2),B2:E2,0)) ... this returns "SS", just as it should.
Here's my next issue.... I have a whole page full of 'Joes' and 'Steves' in the fashion you see here. I've got to sync them with other data I have on Joe and Steve on another page.
So, if on sheet2, I've got 'Steve'... how do I modify that formula so that I can have that cell reference do the same thing as above? I was thinking I'd have to nest another index:match inside the match function of the original formula above, but can't quite wrap my mortal brain around what I'm supposed to do.
If you help me, I'll make all your wildest dreams come true. Sexually.
Thanks,
--AG