00:00I recently published a video on how you can highlight the top two, maybe three salesmen
00:05from your data set simply by entering a number on your cell. However, someone has inquired if I can
00:10do the same feature on an Excel. Well, this is how you do it. First, you're going to highlight
00:16your data set, excluding the header, only the salesperson and the sales value. Then you go
00:21home, styles, conditional formatting. Over here, you're going to say new rule. In this new rule,
00:27you're going to select use a formula to determine which cell to format. Over here, you're going
00:32to say equal. First of all, you're going to select the very first cell on your sales row,
00:39and then you're going to press F4 twice like this, one, two, which makes the column fixed
00:45while the rows are not fixed. Then after that, you're going to say greater than or equal to
00:51because we're looking for the top two or three or whatever you enter here. Greater than or
00:56equal to, and we're going to use a function called large. The first argument on the function
01:02large would be the entire sales column like this, and then you're going to press comma,
01:08and the second argument on large would be whatever the user entered in this cell here, and you're
01:14going to close parenthesis. The function large will return the two largest value in the range
01:20C5 to C24 for this example. If I were to change this two to three, you'll find the largest three
01:26values in cell ranging from C5 to C24. Once that's done, you're going to click on format.
01:33After that, you're going to go to fill tab here and select any color that you want to highlight.
01:38See, I'm going to highlight with yellow and click OK, and on this new formatting rule, you're going to click
01:44OK. Now you can see that you have the two highest values being highlighted by this new conditional formatting
01:51feature that you've added. Now if you were to change this to three, you can see top three values
01:56are highlighted, and if you want only the top one value, you just put one here, hit enter,
02:02the topest value on your whole data set is highlighted.
Comments