Most Frequent Value in a Column

Written by Allen Wyatt (last updated April 10, 2026)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365


Barry has a worksheet that contains readings from a production process at his plant. These readings are in column D of the worksheet, and there can be several thousand of them on a daily basis. The readings are always positive integer values. Barry needs to know what reading most frequently occurs in the column. He would like to know what the reading is and how many occurrences there are for that reading.

There are many different ways you can approach this task, but I'll consider the most straightforward. Historically, Excel has provided the MODE function, which returns the most frequently occurring value in a range of cells. So, Barry could return the most frequent value by simply using this formula:

=MODE(D:D)

What this doesn't do, however, is return "ties" where two values may occur at the same frequency. That is why, beginning with Excel 2010, Microsoft introduced the MODE.SNGL and MODE.MULT functions. The MODE.SNGL function returns a single value, so it is effectively the same as the MODE function. MODE.MULT, however, could return multiple values—in other words, ties:

=MODE.MULT(D:D)

Since MODE.MULT could return multiple results, it was necessary to enter it as an array formula. In the most modern versions of Excel, however, no special entry is needed. If you use the MODE.MULT formula in cell F2, Barry could determine the count he wanted by putting this in another cell:

=COUNTIF(D:D,F2)

If you are using Microsoft 365, you could devise a formula that will return all of the info that Barry needs—including ties:

=LET(n,MODE.MULT(D:.D),HSTACK(n,COUNTIF(D:.D,n)))

Note that this formula uses a trimmed version of column D, accessing only those cells that contain values. This is done by using the dot indicator before the second portion of the range. You could also use this variation of the formula if you find it easier to use:

=LET(r,TRIMRANGE(D:D),n,MODE.MULT(r),HSTACK(n,COUNTIF(r,n)))

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13974) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Using WordArt in Excel

The WordArt program has been available in Office for a long, long time. It allows you to (dare I say it) create art from ...

Discover More

Excel Refuses to Put Page Breaks between Subtotal Groups

Page breaks not appearing where you expect them in your subtotaled data? It could be because of a setting you made in ...

Discover More

Controlling AutoComplete for Month Names

Word has a feature called AutoComplete which is helpful when typing some comment things, such as month names. This tip ...

Discover More

Dive Deep into Macros! Make Excel do things you thought were impossible, discover techniques you won't find anywhere else, and create powerful automated reports. Bill Jelen and Tracy Syrstad help you instantly visualize information to make it actionable. You’ll find step-by-step instructions, real-world case studies, and 50 workbooks packed with examples and solutions. Check out Microsoft Excel 2019 VBA and Macros today!

More ExcelTips (ribbon)

Using the XIRR Function

One of the financial worksheet functions provided in Excel is the XIRR function. This is used to figure out an internal ...

Discover More

Finding the Lowest Numbers

Need to find the lowest numbers in a range of values? It's easy to do using the SMALL worksheet function, or you can use ...

Discover More

Calculating the Day of the Year

Need to know what day of the year a certain date is? You can figure it out easily using the formulas in this tip.

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is seven less than 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.