Share via

Urgent help needed! - Excel spreadsheet data not pulling through to new tab

Anonymous
2025-01-28T10:39:57+00:00

Hello!

I need some help with a formula I can't work out.

I have a table with data on tab 1.

I have a new table on tab 2 that I want to bring over the top 10 rows of column B on tab 1. I want this to change when I filter column B on tab 1. So if I filter the data on tab 1, the top 10 results carry over to tab 2.

Could someone please assist?

Thank you in advance

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. HansV 462.6K Reputation points
    2025-01-28T12:42:33+00:00

    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.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-01-28T12:14:52+00:00

    That sounds very helpful thank you, however my company has blocked the link. Are you able to share formulas?

    Sorry and thank you!

    Was this answer helpful?

    0 comments No comments
  3. HansV 462.6K Reputation points
    2025-01-28T12:07:27+00:00

    I'd use a helper column, In the demo workbook linked to below, it is named Filtered. This column will return 1 in all visible rows, but 0 in all rows hidden by a filter.

    You can use this in a FILTER formula.

    See FilteredTop10.xlsx

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-01-28T11:50:21+00:00

    they are names instead of numbers so I need to filter occasionally to select certain names, and then copy the 10 names that I will select from the filter into the table on the next tab if that makes sense?

    It will be column B and the associated data in column E need to move to column B and C on tab 2.

    Was this answer helpful?

    0 comments No comments
  5. HansV 462.6K Reputation points
    2025-01-28T11:35:48+00:00

    By top 10, do you mean the 10 rows starting from row 1, or the 10 rows with the highest values?

    Was this answer helpful?

    0 comments No comments