I have a table with different value as diameter and volume.

Firstly, I would like to sum the different value of volume. I don t know if the function “sum” works ??

Secondly, I would like the values are sorted in ascending order

Then I whish to take 10% of the sum of value and found on table which diameter could correspond to 10% of volume ??

I just know the function searchbinary

Thank you

Code :

```
run("Clear Results");
run("Make Binary");
run("Set Measurements...", "area decimal=4");
run("Analyze Particles...", "display clear");
run("Distribution...", "parameter=Area automatic");
selectWindow("Area Distribution");
AreaDistributionContent=getInfo("window.contents");
for(i=0; i<nResults; i++) {
area = getResult("Area", i);
setResult("d [um]", i, 1000*1.06*pow(area,0.455));
}
for(i=0; i<nResults; i++) {
d = getResult("d [um]", i);
setResult("Volume [ul]", i, PI/6*0.000000001*pow(d,3));
}
selectWindow("Area Distribution");
run("Close");
```

Results

```
Area d Volume
1 0.3873 688.4131 0.1708
2 6.400E-5 13.0954 1.176E-6
3 0.0002 21.5878 5.268E-6
4 0.0001 17.9509 3.029E-6
5 0.0855 346.2260 0.0217
6 0.0504 272.2934 0.0106
```