Sorry about that. I saw that you were using Excel 2007 (which I'm not) and I included a function that I thought 2007 had. I was wrong. I should have looked it up first.
I've put it all in a file, so it should work right.List.xls