google sheets remove blank rows code example Example: google sheets count cells if not blank # Basic syntax: =COUNTA(range) # Example usage: =COUNTA(A1:B26)