I have a table in Excel and want to do a CountIf on a column, but only the first 30 or 90. Table is:
DATE, Tag1, Tag2, Tag3, Tag4
I’m looking to do something like:
I know that is not correct since
MyTable[Tag4] means nothing and is not a range. I could do it with
F2:F31, but since I have to replicate it 4 times (4 Tags), I would rather it be as generic as possible.
You can use the OFFSET function to construct the Range
You can use INDEX():