Sorry I'm not explaining this very well. In the example below using your formula you get the results shown. The Smith row contains all the possible values. The Jones row contains some of those values but not all of them, and what I need is for the Jones 5 to end up in the same column as the Smith 5.
The silver row has the same issue, the 4 and 5 need to line up with the Smith 4 and 5?
Clear as mud? Thanks for all your help so far.
<table width="768" border="0" cellpadding="0" cellspacing="0"><colgroup><col style="width:48pt" span="12" width="64"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt;width:48pt" height="20" width="64">Smith</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">1</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">2</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">3</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">4</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">5</td> <td class="xl65" style="border-left:none;width:48pt" width="64">
</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">1</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">2</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">3</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">4</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">5</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt;border-top:none" height="20">Jones</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">3</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none" align="right">3</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none">
</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt;border-top:none" height="20">Gold</td> <td class="xl65" style="border-top:none;border-left:none" align="right">4</td> <td class="xl65" style="border-top:none;border-left:none" align="right">2</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none" align="right">3</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none" align="right">2</td> <td class="xl65" style="border-top:none;border-left:none" align="right">3</td> <td class="xl65" style="border-top:none;border-left:none" align="right">4</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt;border-top:none" height="20">Silver
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> <td class="xl65" style="border-top:none;border-left:none" align="right">4</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none" align="right">2</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none" align="right">2</td> <td class="xl65" style="border-top:none;border-left:none" align="right">4</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> <td class="xl65" style="border-top:none;border-left:none">
</td> </tr> </tbody></table>
and I need it to be.....
<table width="768" border="0" cellpadding="0" cellspacing="0"><colgroup><col style="width:48pt" span="12" width="64"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt;width:48pt" height="20" width="64">Smith</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">1</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">2</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">3</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">4</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">5</td> <td class="xl65" style="border-left:none;width:48pt" width="64">
</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">1</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">2</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">3</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">4</td> <td class="xl65" style="border-left:none;width:48pt" width="64" align="right">5</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt;border-top:none" height="20">Jones</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">3</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">3</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt;border-top:none" height="20">Gold</td> <td class="xl65" style="border-top:none;border-left:none" align="right">4</td> <td class="xl65" style="border-top:none;border-left:none" align="right">2</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none" align="right">3</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none" align="right">2</td> <td class="xl65" style="border-top:none;border-left:none" align="right">3</td> <td class="xl65" style="border-top:none;border-left:none" align="right">4</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl65" style="height:15.0pt;border-top:none" height="20">Silver</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> <td class="xl65" style="border-top:none;border-left:none" align="right">4</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none" align="right">2</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">1</td> <td class="xl65" style="border-top:none;border-left:none" align="right">2</td> <td class="xl65" style="border-top:none;border-left:none">
</td> <td class="xl65" style="border-top:none;border-left:none" align="right">4</td> <td class="xl65" style="border-top:none;border-left:none" align="right">5</td> </tr> </tbody></table>
-- removed inline image ---