No, it works if the cell has content. The function is useless if you have blank cells.