FormatConditions.AddTop10 Method (Excel)


Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a Top10 object representing a conditional formatting rule for the specified range.

expression .AddTop10

expression A variable that represents a FormatConditions object.

Return Value

Top10 object

Using the Top10 object, you can find the highest and lowest values in a range of cells based on a cutoff value that you specify. For example, you can find the top five selling products in a regional report, the bottom 15 percent of products in a customer survey, or the top 25 salaries in a department personnel analysis.

© 2015 Microsoft