A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
This is Tab 1, with the Filtered column added in column F.
The formula is =SUBTOTAL(2, [@Column2]) where Column2 is the name of the second column of the table.
The formula in B2 on Tab 2 is
=TAKE(CHOOSECOLS(FILTER(Table1, Table1[Filtered]), 2, 5), 10)
where Table1 is the name of the table on Tab 1.
Note that the formula is not in a table - this kind of formula only works in an ordinary range.