As I get used to this newer version of Excel, one of the tasks I frequently do is Filtering a batch of calculations. My spreadsheets look substantially like the attached. In the calculations tab, there will be identifiers, a few columns of inputs, several columns of intermediate calculations, and a few output columns with the final results. What I then need to do is choose a few columns (These don't change frequently, so I'm not worried about these being dynamic in the function), then filter based on id no. In my old version of Excel, I used lookups to bring all of the desired data over into "Table", then used Autofilter to filter on id no. I'm trying to figure out the same kind of thing using the newer FILTER() function.
You can see my current attempt in the sample. It works great as long as I am looking for exactly two id no. in A6 and A7. If I want to add another id no, then I need to add a +(calculations!A4:A22=Table!A8) to the function.
What I want to be able to do is enter the desired id nos in Table!A6:A10 (from just one id no to all five possible), and have those records show up in columns C:E.
How do I structure the "criteria" argument to handle this?
Bookmarks