I've seen this formula in random places but I can't remember it now, nor can I find it.
If I do something like A2:G
, it will get all the rows, including empty ones.
I have seen some formula that, I think, starts like A2:INDEX...
that can be used to reference all the rows column A has data in it.
I want to use this formula to reference A2:G
but stop at the last row where column A has data.
Editing question to support reopening it as not a duplicate:
This question was closed as a duplicate of ArrayFormula is breaking the getLastRow() funtion. Possible workarounds?. While PART of ONE of the answers in that does answer my question, the core question in my post is very different from the core question in the other post. It creates confusion to say they are duplicates. My question asks a very specific question, with a very specific answer. If someone searches StackOverflow for for the answer to a question like mine, they will expect to see it worded how I did. They will not expect it to be PART of the answer to ONE of the answers in a question that is worded differently. Words matter, and the words in my question speak to a very different question than the other one. Please re-open my question. If someone replies to my question with what was mentioned (as a sub-mention) in the other question, then I will accept it as an answer.