I am trying to write a function in Excel for Mac 2011 (NOT as a macro; just plain old "=[Function Here]" format) that will take to following form:
=STDEV([X cells above and below this specific cell, in a different column])
NOTE: I am specifying the range "X" by referencing a "Window" cell, $N$3.
In other words: say I'm in cell G53, with $N$3 (range "X") = 50, and looking at a range of values in column F. The function would output STDEV(F3:F103). In cell H39, with $N$3 = 6 and looking at column G, the function would output STDEV(G33:G45).