Find the most commonly repeated string in a column in Microsoft Excel 2010

In this article, we will learn how to find the most commonly repeated string in a column. We use the COUNTIF, INDIRECT, ADDRESS, MATCH, MAX ,COLUMN and MODE functions in Microsoft Excel.

COUNTIF function is used to count the duplicity of text or numbers in the range.

MATCH function we use to returns the cell number where the value is found in a horizontal or vertical range.

MAX function is used to return the largest number in a set of values. It ignores logical values and text.

COLUMN function is used to return the column number of a reference.

INDIRECT function returns the reference specified by a text string. This function is used to create a reference that won’t change if rows or columns are inserted on the worksheet.

ADDRESS function is used to create a cell reference as text, given specified row and column numbers.

Let’s take an example to understand how we can find the most commonly repeated string in a column in Microsoft Excel.

We have data in range A2:A9 in which column A contains the country name. Now, we want to check which country’s name is repeating the most.

img7
 
Follow below given steps:-

  • Write the formula in cell B2.
  • =COUNTIF(A:A,A2)
  • Press Enter on your keyboard
  • The function will give the count of every country,  Copy the same formula by pressing the key Ctrl+C and paste in the range by pressing the key Ctrl+V on your keyboard

img8
 

  • Select the cell C1, and write the formula
  • =INDIRECT(ADDRESS(MATCH(MAX(B:B),B:B,0),COLUMN(A:A)))
  • Press Enter on your keyboard
  • The function will return the country’s name which is repeating more than others

img9
 
This is the way by which we can find the mostly repeated string in a column in Microsoft Excel.
 
image 48

 

If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com

 
 

Users are saying about us...

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Google PlusVisit Us On Youtube