00:00If you have been assigned to determine the top three sales and the top three bad actors
00:05from your original dataset, you can simply use a function called take in Microsoft 365.
00:11And here's how you do it.
00:13We're going to start off by using a sort function on your top three sales here.
00:18And we're going to highlight the complete dataset table like this.
00:21And given the fact I'm highlighting two columns, I have to specify which column to sort it
00:26by.
00:27I'm going to sort it based on the actual dollar value, which is column number two, comma.
00:32And then this is the order of sorting.
00:34I'm going to sort based on descending so that my largest numbers will be right at the top.
00:39Close parenthesis and hit enter.
00:40And if you can see that all your dataset has been sorted according from the highest to
00:46the smallest.
00:47Now you can encapsulate this sort function with a take function.
00:53And the first argument on the take function will be the sort output itself.
00:57Now you can see that the number three to indicate the top three.
00:59If you need top five, you just have to change this three to five.
01:04And now if you hit enter, it will give you the top three sales from your dataset table.
01:09Now for the bad actors, all you have to do is simply copy this in your clipboard like this.
01:16And you can see that the top three bad actors are listed accordingly.
01:21And then you can see that the top three bad actors are listed accordingly.
01:28And then you can see that the top three bad actors are listed accordingly.
01:35And then you can see that the top three bad actors are listed accordingly.