The function definition looks something like
Whenever the last cell is undefined in the call [i.e. if C55 were blank] then the cell shows #Value!.
Public Function xyz(Rng as Range)
If all the cells are defined, I can call it with =xyz(C10:C55)
Each time xyz is required, the starting cell in the column is known, but the last defined cell in each column may change with new data. Cells before row10 and after the last one are always blank
Whenever the last cell is undefined in the call [i.e. if C55 were blank] then the cell shows #Value!.