Excel is not a strong point, but after a string of formulas I'm left with two columns of data that i can't sort automatically as id like. Here is the situation:
I have the following data:
<table style="border-collapse: collapse; width: 240pt;" 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">
</td> <td class="xl64" style="width: 48pt;" width="64">A</td> <td class="xl64" style="width: 48pt;" width="64">B</td> <td class="xl64" style="width: 48pt;" width="64">C</td> <td class="xl64" style="width: 48pt;" width="64">D</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl64" style="height: 15pt;" height="20">1</td> <td class="xl64">1</td> <td>Mike</td> <td class="xl64">1</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl64" style="height: 15pt;" height="20">2</td> <td class="xl64">2</td> <td>
</td> <td class="xl64">2</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl64" style="height: 15pt;" height="20">3</td> <td class="xl64">3</td> <td>John</td> <td class="xl64">3</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl64" style="height: 15pt;" height="20">4</td> <td class="xl64">4</td> <td>Bill</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl64" style="height: 15pt;" height="20">5</td> <td class="xl64">5</td> <td>
</td> <td>
</td> <td>
</td> </tr> </tbody></table>
Originally there was 5 names and now they're are only 3, Mike, John and Bill; so in cells B1:B5 two of the cells are blank (there actually a vlookup formula that returned 0). Mike is 1, John is 3, and Bill is 4. However now that two of the names are gone I need to re-rank the 3 names because while Mike is still 1, John in now 2, and Bill is now 3. So in column C I have a standard series of 1 through 3 and in column D I want a formula puts the name Mike in D1, John in D2 and Bill in D3.
This is a simplified situation as there are actually a ton of names and gaps.
Any advice would be much appreciated - Thanks
I have the following data:
<table style="border-collapse: collapse; width: 240pt;" 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">
</td> <td class="xl64" style="width: 48pt;" width="64">A</td> <td class="xl64" style="width: 48pt;" width="64">B</td> <td class="xl64" style="width: 48pt;" width="64">C</td> <td class="xl64" style="width: 48pt;" width="64">D</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl64" style="height: 15pt;" height="20">1</td> <td class="xl64">1</td> <td>Mike</td> <td class="xl64">1</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl64" style="height: 15pt;" height="20">2</td> <td class="xl64">2</td> <td>
</td> <td class="xl64">2</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl64" style="height: 15pt;" height="20">3</td> <td class="xl64">3</td> <td>John</td> <td class="xl64">3</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl64" style="height: 15pt;" height="20">4</td> <td class="xl64">4</td> <td>Bill</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl64" style="height: 15pt;" height="20">5</td> <td class="xl64">5</td> <td>
</td> <td>
</td> <td>
</td> </tr> </tbody></table>
Originally there was 5 names and now they're are only 3, Mike, John and Bill; so in cells B1:B5 two of the cells are blank (there actually a vlookup formula that returned 0). Mike is 1, John is 3, and Bill is 4. However now that two of the names are gone I need to re-rank the 3 names because while Mike is still 1, John in now 2, and Bill is now 3. So in column C I have a standard series of 1 through 3 and in column D I want a formula puts the name Mike in D1, John in D2 and Bill in D3.
This is a simplified situation as there are actually a ton of names and gaps.
Any advice would be much appreciated - Thanks