I've been stumped on how to get this to work, and would appreciate any help. For a few different statistical Functions' arguments, I include two ranges (e.g., B1:B15,A1:A15). However, for each range, I need to make one of the Row Numbers -- the one to the right of the colon -- be based on the answer to this simple formula: E5+2. A friend of mine gave me a "possible syntax" that he thought might work (using the FORECAST Function as an example):
This doesn't work, but hopefully it'll give someone an idea of what I'm trying to accomplish. I need, in this FORECAST example, for "E5+2" to equal the appropriate Row Number. I imagine this is a lot easier than it seems, but I'm no expert. Thanks in advance for anybody's help.
Code:
=FORECAST(E4-E3+E5,B3:'B'&E5+2,A3:'A'&E5+2)