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