To see how many cells are selected in Excel, look at the Name Box (the field to the left of the formula bar) while you select a range. It shows the count as N R × C C (for example, 5R × 3C means 5 rows and 3 columns), but not the total number of cells. For the actual total, use the status bar at the bottom: right-click it, enable Count, and it will display the number of cells in the selection. If you select non-adjacent ranges, the status bar shows the sum of all selected cells.
What You’ll Need
- Microsoft Excel (Windows, Mac, or Excel for the web) with a worksheet open.
- No special add-ins or settings required.
Step-by-Step
- Select the range of cells you want to count. Click and drag over the cells, or hold Ctrl (Windows) / Cmd (Mac) and click individual cells to select multiple non-adjacent ranges.
- Look at the Name Box (left of the formula bar). It will display something like
4R × 2C— that means 4 rows by 2 columns. This does not give the total cell count, only the dimensions of the selection. - Check the status bar at the bottom of the Excel window. By default, it shows Average, Count, and Sum for numeric data. If you have selected cells with numbers, the status bar already shows the count. If you have text or empty cells, the count may not appear.
- If the count is not visible, right-click the status bar and check Count from the context menu. A checkmark appears next to it. Now the status bar will show the number of cells in the selection, regardless of content type.
- For non-adjacent selections, the status bar count adds up all selected cells. For example, if you select A1:A10 (10 cells) and then hold Ctrl and select C1:C5 (5 cells), the status bar shows 15.
- To get the exact count in a formula, use the
ROWSandCOLUMNSfunctions. For a range like A1:C10, enter=ROWS(A1:C10)*COLUMNS(A1:C10)in any cell to get 30. For non-adjacent ranges, add the products:=ROWS(A1:A10)*COLUMNS(A1:A10)+ROWS(C1:C5)*COLUMNS(C1:C5)returns 15. - For a quick total without formulas, select the range and press Ctrl+Shift+End (Windows) or Cmd+Shift+End (Mac) to extend the selection to the last used cell, then read the status bar count.
Common Mistakes
- Confusing the Name Box dimensions with the total count. The Name Box shows rows × columns, not the number of cells. For example,
3R × 4Cmeans 12 cells, but the Name Box doesn’t say 12. - Assuming the status bar count is always visible. The Count option is often disabled by default. You must enable it via right-click.
- Counting only numeric cells. The status bar Count counts all cells with any content (numbers, text, errors). If you want only numbers, use
COUNT; for only text, useCOUNTAminusCOUNT. - Forgetting that non-adjacent selections are summed. If you select two ranges, the status bar shows the total of both, not the count of the first one.
Tips
- To enable the count quickly, right-click the status bar and tick Count. You can also tick Numerical Count to count only numeric cells.
- Use the keyboard shortcut Ctrl+Shift+Down / Right to select to the last non-empty cell in a column/row, then read the count.
- If you need the count in a cell (for a report), use
=COUNTA(A1:C10)to count non-empty cells, or=COUNT(A1:C10)for numbers only. For all cells (including empty), use=ROWS(A1:C10)*COLUMNS(A1:C10). - On Excel for the web, the status bar also shows Count, but you cannot customize it by right-clicking. It always shows Count and Sum for numeric selections.
Troubleshooting
- Status bar shows nothing. Right-click the status bar and ensure Count is checked. If it still doesn’t appear, the selection might be empty (no cells selected). Click a single cell to test.
- Count seems too high or too low. Check if you accidentally selected entire rows or columns (by clicking row/column headers). That selects all cells in those rows/columns, which can be huge numbers. Press Esc to cancel the selection.
- Name Box shows only the first cell address. If you click and drag, the Name Box changes to show the range dimensions only after you release the mouse. If you are still dragging, it shows the starting cell. Release the mouse to see the dimensions.
- Non-adjacent selection count is wrong. Ensure you hold Ctrl (Windows) or Cmd (Mac) while clicking additional ranges. If you forget, Excel replaces the previous selection.
- Count doesn’t update for formulas. The status bar count includes cells with formulas, even if they return empty text (“”). To exclude those, use
=COUNTin a cell instead.
Frequently Asked Questions
- Does the status bar count empty cells? No, the Count option counts cells that contain any data (numbers, text, errors). To count empty cells, use
=COUNTBLANK. - How do I count only selected cells with numbers? Use the
COUNTfunction on the range, e.g.,=COUNT(A1:A10). The status bar also has a “Numerical Count” option you can enable. - Can I see the count for multiple non-adjacent selections? Yes, the status bar shows the sum of all selected cells. For example, selecting A1:A5 and C1:C3 shows 8.
- Why does my Name Box show something like “A1” instead of “4R × 2C”? That happens when you click a single cell. To see dimensions, you must select a range (click and drag or use Shift+Arrow keys).
- Is there a shortcut to select all cells with data? Press Ctrl+A (Windows) or Cmd+A (Mac) once to select the current data region, twice to select the entire worksheet. The status bar will show the count.
- Does the count include hidden rows/columns? Yes, the status bar counts all cells in the selection, including hidden ones. To count only visible cells, use
SUBTOTALwith function number 103 (COUNTA) or 102 (COUNT).
Related
- How to Add Value to a Dictionary in Python
- Import Excel CSV to InfluxDB GUI: Step-by-Step
- Air Balloons in Numbers: Key Stats & Facts
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Insert a Row Every Other Row in Excel: Easy MethodsYes. In Excel for Microsoft 365 on Windows, you can insert a blank row between existing rows by…
- Excel Power Query Takes Too Long to Refresh? FixesWhen Excel Power Query takes too long to refresh, the cause is usually a slow source, a transformation…
- Java split(): How It Handles Delimiters and LimitsIn Java, String.split() divides a string wherever a regular-expression pattern matches and returns the pieces in a String[].…
- Create a New Signature in Outlook 365, Step by StepTo create a new signature in Outlook 365, open the signature settings for your version of Outlook, choose…
- Excel Remove Everything but Duplicates: Keep RepeatsYes. To remove everything but duplicates in Excel, count how often each value or row occurs, keep records…
- Excel to PowerPoint Linked Cells: How to Link and UpdateTo link Excel cells to a PowerPoint slide in Microsoft 365 for Windows, select and copy the cells…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.