Forum Discussion

Manuel123's avatar
Manuel123
Icon for Helper I rankHelper I
5 years ago
Solved

Import several source files in several sheets in Excel

Dear Community,   I hope that you can help me with the following:   I import several files from a folder based on their date, name and other metrics. That does work like a charm (Thank you Anonym...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Easier than you might think! You can leave the rows of content as is, then right click on your query, and select "Reference".

    Now you have a new query that references those content rows. Now you can right click on the File ID value that you'd like to load to sheet1, and select "Equals".  Now your reference query has just the table you want to load. You can again right click on the original query and make another reference query, and filter to the Flie ID for the second table you want to load. 
    If you need it to be dynamic, you can instead make a blank query like:

    = QueryName{0}

    This will give you just the first row. QueryName{1} will give you the second row, and so on.

    --Nate