# COUNTBLANK Function in Google Sheets: Explained

## What is Google Sheets’ COUNTBLANK formula?

This function counts the number of blank cells in the selected range.

## How to use the COUNTBLANK function in Google Sheets

1. Type “=COUNTBLANK” or go to “Insert”“Function” (or directly navigate to the “Functions” icon)  “Math”“COUNTBLANK”.
2. Select a range or an array including blank cells whose numbers you need to calculate
3. Press the “Enter” key.

The general syntax is as follows:

``=COUNTBLANK(value1, [value2, …])``

`Value1: This argument should be a cell, range, or array.`

`Value2: If you need to select other ranges, you can add as value2, value3, ….`

`‍`

`Note`

1. `The COUNTBLANK function counts the total number of blank cells. So, even when empty cells appear several times in a data set, they are calculated individually.`
2. `The function doesn’t count the number of cells incorporating any values, including ones containing only whitespace(s).`
3. `Ensure all cells you want to count don’t have hidden text such as “‘“, an apostrophe.`

`‍`

`The following screenshot presents how the function works in Google Sheets. As there are two entirely blank cells in the selected range, the formula returns two.`

`‍`

## `How do I count filled cells in Google Sheets?`

`You can use COUNT, COUNTA, or COUNTUNIQUE depending on your purpose.`

`COUNT: This formula is effective when you want to calculate the number of numeric values including date and time.`

`COUNTA: This function is helpful when you want to count the number of all values except for blank cells.`

`COUNTUNIQUE: This formula is useful when you need to compute the number of unique values (excluding duplicates) in a range.`

`‍`

## `What are the other formulas related to mathematics and statistics`

`If you don’t get the solution you are looking for in this article, or you have further questions related to mathematics or statistics, you may find the answers in the following articles.`

`‍`

`Go to the following articles to learn basic formulas in Google Sheets. `

`How to Do Math in Google Sheets for Beginners`

`ADD Function in Google Sheets: Explained`

`MINUS Function in Google Sheets: Explained`

`DIVIDE Function in Google Sheets: Explained`

`MULTIPLY Function in Google Sheets: Explained`

`PRODUCT Function in Google Sheets: Explained`

`How to Use SUM Function in Google Sheets`

`How to Use SUMPRODUCT Formula in Google Sheets`

`How to Use MAX Function in Google Sheets`

`How to Use MIN Function in Google Sheets`

`How to Use MEDIAN Function in Google Sheets`

`How to Use AVERAGE Formula in Google Sheets`

`How to Use MODE Function in Google Sheets`

`MOD Function in Google Sheets: Explained`

`‍`

`Navigate to the pages below to learn how to sum, count, or average numbers with a condition or multiple conditions. `

`How to Use SUMIF Function in Google Sheets - sum up the numbers that meet a criterion`

`SUMIFS Function in Google Sheets: Explained - sum up the numbers that meet multiple criteria`

`How to Use COUNTIF Function in Google Sheets - count the number of cells that meet a requirement`

`How to Use COUNTIFS function in Google Sheets - count the number of cells that meet multiple requirements`

`AVERAGEIF Function in Google Sheets: Explained - average the figures that meet a standard`

`AVERAGEIFS Function in Google Sheets: Explained - average the figures that meet multiple standards`

`AVERAGE.WEIGHTED Function in Google Sheets: Explained - use this formula to calculate the weighted average`

`MAXIFS Function in Google Sheets: Explained - seek for the maximum value that meets specific criteria`

`MINIFS Function in Google Sheets: Explained - seek for the minimum value that meets specific criteria`

`‍`

`Visit the following post if you are interested in learning how to count the number of specific cells.`

`COUNT Function in Google Sheets: Explained - count the number of cells containing numeric values (except for blank ones)`

`COUNTA Function in Google Sheets: Explained - count the number of cells incorporating all types of values containing text and date, except for blank ones`

`COUNTUNIQUE Function in Google Sheets: Explained - count the number of unique cells`

`‍`

`You can learn about other Google Sheets formulas and tips that are not mentioned here on this page: LiveFlow‘s How to Guides`

`‍`

## `Analyze your live financial data in a snap`

`Are you learning this formula to visualize financial data, build a financial model, or conduct financial analysis? In that case, LiveFlow may help you automate manual workflows and update numbers in real-time. You can access various financial templates on our website, from the simple Income Statement to Multi-Currency Consolidated Financial Statement. You can also customize these templates as you want without breaking the automated data inflow.`

`To learn more about LiveFlow, book a demo.`

`Learn how to do this step-by-step in the video below 👇`

## `Do you need personal help?`

`Our team of real people are here to help you any time between 9am and 10pm EST. `
`Chat on Intercom`
``` Speak with us on Zoom ```
`Email us at: help@liveflow.io`
`Call us at +1 (415) 650-1711`
``` window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-178887207-1'); function revealCallback(response){ var reveal = response; window.reveal = reveal; dataLayer.push({ event:"clearbit.loaded", reveal: reveal }); }; (function (d, u, h, s) { h = d.getElementsByTagName('head')[0]; s = d.createElement('script'); s.async = 1; s.src = u + new Date().getTime(); h.appendChild(s); })(document, 'https://grow.clearbitjs.com/api/pixel.js?v='); !function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware"];analytics.factory=function(e){return function(){var t=Array.prototype.slice.call(arguments);t.unshift(e);analytics.push(t);return analytics}};for(var e=0;e<analytics.methods.length;e++){var key=analytics.methods[e];analytics[key]=analytics.factory(key)}analytics.load=function(key,e){var t=document.createElement("script");t.type="text/javascript";t.async=!0;t.src="https://cdn.segment.com/analytics.js/v1/" + key + "/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n);analytics._loadOptions=e};analytics._writeKey="s6Q4F6adCBXCo8gNwLDXWoWuYPj47HvK";;analytics.SNIPPET_VERSION="4.15.3"; analytics.load("s6Q4F6adCBXCo8gNwLDXWoWuYPj47HvK"); analytics.page(); }}(); window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-10782120806'); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-K7PCJW6'); window.JETBOOST_SITE_ID = "cl0cefqbo0pkl0u482q5gho7s"; (function(d) { var s = d.createElement("script"); s.src = "https://cdn.jetboost.io/jetboost.js"; s.async = 1; d.getElementsByTagName("head")[0].appendChild(s); })(document); window.intercomSettings = { app_id: "qes40nao", custom_launcher_selector:'#open_intercom' }; // We pre-filled your app ID in the widget URL: 'https://widget.intercom.io/widget/qes40nao' var intercomLoader = function(){ (function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/qes40nao';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s, x);};if(document.readyState==='complete'){l();}else if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})(); window.removeEventListener('scroll', intercomLoader) window.Intercom('boot', { app_id: "qes40nao", }) } window.addEventListener('scroll', intercomLoader) _linkedin_partner_id = "4059825"; window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || []; window._linkedin_data_partner_ids.push(_linkedin_partner_id); (function(l) { if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])}; window.lintrk.q=[]} var s = document.getElementsByTagName("script")[0]; var b = document.createElement("script"); b.type = "text/javascript";b.async = true; b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js"; s.parentNode.insertBefore(b, s);})(window.lintrk); \$(document).ready(function () { \$('[data-analytics]').on('click', function (e) { gtag('event', 'signup', { 'event_category': 'button', 'event_label': \$.trim(\$(this).text()) }); }); }); (function(g,e,o,t,a,r,ge,tl,y){ t=g.getElementsByTagName(e)[0];y=g.createElement(e);y.async=true; y.src='https://g1386590346.co/gl?id=-MuLDjdatHEzBOA1xloF&refurl='+g.referrer+'&winurl='+encodeURIComponent(window.location); t.parentNode.insertBefore(y,t); })(document,'script'); window.onload = () => { window.hljs.configure({ languages: ["excel"] }); document.querySelectorAll('pre code').forEach((el) => { window.hljs.highlightElement(el); }); }; ```