I have several columns referring to distinct data which I want to reference in aggregate calculations. To help keep those formulas readable, I’ve named the columns. e.g. Instead of having a formula like SUM(H) I have =SUM(PRODUCT_SAMPLES)
.
This seems to work fine if I want to aggregate an entire column. However, for some formulas, I only want to reference a specific slice. How do you slice a named column? To re-use the previous example, if I only wanted to count the last 20 rows of the “PRODUCT_SAMPLES” column, I would do =SUM(H1:H20)
, but I don’t know how to write that using the name. Entering =SUM(PRODUCT_SAMPLES1:PRODUCT_SAMPLES20)
returns an error code.
Note, although the question sounds similar, I’m not asking what this question seems to be asking, and trying =SUM(INDEX(PRODUCT_SAMPLES;1;20))
does not work.