I’m confused about when to use offset and when to use address.
When I read the help file about offset, it says “Returns a reference to a range that is a specified number of rows and columns from a cell or range of cells.” This description sounds like what I want. The function I’m using is =SLOPE(OFFSET(A5,COUNT(A5:A500)-4,1),OFFSET(B5,COUNT(B5:B500)-4,1)). This returns #VALUE. When I evaluate the OFFSET arguments separately I get values, not a range.
I can get what I want using Indirect and Address, but it seems like OFFSET should work and be less convoluted. I need to use a formula because we add data frequently. I’ve tried using a named range, but didn’t get what I needed either.
Any clarification about what I’m doing wrong and the differences between offset and Indirect(address) would be most appreciated. I’ve attached an example spreadsheet.