Forgive me if I'm being a bit dense here, but in mathematics a matrix is almost always a rectangular grid **with no blanks**. So at least as far as Professor Baldwin's application, the question as to what to do with blank cells shouldn't arise. Andrew