**** it, I just realized I forgot something that I also did not explain properly!
Your formula only work if I include all mice from the data in the rank calculation, but I only want some specific mice to be included. Better example:
<table style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; " border="1" cellpadding="0" cellspacing="0"> <colgroup><col style="font-weight:bold; width:30px; "><col style="width:59px;"><col style="width:94px;"><col style="width:45px;"><col style="width:66px;"></colgroup><tbody><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td> </td><td>A</td><td>B</td><td>C</td><td>D</td></tr><tr style="height:55px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">1</td><td>Mouse</td><td>Tot IgG mgG-2</td><td>Group</td><td>End score</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">2</td><td>Mouse 2</td><td style="text-align:right; ">7290</td><td style="text-align:right; ">1</td><td style="text-align:right; ">0</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">3</td><td>Mouse 1</td><td style="text-align:right; ">21870</td><td style="text-align:right; ">2</td><td style="text-align:right; ">0</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">4</td><td>Mouse 3</td><td style="text-align:right; ">7290</td><td style="text-align:right; ">3</td><td style="text-align:right; ">4</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">5</td><td>Mouse 3</td><td style="text-align:right; ">65610</td><td style="text-align:right; ">1</td><td style="text-align:right; ">0</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">6</td><td>Mouse 1</td><td style="text-align:right; ">7290</td><td style="text-align:right; ">2</td><td style="text-align:right; ">4</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">7</td><td>Mouse 2</td><td style="text-align:right; ">72900</td><td style="text-align:right; ">4</td><td style="text-align:right; ">4</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">8</td><td>Mouse 2</td><td style="text-align:right; ">2324</td><td style="text-align:right; ">3
</td><td style="text-align:right; ">0</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">9</td><td>Mouse 3</td><td style="text-align:right; ">3324</td><td style="text-align:right; ">2</td><td style="text-align:right; ">0</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">10</td><td>Mouse 1</td><td style="text-align:right; ">323</td><td style="text-align:right; ">1</td><td style="text-align:right; ">4</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">11</td><td>Mouse 5</td><td style="text-align:right; ">24323</td><td style="text-align:right; ">3</td><td style="text-align:right; ">4</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">12</td><td>Mouse 3</td><td style="text-align:right; ">2430</td><td style="text-align:right; ">2</td><td style="text-align:right; ">0</td></tr><tr style="height:18px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">13</td><td>Mouse 1</td><td style="text-align:right; ">21870</td><td style="text-align:right; ">1</td><td style="text-align:right; ">0</td></tr></tbody></table>
I want to select all mice in group 1 and 3, give all of them ranks (related to only these mice, not mice in any other groups), and then summarize only those ranks belonging to the mice in group 1 or 3 with end score = 0.
Basically, I need a quite flexible formula, where I can add additional criteria for those being included in the calculations etc.. I guess that would take me back to the formula suggested by Barry, with some changes for the rank correction factor?
I am sorry for messing it up =/