TAKE/SORT Formula help

Sunshine8790

Board Regular
Joined
Jun 1, 2021
Messages
86
Office Version
  1. 365
Platform
  1. Windows
Hi!

I'm trying to create a top 20 leaderboard from another tab on my spreadsheet.
I'm utilizing the Take/Sort formula combo to get results, and it's working fine with the data, however I need help adjusting it for these needs:
  1. I need the formula to only select results if column A on the table I'm pulling from contains the word "Salary" because I don't want "Hourly" data pulled for this leaderboard.
  2. Currently, it is showing all the data from the table range I indicated to pull from. I only need 3 cells of data from each row:
    1. I need data from column T first, column B second, and column S 3rd.
    2. I do not want any other data displaying.
This is what it currently looks like:
Book 11.xlsx
ABCDEFGHIJKLMNOPQRSTU
120TOP 20: JULY
2RankNameTotal Steps
3SalaryName 4213752700000000000000375271
4SalaryName 3213081800000000000000308182
5SalaryName 4313013200000000000000301323
6SalaryName 4012816700000000000000281674
7SalaryName 4812094000000000000000209405
8SalaryName 3111799300000000000000179936
9SalaryName 2211432200000000000000143227
10SalaryName 1011384100000000000000138418
11SalaryName 36187830000000000000087839
12SalaryName 41620800000000000000620810
13HourlyName 31498900000000000000498911
14SalaryName 521344000000000000000344012
15HourlyName 131274200000000000000274213
16SalaryName 4714790000000000000047914
17SalaryName 10000000000000000
18SalaryName 20000000000000000
19SalaryName 50000000000000000
20SalaryName 60000000000000000
21SalaryName 70000000000000000
22SalaryName 80000000000000000
23
Leaderboard
Cell Formulas
RangeFormula
B3:U22B3=TAKE(SORT('July Steps (Practice)'!A2:T100,20,1),A1)
Dynamic array formulas.


This is what I need it to look like, and again with only pulling from rows on the other tab that say "Salary":
20TOP 20
RankNameTotal Steps
1Name 4237527
2Name 3230818
3Name 4330132
4Name 4028167
5Name 4820940
6Name 3117993
7Name 2214322
8Name 1013841
9Name 368783
10Name 46208
11Name 34989
12Name 523440
13Name 132742
14Name 47479
15Name 1
16Name 2
17Name 5
18Name 6
19Name 7
20Name 8

Any help is appreciated.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
How about
Excel Formula:
=TAKE(SORT(FILTER(CHOOSECOLS('July Steps (Practice)'!A2:T10020,20,2,19),'July Steps (Practice)'!A2:A10020="Salary")),A1)
 
Upvote 1
Solution
=TAKE(SORT(FILTER(CHOOSECOLS('July Steps (Practice)'!A2:T10020,2,19),'July Steps (Practice)'!A2:A10020="Salary")),A1)
I edited it a little and it works! Thank you so much 😊!
Excel Formula:
=TAKE(SORT(FILTER(CHOOSECOLS('July Steps (Practice)'!A2:T10020,20,2,19),'July Steps (Practice)'!A2:A10020="Salary")),A1)
 
Last edited:
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,182
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top