Written by Allen Wyatt (last updated July 2, 2020)
This tip applies to Excel 97, 2000, 2002, and 2003
Excel provides the MODE function to help you determine the most frequently recurring value in a range. For instance, let's say you have a table that contains sales orders. One of the columns indicates the number of items ordered in each order. Over time, you may have accumulated quite a bit of data in the table. If you wanted to know the most common number of items ordered, you could use the MODE function.
Suppose your items ordered column is F, and you have 1,200 orders detailed in rows 2 through 1,201. If want to know the most common number of items ordered, you can use the following:
=MODE(F2:F1201)
The value returned represents the most commonly recurring value in the range. Thus, if 520 of your customers ordered 3 items, and the next most common was 314 customers ordering 4 items, then MODE would return the number 3.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2365) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Returning the MODE of a Range.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
Excel includes a surprising number of functions you can use to round your data. Two such functions are FLOOR and CEILING, ...
Discover MoreNeed to round a value by a power of 10? You can do it by using the ROUND function as described in this tip.
Discover MoreIf you have a series of values and you want to get a total of just the values that meet specific criteria, then you need ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2023 Sharon Parq Associates, Inc.
Comments