×

Row Difference in Excel

Microsoft Excel is used for multiple purposes in various organizations. It is a combination of numeric values, alphabets etc. To calculate data, the user organizes the data according to their convenience using the Excel default function. Excel consists of various in-built functions that help organize and review the data quickly and efficiently. While calculating and finalizing the data, the user needs to check the duplicate or repeated value, the difference between the data called row difference. Calculating the row difference is one of the tasks which is done by the Excel default feature. Here in this tutorial, the steps to calculate the row difference are described in a step-by-step method.

1. How to find the row difference in Excel?

If the row difference is highlighted, the user’s time is saved during calculations. To highlight the row difference first find the difference between the data, to highlight the data, formatting method is applied.  Highlighting the data helps to update, review, or analyze the data in future easily and quickly.

The steps to be followed for finding the row difference is as follows,

Step 1: Enter the data in the spreadsheet in the respective row and column.

Row Difference in Excel

Step 2: To select the cell range from A1:C10, select any cell, here the cell A1 is selected. After selecting the cell drag the arrow mark towards the cell C10.  Here the cell A1 is called active cell. Selected active cells present in the column (here A1 is selected), which needs to be compared with the correspondent row. For example the value present in A1 is compared with the value B1 and C1. Likewise the values present in the column range A1:A10 acts as a comparison values.

Row Difference in Excel

Step 3: Select Find and Select option in the Editing Group from the Home Tab.

Row Difference in Excel

Step 4: Choose the “Go to Special “option.

Row Difference in Excel

Step 5: Choose the Row Difference and click Ok.

Row Difference in Excel

Step 6: The cell difference is highlighted comparing with the values present in the column A1:A10. From the above cell, the value in B1 varies compared to A1. B2 vary compared with A1. B5 vary compared with A5. C6 vary with A6. C8 vary with A8. C9 vary with A9. B10 and C10 vary with A1. Therefore the cell difference is highlighted.

Row Difference in Excel

2. How to change the background colour of the highlighted cell?

To set the desired background colour to the highlighted cells, the steps to be followed are,

Step 1: After finding the cell difference, change the background colour from the font group in the Home Tab as shown in the image.

Row Difference in Excel

  Step 2: Fill the necessary colour in the font group. The selected colour is applied to the highlighted cells. This helps to view the highlighted cells easily and quickly while organizing and calculating the data.

Row Difference in Excel

From the above worksheet, the row difference is highlighted in yellow in color.

3. How to compare two columns using formula?

To compare two columns, in Excel using row by row the IF formula is used. The formula is used to compare two cells in the respective row. The steps to be followed are,

Step 1: Enter the data in the respective row and columns namely A1:B7.

Step 2: Choose a new cell where the result wants to display namely C1 and enter the formula as =IF (A1=B1, “Match”,””). The result will be displayed in the cell C1.

Step 3: To display the result in the respective cells, drag the formula towards the cell C7.  The result will be displayed in the remaining cells whether the data present in the cell is matched or not.

Row Difference in Excel

From the above worksheet, if the value matches, the result is displayed as MATCH.

If the user wants to display the result as “No Match”, then type the formula as =IF (A1=B1, “MATCH”,”NO MATCH”)

Row Difference in Excel

From the above images, “NO MATCH” is displayed as result, if the value does not match.

4. How to compare the case-sensitive data?

Sometimes the user needs to compare the two columns, whether the respective column contains data which is case sensitive or not. To find the case sensitive data, the EXACT function is used. The steps to be followed are,

Step 1: Enter the data in the respective row and columns namely A1:B7.

Step 2: Choose a new cell where the result wants to display namely C1 and enter the formula as =IF (EXACT (A1, B1),”Match”,””). The result will be displayed in the cell C1.

Step 3: To display the result in the respective cells, drag the formula towards the cell C7.  The result will be displayed in the remaining cells whether the data present in the cell is matched with case-sensitive.

Row Difference in Excel

From the above worksheet, the result is displayed as “MATCH” if the data matches, and “NO MATCH” is displayed if there occurs a case-sensitive difference in the data. To find the case-sensitive differences, the formula is modified as =IF (EXACT (A1, B1),”MATCH”,”UNIQUE”). The result UNIQUE will be displayed, if there occurs a data difference in case-sensitive.

5. How to compare multiple columns in Excel?

If the table contains multiple columns, to find the rows which consists of similar data in all the cells, the IF formula with AND statement is used. The steps to be followed are,

Step 1: Enter the data in the respective row and columns namely A1:C7.

Step 2: Choose a new cell where the result wants to display namely D1 and enter the formula as =IF (AND (A1=B1, A1=C1),”Full Match”,””). The result will be displayed in the cell D1.

Step 3: To display the result in the respective cells, drag the formula towards the cell D7.  The result will be displayed in the remaining cells whether the data present in the cell is full matched or not.

Row Difference in Excel

From the above worksheet, the result “FULL MATCH” indicates that the data is fully matched and empty cell indicates that the cell is not fully matched.

6.How to find the matches in any two cells in the same row?

Sometimes the data contains multiple rows and columns. To find the row match between any particular cells among various cells, the steps to be followed are,

Here in this example among 7 rows and 4 columns, the data matches between three columns is found in this example.

Step 1: Enter the data in the respective row and columns namely A1:D7.

Step 2: Choose a new cell where the result wants to display namely E1 and enter the formula as =IF (OR (A1=B1, B1=C1, A1=C1),”Match”,””). The result will be displayed in the cell D1. Here the column A, B and C are compared.

Step 3: To display the result in the respective cells, drag the formula towards the cell E7.  The result will be displayed in the remaining cells whether the data present in the cell is matched or not.

Row Difference in Excel

From the above worksheet, the result is displayed as “Match” any one of the condition is true such as A1=B1, B1=C1, and A1=C1. Hence to check multiple columns, the required condition is applied in the IF and OR to check the data similarities.

Summary

From the above tutorial, the various functions and methods of finding the Excel row differences and matches is explained briefly.


Related Topics

Conditional Formatting in Excel

Conditional Formatting What are the conditional formats? Conditional Formatting is a tool that allows the user to format cells or range of cells based on the selected condition or given criteria. The formatting will...

4 minutes read.

Excel INT() Function

Excel INT() Function The INT() function in excel is used to round a number down to the nearest integer. It removes decimal points from any number value & return rounded down number value in...

1 minute read.

Excel VALUE() Function

The VALUE() function in excel converts the specific text representing a number (i.e., a number, date, or time format) into a numerical value. Syntax VALUE(Text) Parameter Text(required)- This parameter represents the string that you want...

1 minute read.

Formatting in Excel

Formatting in Excel Formatting in Excel is used to alter and change the appearance of your data in a standardized form. It also helps you to give a professional look to your reports, worksheets,...

7 minutes read.

Excel VLOOKUP() Function

Excel VLOOKUP() Function The VLOOKUP() function in excel is used to lookup the value on the leftmost side of the table and then return the value in the corresponding row basis on the supplied...

2 minutes read.

How to Alphabetize in Excel?

Alphabetize in Excel One of the reasons for Excel's widest popularity is its ability to swiftly and effortlessly sort data. Excel facilitates easy methods that alphabetically sort the lists of strings...

5 minutes read.

How to generate random numbers in Excel

In this tutorial, we will discuss the following things in detail that are as follows: Introduction about Random Numbers used in Microsoft Excel. Discuss how to generate the Random Numbers in Microsoft...

6 minutes read.

Converting Units in Excel

The numeric values present in Excel consist of various types such as constant, integer, decimal etc. For calculation purposes, the values present in the data need to be converted to...

4 minutes read.

Excel SMALL() Function

The SMALL() function in excel returns the k-th smallest value in a data set. Syntax SMALL(Array, kth small number from the list) Parameter Array (required)- This parameter represents the list of numbers from which nth smallest...

1 minute read.

Excel MIN() Function

Excel MIN() Function The MIN() function in excel returns the smallest or minimum value from the provided numbers, named range or array. It ignores logical values and text. Syntax MIN(Number1,Number2, ...) Parameter Number1(required)- This parameter represents the...

1 minute read.

Excel MAX() Function

Excel MAX() Function The MAX() function in excel returns the largest or maximum number from a range of cells. It ignores logical values and text. Syntax MAX(Number1,Number2, ...) Parameter Number1(required)- This parameter represents the string for which you...

1 minute read.

Excel Tutorial for Beginners

What is Excel? Microsoft Excel is a software program included in the Microsoft Office suite. It is a commercial spreadsheet application developed by Microsoft for Windows, macOS, Android, and iOS. It...

5 minutes read.

Custom Sort Order in Excel

Microsoft Excel Worksheet is widely used for office, personal and various usages. The data present in the worksheet is a combination of numbers and alphabets. If the worksheet contains more...

3 minutes read.

Excel Axes

What is Excel Axes? Axes are a horizontal or vertical line containing units of measure. There are two types of axes X and Y axes. X is a horizontal and Y...

3 minutes read.

Data Analysis in Excel

Data Analysis in Excel Data analysis is a powerful tool that helps the users to make better decisions by comparing different information. Microsoft Excel extends its credibility to enforce the data analysis tool...

6 minutes read.

Excel IFERROR() Function

The IFERROR() function in excel returns the specified value if initially supplied the argument or formula returns an error, otherwise returns the result of the formula supplied in the first argument. When...

2 minutes read.

Notes in Excel

Notes in Excel Notes are used to include additional information to the cell and explain formulas calculation, any modification made to the cell, providing necessary information on data that is entered or to provide any...

3 minutes read.

Excel Themes

Microsoft Excel contains various features to enhance the appearance of the worksheet like text color, font size and general outlook of the objects. The users are provided with multiple theme...

3 minutes read.

Spell Check in Excel

Spell Check in Excel Microsoft Excel facilities the complete features for examining the work with text. It provides the basic properties for the proper functioning of text, including the spell-check property. The...

5 minutes read.

Calculating the Last Day of the Month in Excel

In Microsoft Excel, various functions exist to calculate the date and time from the current date to the past and future. Among multiple tasks in this tutorial, let's see how...

3 minutes read.