Xls parsing 2

functions to help with parsing tables generated via sql queires