Data Import & Export

Combine Excel University Ranking Tables and Return the Top 10

Jason MillerJason Miller Nov 18, 2026 868 views

Question details

Combine university ranking tables from multiple years and return the top 10 records.

Combine Excel University Ranking Tables and Return the Top 10
Product
Microsoft Excel for Microsoft 365
Device & OS
not provided
Scenario
A user has yearly university ranking tables with matching columns and wants one ranked result.
Observed behavior
The desired result is a combined list of the 10 highest-scoring or best-ranked records.
Before you start

Check that all yearly tables have the same columns in the same order, and identify the score or rank column. Use descending order for scores where higher is better, or ascending order for ranks where 1 is best.

Solution 1Recommended

Combine and rank the tables with Excel formulas

Use this method in Microsoft 365 when VSTACK and TAKE are available and you want a dynamic result.

The formula returns rows, not necessarily 10 distinct universities. A university can appear more than once if it is listed in multiple years.

1
Check the table names

Click each source table and check its name on the Table Design tab. The example uses Table1 and Table2.

2
Enter the formula

Select an empty cell with room for the results to spill and enter =LET(stacked,VSTACK(Table1,Table2),sorted,SORT(stacked,2,-1),TAKE(sorted,10)).

3
Adjust the tables and sorting

Edit the VSTACK arguments to add other tables, such as Table3. Replace 2 with the position of the score or rank column; use -1 for descending scores or 1 for ascending ranks.

Combine and rank the tables with Excel formulas
Headers and fewer than 10 rows: Table1 and Table2 refer to table data without headers, so add headers above the formula separately. If fewer than 10 records are available, TAKE returns the available rows.
Combine and sort ranking data

Find the Top 10 University Records in WPS Spreadsheet

Use WPS Spreadsheet to append matching yearly tables, sort the combined data, and copy the top 10 records into a results area.

  1. 1. Open the workbook: Open WPS Spreadsheet and use Open to select the Excel workbook containing the yearly tables.
  2. 2. Combine the rows: Create a worksheet with one set of column headers. Copy the data rows from each yearly table and paste them below the previous rows.
  3. 3. Sort the combined data: Select the entire combined range and choose Data > Sort. Sort the score column descending, or the rank column ascending, and indicate that the range has headers if prompted.
  4. 4. Copy the top 10: Select the first 10 data rows beneath the headers and copy them to a separate results area.
Combine and sort university ranking records in one worksheetOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface to organize results
microsoft office alternative - wps office

Frequently Asked Questions

How do I add more yearly tables to the Excel formula?

Edit the VSTACK portion of the formula to include each table, for example VSTACK(Table1,Table2,Table3). Make sure their columns are in the same order.

Should I sort the ranking column ascending or descending?

In SORT, use 1 for ascending order when rank 1 is best. Use -1 for descending order when a higher score is better.

Why does the same university appear more than once?

The methods return the top 10 records, so a university listed in several years can appear multiple times. To get distinct universities, first decide which yearly record or aggregate score should represent each one.

Will the results update when I change the source tables?

The Excel formula recalculates with the source data. A Power Query result requires Data > Refresh All, and a newly added yearly table must also be included in the append operation.