Hello, this is a bit of a new concept (for me) I'm trying to master here, so any help or pointing in the right direction is appreciated.
I have a series of numbers (anywhere from 100 to 1000 unique numbers in the series) and I need to rank those numbers according to a trailing number of observations.
For example, I'd like to know the rank of the last value in my series, based on the last 250 observations, and then also have the ability switch that formula to rank the last number based on the last 100 observations, or last 500 observations.
Put another way, within the Rank.EQ formula: RANK.EQ(number, ref, [order]), is there a way to dynamically change the 'ref' portion of the formula to accommodate various ranges (rank over 250 observations, 500 observations, etc)?
I've looked into nesting INDIRECT and OFFSET, but couldn't figure out how make it work. I'm pretty green in VBA, but ready to try that out if that's the best way to get this done.
I have a series of numbers (anywhere from 100 to 1000 unique numbers in the series) and I need to rank those numbers according to a trailing number of observations.
For example, I'd like to know the rank of the last value in my series, based on the last 250 observations, and then also have the ability switch that formula to rank the last number based on the last 100 observations, or last 500 observations.
Put another way, within the Rank.EQ formula: RANK.EQ(number, ref, [order]), is there a way to dynamically change the 'ref' portion of the formula to accommodate various ranges (rank over 250 observations, 500 observations, etc)?
I've looked into nesting INDIRECT and OFFSET, but couldn't figure out how make it work. I'm pretty green in VBA, but ready to try that out if that's the best way to get this done.