Tidy up a formula!
Posted by Richard Larocque on January 09, 2002 8:36 PM
I really don't have a problem,, because I have the results I'm looking for, however I'm wondering if I can improve on the following:
I have a large database with 9500 rows. In column A, I have the following:
a
a
a
b
b
b
c
c
d
In column B, I have numerical values.
In column C I wrote the formula:
=IF(A8=A9,"",SUMIF($A$8:$A$9500,A8,$B$8:$B$9500))
In column D I wrote the formula:
=IF(C8="","",PERCENTRANK($C$8:$C$9500,C8))
In column E I have the following:
=SUMIF($A$8:$A$9601,A8,$D$8:$D$9500)
The result that is desired is finally achieved in column E.
Now instead of using three columns to get the desired result, can it be done in one combined formula?
Thanks