Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 929

Excel wrongly counts blank cells

$
0
0

I have an Excel sheet with some data, and no formulas were used in the sheet as far as I know. I first tried counting blank cells using the COUNTBLANK() function to determine how many cells had no data in a specific column. However, the result didn’t match what I calculated using R.

Excel sheet showing a pivot table output

I then used a pivot table, but it gave the same result, which I realized was misleading because Excel was counting certain cells as having values, even though they appeared blank. Interestingly, when I wrote #N/A in one cell and then removed it, Excel counted that cell as blank, but it hadn’t recognized it as blank earlier.

What could be causing this discrepancy?


Viewing all articles
Browse latest Browse all 929

Trending Articles