Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Count how many n rows are populated

$
0
0

I have a Google Sheet with a lot of data in, and I am wanting to count the number of cells in a column that are not empty, for every N rows.

The column structure has column 1 with the day of the week, the rest are data. I am wanting to say, count the number of occurrences of data I have for Monday, for Tuesday, and so on.

I have managed to find a formula to calculate the total for the same situation as above:

=sumif(ArrayFormula(mod((row(Sheet!BSTART:B)-row(Sheet!BSTART)+1),7)),0,Sheet!BSTART:B)

and was hoping something similar could be done for counting?

I did see that countif is a possibility, but I haven't been able to get it working.

Spreadsheet structure:

DateData 1
Mondata
Tuesdata
......
Mondata
Tuesdata
......

Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>