Quote Originally Posted by xld
I meant I created a UDF, not a formula solution.
Ok, in that case if we're using a UDF we can check HasFormula to ignore those cells that have a formula but return no result, right? e.g something like [VBA]If Range("A1").HasFormula and Range("A1").Value="" Then....[/VBA]