J
JimS
=IF(L401="","",SUMPRODUCT(--($G$27:G400=G401)*($O$27:O400)))
This formula adds up all of the numbers that correspond to G401 in the
O column.
OK, but there might be 15, 20 or 40 "instances" of G401 in the O
column.
What I really want to do is a weighted average that doesn't go back
farther than the last nine, but if I could just get it to average,
say, the last three, five, nine, or whatever all in one formula that
would be a great start.
Is there a way to do that?
This formula adds up all of the numbers that correspond to G401 in the
O column.
OK, but there might be 15, 20 or 40 "instances" of G401 in the O
column.
What I really want to do is a weighted average that doesn't go back
farther than the last nine, but if I could just get it to average,
say, the last three, five, nine, or whatever all in one formula that
would be a great start.
Is there a way to do that?