Hello everyone! I am looking for a solution to a problem that came up while maintaining a spreadsheet and that I just can’t seem to fix.
The post title pretty much says it all. I would like to apply the COUNTIF function to nothing but the last 20 used cells in a column.
For context: Each column in the spreadsheet contains data for one person. There are only two types of cells; some contain “0” and others contain any other number. There is no text involved and there are no blank cells (except for the first few lines). The COUNTIF function should give me the numbers of cells with values “0” and “else” respectively for each column. For a fixed range or the whole column, this is trivial.
What I want, however, is just the last 20 cells. As there is still data being added, I can’t just select a fixed range and call it a day; I need a function that does this automatically.
I have already exerimented with combinations of INDIRECT, CONCATENATE and COUNTIF but to no avail. Does anyone have an idea how to implement this?