I copied a bunch of tables from a PDF file to Excel. these tables contain empty cells. I need to write a code that'll be able to recognize and count the number of empty cells in each column of each table (I am saving one table per sheet). I posted the following question IsNumeric function returning true for an empty cell and thought I had the answer by calculating the length of the trimmed value of each cell, but it turns out that doesn't solve it. The length function returns a value of 5 for those empty cells. and a value of 5 for many other cells that have values.
When I click ctrl + G and select blanks those empty cells are not highlighted. Only cells in columns that are entirely empty are highlighted.
Looks like I had a problem referencing my sheets. The command isnumber
returns false, so that sort of solves my problem. but using len(clean())
still returns a number bigger than zero. For now I can make do with the isnumber
function. but I'd be interested to know what sort of value is stored in these cells.