Added structured query option

Added structured query option to row function.

Very simple and adds a lot more flexibility.

If you allow me to edit the test spreadsheet I can upload a test and examples as well