Hi @AbrahamGluck, welcome to the Community!
If I understand correctly, you want to search a Google Spreadsheet for rows that meet certain criteria and to then send those rows to a pre-existing table in Google docs, is that right?
You can search Google for more than one row, but as far as I’m aware, it’s not possible to then add that to a Google Doc table. You can create documents from templates and include information in tables that way, but that wouldn’t account for line items, or a variable number of rows.
I’m sorry I don’t have better news for you on this one!