How to quickly rank data across multiple ranges and sheets in Excel?
If you have three sheets which contain some scores of students, now you want to rank the scores across these three sheets as below screenshot shown, how can you quickly handle it except comparing one by one in Excel?
Rank values across multiple ranges and sheets by formulas
Rank values in the same range across multiple sheets by Kutools for Excel
Rank values across multiple ranges and sheets by formulas
To rank multiple ranges across sheets, you need give these ranges a range name first, then apply a formula.
1. Active the workbook you use, click Formulas > Name Manager, then in the Name Manager dialog, click New button. See screenshot:
2. Then in the New Name dialog, specify the name for the range, and choose Workbook from the Scope drop down list, then paste this formula ={"Class1!$E$2:$E$5","Class2!$B$2:$B$5","Class3!$B$8:$B$11"}into the Refers to textbox. See screenshot:
In the formula, Class1!$E$2:$E$5, Class2!$B$2:$B$5 and Class3!$B$8:$B$11 are the ranges you want to rank across.
3. Click OK > Close to close the dialogs. And now you can go to a blank cell next to the value you want to rank, type this formula =IF(SUMPRODUCT(COUNTIF(INDIRECT(Score),E2))=0,"N/A",SUMPRODUCT(COUNTIF(INDIRECT(Score),">"&E2))+1), and drag auto fill handle down to apply this formula. See screenshot:
In the formula, E2 is the cell you want to rank, Score is the range name you specified in step 2. You can change the references and apply it to other ranges.
Rank values in the same range across multiple sheets by Kutools for Excel
If you want to rank values which are in the same range, for instance I2:I5, across three sheets, Sheet Class1, Sheet Class2 and Sheet Class3, you can apply Kutools for Excel’s Dynamically Refer to Worksheets utility to extract cells to a list, and then rank them.
Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. |
After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)
1. Enable a blank sheet, for instance, Sheet Master, select Cell I2, and click Kutools > More (in Formula group) > Dynamically Refer to Worksheets. See screenshot:
2. Then in the Fill Worksheets References dialog, select Fill horizontally cell after cell, and check the sheets you want to use their ranges to rank. See screenshot:
3. Click Fill Range, and then close the Fill worksheets References dialog. Now all cells I2 in Sheet Class1, Class2 and Class3 have been filled, and then drag fill handle down to until zero values appear. See screenshot:
4. Now all scores have been filled in a range, now you can rank them. Select a blank cell, type this formula =RANK(I2,$I$2:$K$6), then drag auto fill handle down, then drag right to fill this formula to the cells you need. See screenshot:
Demo
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
