I have a sheet with a large table of data with a header for each column. I want to import a specific column to another sheet using the header name. I am using the below formula to do so (which has worked in the past).
=QUERY(Schedule!D:BW, "SELECT" & SUBSTITUTE(ADDRESS(1,MATCH(H1,Schedule!D1:BW1,0),4),1,""))
However I keep getting the below error and can't figure out how to solve this.
Unable to parse query string for Function QUERY parameter 2: PARSE_ERROR: Encountered " "SELECTD "" at line 1, column 1. Was expecting one of: "select" ... "where" ... "group" ... "pivot" ... "order" ... "skipping" ... "limit" ... "offset" ... "label" ... "format" ... "options" ...