COUNTBLANK function - Microsoft Support
Learn how to use the COUNTBLANK function in Excel to count the number of empty cells in a range. See syntax, arguments, example, and tips for avoiding errors.
Applies To:
Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2016
Ways to count cells in a range of data in Excel
COUNT: To count cells that contain numbers. COUNTBLANK: To count cells that are blank. COUNTIF: To count cells that meets a specified criteria. Tip: To enter more than one criterion, use the COUNTIFS function instead. Select the range of cells that you want, and then press RETURN.
Applies To:
Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Microsoft Office, Microsoft365.com
Ways to count values in a worksheet - Microsoft Support
Use the COUNTBLANK function function to return the number of blank cells in a contiguous range (cells are contiguous if they are all connected in an unbroken sequence).
Applies To:
Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2016, Microsoft Office, Microsoft365.com
Statistical functions (reference) - Microsoft Support
Lists all statistical functions, such as the AVERAGE, COUNTBLANK, and MEDIAN functions.
Applies To:
Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2016, Microsoft Office
How to correct a #VALUE! error in the COUNTIF/COUNTIFS function
Note: This is a known issue with several other Excel functions such as SUMIF, SUMIFS, COUNTBLANK, to name a few. See SUMIF, COUNTIF and COUNTBLANK functions return #VALUE! error for more information. Solution: Open the linked workbook indicated in the formula, and press F9 to refresh the formula.
Applies To:
Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2016, Microsoft Office, Microsoft365.com
COUNT function - Microsoft Support
Empty cells, logical values, text, or error values in the array or reference are not counted. If you want to count logical values, text, or error values, use the COUNTA function. If you want to count only numbers that meet certain criteria, use the COUNTIF function or the COUNTIFS function.
Applies To:
Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2016, Microsoft Office
How to correct a #VALUE! error in the SUMIF/SUMIFS function
See the SUMIF, COUNTIF and COUNTBLANK functions return #VALUE! error article for more information. The SUMIF/SUMIFS functions returns incorrect results when you try to match strings longer than 255 characters. Solution: Shorten the string if possible.
Applies To:
Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2016
Use the COUNTIF function in Microsoft Excel
Blank and text values are ignored. A number, expression, cell reference, or text string that determines which cells will be counted. For example, you can use a number like 32, a comparison like ">32", a cell like B4, or a word like "apples".
Applies To:
Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2016, Microsoft Office
Count nonblank cells in Excel - Microsoft Support
Use the COUNTA function to count only cells in a range that contain values. When you count cells, sometimes you want to ignore any blank cells because only cells with values are meaningful to you. For example, you want to count the total number of salespeople who made a sale (column D).
Applies To:
Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2016
COUNTBLANK (Hàm COUNTBLANK) - Hỗ trợ của Microsoft
Sử dụng hàm COUNTBLANK, một trong các hàm Thống kê, để đếm số ô trống trong phạm vi ô.
Applies To:
Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2016