Click on the home tab → Styles Group→ Conditional Formatting: Here are the steps that you can follow in order to compare two columns for highlighting the duplicate data cells: Step 1: This type of comparison requires the use of a duplicate functionality option inside the conditional formatting. Rather, we will look for similarities or differences between the two columns, but not in the same rows. Here, we will not be going for a row-by-row comparison. This one requires a little attention to detail. Compare Two Columns to Highlight Duplicate or Unique Data CellsĪnother way that you might come across when you start to learn column comparison in Excel is comparing two cells and highlighting the duplicate or different data cells. Learn how to use the pmt function in excel here. Following this, click the ok button.Īll the cells with matching names or content will now be highlighted. Click the Format button and specify the format and click ok:Įnter the formula in the formula box at the bottom of the dialog box and click on the Format button in blue to do the necessary formatting that you wish to apply. Select the ‘Use A Formula To Determine Which Cells To Format’Įnter formula =$A1=$B1 in the formula field. Once you click on the ‘New Rule’ option, a new dialog box will appear with the title,‘New Formatting Rule’. The next step in the process of highlighting rows with matching data is determining which cells need to be formatted. In the ‘New Formatting Rule’ dialog box, click on the formula to determine which cells to format’ (It is usually at the end or somewhere at the bottom of the drop-down box.) From those options, you need to click on the ‘New Rule’ option. Once you click on the conditional formatting tool, a dialog box will appear, displaying a variety of different options. (The conditional formatting tool is usually found beside the format table.) Step 2: You have to click on it and a new drop down box will open. Inside the styles group you will find the option for conditional formatting at the very top.Inside the home tab, there is an option for a style group.To highlight rows with matching data, we first select the entire dataset using the cursor and then click on the home tab.Click on the home tab → Styles Group→ Conditional Formatting Use Conditional Formatting to Highlight Rows With Matching Data: Step 1: This will display the resulting Match in the cells of the two columns if the content of A6 matches with the content of cell B6 and Mismatch will be displayed if the contents of cell A6 do not match with the contents of cell B6. Here, you will be required to enter the cell names in the logical_test part, i.e.Ī6=B6 and Match or Mismatch in the Value_if_true and Value_if_false part. In case you want to use the IF function for comparing two columns in Excel, then the first step would be selecting the cell you want to display the result in and typing the formula: If the contents of A1 match the contents of B1 then the result will be displayed as true in C1, else false.Ĭomparing Two Columns Using the IF Function: Suppose, you want to display the result in cell C1 then click on C1 and type the formula mentioned above in the formula box. Select the cell you want to display the result in and type this formula in the formula box: Using this method, you can compare two columns and quickly check whether their two cells are equal or not. Here, you will do a row by row check and learn to find differences and similarities in two columns. So, let us now begin our quest of learning the various types of comparison. To help you learn how to compare two columns in Excel, we have broken down the different types of comparison in various steps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |