×

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

Trendline in Excel

A Trendline is a line imposed on a graph to predict the direction of the data. It connects the series of data together to showcase the data best fit. The...

3 minutes read.

Go-To Special function in Excel

Go-to Special The Go-To Special function in Excel allows you to select all cells that meet certain criteria quickly. This command is used to identify specific cells – the ones which...

1 minute read.

Locate Maximum Values in Excel

Excel is a combination of numeric values and numbers. To retrieve the result, Excel provides various formulas and functions. Sometimes the user needs to find the largest value from the...

5 minutes read.

Excel SUBSTITUTE() Function

The SUBSTITUTE() function in excel substitutes/replaces the old text with the new text in a string. SUBSTITUTE function is used to clean data. This function is case-sensitive. Syntax SUBSTITUTE(Text, Old_Text, New_Text, [instance_number]) Parameter Text (required)- This...

2 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.

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.

How to use Index and Match in Excel?

The Index and Match function is a familiar and frequently used function in Excel. It is one of the most powerful functions and is easy to use. By default, Excel...

6 minutes 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.

Excel IF() Function

Excel IF() Function: The IF() function in excel checks whether a condition is true or not and returns one value if the condition is TRUE and another value if it's...

2 minutes read.

Insert Row in Excel

It was known that we have various multiple ways that are extremely helpful in inserting a particular row in the Microsoft Excel. And we have lots of shortcut options available...

6 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.

Excel LEFT() Function

The LEFT () function in excel returns the leftmost characters from a text value. This function is used for data manipulation. Syntax LEFT(Text, [num_chars]) Parameter Text (required)- This parameter represents the string from which you want to...

1 minute read.

Excel ROUNDUP() Function

Excel ROUNDUP() Function The ROUNDUP() function in excel returns a number rounded up to the nearest possible value and away from zero. Syntax ROUNDUP(Number, num_digits) Parameter Number(required)- This parameter represents the number which you want to...

1 minute read.

Charts in Excel

Charts Definition of Charts A chart is used to show numbers or data in a spreadsheet visually. It is the visual representation of your data. It is a tool that can be used in...

3 minutes read.

Excel WEEKDAY() Function

The WEEKDAY () function in excel returns number from 1 (Sunday) to 7 (Saturday) identifying the day of the week based on its date. This function Default return is - Sunday would be...

1 minute read.

Excel MID() Function

The MID() function in excel is used to return a specific number of characters from a text string starting at the position you specify. One can change the start of the string, thus...

1 minute read.

Excel COUNTA() Function

Excel COUNTA() Function The COUNTA() function counts the number of cells in a range that are not empty. Syntax COUNTA([value1], [value [2], ...) Parameter value1(required)- This parameter represents the first cell in the range. value2, …(optional)- It represents...

1 minute read.

Absolute Value in Excel

What is Absolute Value in Excel? Microsoft Excel worksheet is a combination of numeric values and alphabets. The numeric value is either a positive value or a negative value. Sometimes the...

5 minutes read.

How to Make Use of the F-Test in Excel

Intro to F-Test in Microsoft Excel F-Test is primarily considered to be the essential tool of statistical in Microsoft Excel that, in turn, is used to do the hypothesis test with...

7 minutes read.

Excel SECOND() Function

Excel SECOND() Function The SECOND() function in excel converts a serial number to SECOND (0 - 59). Syntax SECOND (SERIAL_NUMBER) Parameter SERIAL_NUMBER (required)- This parameter represents the date or time from which you want to extract...

1 minute read.