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.
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?