I’ve used Excel for some time, but I’ve only used the basic spreadsheet functions (e.g., add, sum, etc.).
First, let me say I’m struggle with the technicalities a bit, but would really appreciate any help explaining the effectof a formula. Based on some research, I’mu sing and OFFSET and COUNT functions. Here’s the formula I have in cell D2 =OFFSET(A1,COUNT(B:B),1). See attached worksheet.
I get the results I’m looking for, I want the last value entered in Column B. Let’s say 12. Then assume on 06/01/2011 I enter a value of 18, then the results in D2 would be 18. The formula works perfect.
Here’s where my issues comes in. I needed to insert a couple of rows for a header, so my Date (Column A) and Value (Column B) were moved to row 3. This changed my results in cell D2.
Why would inserting the 2-rows caused myformula to stop 2-rows above my last value in Column B since my formulaincluded all the rows in Column B (B:B).
It took a little time to figure out, but it was an easy fix; I just adjusted my starting point in the OFFSET from A1 to A3.
I’m just struggling to understand why it would matter if my formula looks at all the values in Column B (B:B)? Why would inserting 2-row cause this formula to stop 2-rows before the last value? I was curious, so I inserted a third row and my formula result moved up another row (the value in D2 is now 10; there are three value after 10 in Column B)?
I’m sure there is an easy explanation and I would appreciate any enlightenment.
Thank you.