In case it's of use, here is the original thread:
http://www.excelforum.com/excel-prog...a-table-4.html