Use INDIRECT to count non-empty cells in Google Sheets. Complete tutorial with syntax and examples.
INDIRECT(cell_reference_as_string)
Returns the reference specified by a text string. To count non-empty cells, combine INDIRECT with the right arguments for your dataset.
Useful for dynamic sheet references but can be volatile and slow with large datasets.