Hello, I am using the following formula to average negative values in a column, and I would like to tweak it to only average the last "X" number of cells. Hmmm... I may even just assign another cell for this "X" value so that the user can change the number. Anyway, I am not sure how to tweak the formula for that, should I use an OFFSET, or maybe the COUNT? I tried a couple of things but it was not even close. I appreciate any suggestions, thank you.
Excel Formula:
=AVERAGEIF(C:C,"<0")