How to Find & Remove Duplicates in Excel Quickly

How To Find & Remove Duplicates in Excel (Step by Step , Video Tutorial)

With thousands of rows in today’s spreadsheets, it is virtually impossible for anyone to spot a duplicate value or duplicate row in Excel visually or manually. But you’ll be getting the wrong picture, and your analysis will be wrong until you remove the duplicates. So it is extremely important to De-Duplicate your Data carefully in the Excel sheet, before you begin your data analysis.

Fortunately, since Microsoft Excel 2007, it has been extremely easy to find Duplicates, and Remove them in a single click.

In this step by step article, and a tutorial video on How to Find Duplicates in Excel, and How to Remove Duplicates in Excel Sheet, you’ll learn a couple of hidden gems of Excel features and functionality.

With Office 365, and all the way back to Microsoft Excel 2007, there has been steady enhancements in different Excel versions in terms of finding and tracking duplicates, and even removing them.

Now it is extremely easy to spot duplicates, and there are multiple ways to find duplicates or eliminate duplicates from your Excel workbooks and worksheets.

Let’s look at How to Find Duplicates in Excel first. Then we will see how to remove duplicates in Excel sheet. And we will also show you Excel formulas to remove duplicates. Use any of these methods to quickly remove duplicate cells in Excel.

Step 1: Spot a duplicate value, and get it to change its color automatically

In this simple and easiest method to find duplicate rows in Excel, we make use of Conditional Formatting in Excel, available on the Home Tab.

  • Simply select the data range where you want to spot any duplicate values, and then click on Conditional Formatting. A drop down menu of choices appears. Select the first choice – Highlight Cell Rules. Then select the Last option –Duplicate Values. The short cut key combination is Alt +H L H D.highlight_cells_duplicate_value

Step 2. Select your favorite color to highlight the duplicate values.

Here I have chosen the Light Red color.duplicate_values_popup

 

Step 3. Both the duplicate values are now highlighted.

finding duplicate values in Microsoft Excel

There you are. A quick and nifty way to find the duplicate values in any column, quickly.

Want to Improve Your Excel Skills?

Learn the Key Features of Excel Quickly & Easily, by Joining the
Online Training on Basic / Intermediate Excel.

To Get Most out of Excel, Learn the  Pivot Table techniques in our
Pivot Table Masterclass Training
!

This method uses the EXACT duplicates to highlight.

If you want to show partial matches in terms of duplicates or similar to duplicates, you can use another interesting technique.

Using Conditional Formatting in Excel to Find Partial Matches

Here we use the “Text That Contains” setting under Conditional Formatting > Highlight Cell Rules >

With this setting, and keying in any value, it will be able to find Partial Matches of values.

Conditional Formatting - Text That Contains to Identify Partial Matches
Conditional Formatting – Text That Contains to Identify Partial Matches

I am searching for names that contain the word “Ram”.

Partial Match in searching for Duplicate Values in Excel
Partial Match in searching for Duplicate Values in Excel

As you can see, Ram Kumar was highlighted, due to Ram, but Krish was also highlighted, because the full name contains the word “ram” in the last name, Venkataraman.

This way, you can pick partial matches to be highlighted in Excel, using Conditional Formatting technique.

And if you want to do it again and again with different values to find, it is better to set a cell to the value being found. Then set the Conditional Formatting to search for the value in that cell.

I have demonstrated this in the video on How to Find & Remove Duplicates in Excel. Click to watch it and see how this is done properly. This guided video will help you in identifying and eliminating duplicates easily.

How to Remove Duplicates in Excel?

We will talk about another nifty way to eliminate duplicates in Excel, once for all, in the next article.

If you were to head to the Data Tab, and look under the Data Tools group, you’ll find the “Remove Duplicates” button hiding there. Some versions of Excel show a small icon, others show the full word, and some versions have a huge icon, and the words “Remove Duplicates” visible in full.

Check carefully to identify the button in your version of Excel. But all Excel versions since Excel 2007 have this button to Remove Duplicates.

STEPS TO REMOVE DUPLICATE ROWS IN EXCEL

With this option, simply select the entire data range, and then click on this “Remove Duplicates” button. It will identify rows that are EXACT DUPLICATES, and simply remove them.

Then Excel will notify you that X number of rows containing duplicates were found, and Removed.

However, this Remove Duplicates button click WILL NOT show you which records were removed. ūüôĀ

Some people find this feature a bit of a risk. Thus, it is better to use Conditional Formatting technique described earlier to SEE the Duplicates visually, BEFORE REMOVING them.

With these 2 techniques, you can FIND the Duplicates, SEE them visually, DOUBLE CHECK that the correct ones are highlighted, and then only REMOVE the Duplicates.

Better Safe than Sorry!

How to Compare Two Excel Sheets for Duplicates and Highlight the Duplicate Data

Comparing two Excel sheets for duplicates and highlighting the duplicate data can be done using a few different methods. Here’s a step-by-step instruction for a couple of common approaches:

Method 1: Using Conditional Formatting in Excel

  1. Open Your Excel Workbook: Make sure both sheets you want to compare are in the same workbook.
  2. Select the Range in the First Sheet: Click on the first cell of the range you want to compare and drag to select the entire range.
  3. Go to Conditional Formatting: On the Home tab, in the Styles group, click on ‘Conditional Formatting’.
  4. New Rule: Click on ‘New Rule’.
  5. Use a Formula to Determine Which Cells to Format: Select this option.
  6. Enter Comparison Formula:
    • Suppose you are comparing Sheet1 to Sheet2. The formula will look something like this:
      =COUNTIF(Sheet2!A:A, A1)>0

      This formula assumes you’re comparing column A of both sheets. Adjust the range (e.g., A:A or B:B) and cell (e.g., A1, B1) to suit your data.

  7. Set Format: Click on ‘Format’, choose a highlighting color under the ‘Fill’ tab, and click OK.
  8. Apply and OK: Click OK to apply the conditional formatting. Duplicates will be highlighted in the chosen color.
  9. Repeat for the Second Sheet: Now, do the same for the range in the second sheet you’re comparing.

Method 2: Using Excel’s ‘Remove Duplicates’ Feature

  1. Copy Data to a New Sheet: If you want to keep the original sheets unchanged, copy the data from both sheets into a new sheet, one below the other.
  2. Select the Combined Data: Click on the first cell and drag to select the entire range.
  3. Data Tab: Go to the ‘Data’ tab on the ribbon.
  4. Remove Duplicates: Click on ‘Remove Duplicates’.
  5. Choose Columns: In the Remove Duplicates dialog box, choose the columns you want to check for duplicate information, then click OK.
  6. Duplicates are Removed: Excel will remove duplicate rows and show a message indicating how many duplicates were removed and how many unique values remain.
  7. Highlight Original Data: You can then manually or using conditional formatting (as described in Method 1) highlight these duplicates in your original sheets.

Using Excel Formulas to Find Duplicate Data in Excel Sheets

The VLOOKUP, INDEX, and MATCH functions in Excel can be very useful for identifying duplicates across sheets or within a sheet.

However, it’s important to note that these functions can identify duplicates, but they don’t directly remove them. You should generally use these functions in combination with conditional formatting to highlight duplicates or with other Excel features to remove them. Let’s go through how to use each function for identifying duplicates in Excel Sheets:

VLOOKUP to Identify Duplicates

The VLOOKUP function searches for a value in the first column of a range and returns a value in the same row from a specified column.

  1. Select a Cell for the VLOOKUP Result: Click on a cell where you want to display the result (e.g., next to your data).
  2. Enter the VLOOKUP Formula:
    • Example formula: =VLOOKUP(A2, Sheet2!A:A, 1, FALSE)
    • This formula checks if the value in A2 of the current sheet exists in column A of Sheet2.
  3. Copy the Formula Down: Drag the fill handle down to copy the formula to other cells.
  4. Identify Duplicates: If VLOOKUP finds a match, it will display the matching value; if not, it will show an error. You can use conditional formatting to highlight cells where VLOOKUP doesn’t return an error, indicating a duplicate.

INDEX and MATCH to Identify Duplicates

The combination of INDEX and MATCH is often used as an alternative to VLOOKUP. MATCH finds the position of a value in a range, and INDEX returns a value at a given position in a range.

  1. Select a Cell for the Result: Choose where you want the result to appear.
  2. Enter the INDEX-MATCH Formula:
    • Example formula: =INDEX(Sheet2!A:A, MATCH(A2, Sheet2!A:A, 0))
    • This formula searches for the value in A2 of the current sheet in column A of Sheet2 and returns the corresponding value.
  3. Copy the Formula: Drag down the formula as needed.
  4. Highlight Duplicates: Use conditional formatting to highlight cells where INDEX-MATCH returns a value, indicating a duplicate.

Removing Duplicates Using a Formula

While there’s no direct formula to remove duplicates cells in Excel, you can use a combination of functions to create a list that excludes duplicates. One common approach is using the IF, COUNTIF, and an array formula.

  1. Create a New Column: In a new column next to your data, you’re going to enter a formula that will flag duplicates.
  2. Enter the Array Formula:
    • Example formula: =IF(COUNTIF($A$1:A2, A2)=1, A2, "")
    • This formula checks if the current value in column A has appeared before. If it’s the first occurrence, it shows the value; otherwise, it shows an empty string.
  3. Enter as an Array Formula: After typing the formula, press Ctrl + Shift + Enter instead of just Enter. This converts it into an array formula.
  4. Copy Down the Formula: Drag the fill handle down to apply this to your entire data set.
  5. Filter or Sort: Now, you can filter or sort this new column to separate unique values from duplicates.

Remember, these methods will help you identify and segregate duplicates, but to actually remove them from your data, you might have to do some manual data management or use the “Remove Duplicates” feature in Excel that we discussed earlier.

And this brings us to a close of this article. I hope that with these techniques, you can pick up duplicates in your data in Excel or remove them, as you wish.

PRO TIP: Do remember to watch the Video, for how to identify values that start with a particular Text, or End with a particular text. It is highlighted in the Video in detail, and can be very handy.

Do you have a Duplicates related question in Excel?

Simply write to us, and our Excel experts will try to help you out. Write to us at the Contact Us page on this website.

You may find these resources useful:

Cheers,
Vinai Prakash,
Founder of ExcelChamp.Net & Master Trainer for all Excel Courses at ExcelChamp.

Visit our ExcelChamp Channel on YouTube for more Excel Tips & Tricks.

Vinai is passionate about maximizing Excel to improve everyday productivity. He conducts Excel workshops in Singapore, Australia, Middle East. If you would like to engage him to train your staff in maximising Excel, do contact us.

And join our Online Excel courses to learn Excel well, and become a Pro.

Are you facing any problem in using Excel? Any Question?

You have come to the right place. Tell us your needs. We’ll be glad to help you!

Master Excel Lookup Functions like VLOOKUP, HLOOKUP, INDEX, MATCH, OFFSET

How to Refresh a Pivot Table (Manually or Automatically)

Top 12 Most Important Excel Functions You Must Master

Top 12 Most Important Excel Functions & Features You Must Know

In this Excel tutorial, we highlight the Top 12 Most Important Excel Functions and Features that can help most users in getting the basics right, and improve productivity and efficiency drastically.

12 Most Important Excel Functions and Features YOU MUST LEARN & MASTER

Learn the most important formulas & features of Microsoft Excel. I have listed them below for your learning pleasure.

Must-Know Excel Functions for Productivity & Career Enhancement

  1. Average,
  2. Sum,
  3. Count,
  4. Countif,
  5. CountA,
  6. CountBlank,
  7. Sumif,
  8. Concatenate,
  9. Proper,
  10. Round,
  11. Vlookup, and
  12. Creating Dropdown lists in Microsoft Excel.

With a sound knowledge of these 12 Most Important Functions and Features of Excel, you will be on your way to Excel Mastery. You have to take one step at a time.

Learn one Excel function and master it. You come closer to victory with each step, each new function, each new formula learned. Some of these are basic Excel Formulas and Functions than are the easiest to master.

Using the AVERAGE Function in Excel

How to use the Average Function in Excel

The Average Function is pretty easy to use.

It adds all the numbers in the provided range, and then divides the grand total by the count of the numbers provided.

You can only Average Numeric Values.

Syntax of Average Function in Excel:

=AVERAGE(number1, number2, number3)

=AVERAGE(Range_of_Cells) like =AVERAGE(A1:A10)

When do you use the AVERAGE Function in Excel:

Managers and business owners often ask executive about the Average Sales, or Average Revenue, or Average Salary, or Average Number of Tickets Resolved, or Average Time Spent on Calls.

All such measures can be easily calculated with the Average Function, which is pre-built into Excel, and is one of the most popular excel functions.

Using the SUM Function in Excel

How to use the SUM Function in Excel
How to use the SUM Function in Excel

The Sum Function adds all the numbers in the provided range, and then provides the Grand Total in the resulting cell.

You can provide numbers, refer to multiple cells, or select a range of cells to sum the numbers easily.

The SUM function only works on Numeric Values. It is considered the most basic excel formulas and functions.

If you provide a non numeric value (text value), it will result in a #VALUE error to be displayed in the Grand Total cell.

Syntax of Sum Function in Excel:

=SUM(number1, number2, number3)

=SUM(Range_of_Cells) like =SUM(A1:A10)

When do you use the SUM Function in Excel:

Managers and business owners often ask their staff about the Total Sales, or Total Revenue, or Total Salary for the company or department, or Total Number of Tickets Resolved, or Total Time Spent on Calls, or Total Expenses.

All such measures can be easily calculated with the SUM Excel Function, which is pre-built into Excel. This function is the most common, and most popular excel functions.

This function can be invoked from the Home Tab, by clicking the Sigma Icon. If the grand total cell is next to a range of data, it will auto populate the SUM formula, without writing anything. This is a handy trick that you should practice and get used to.

It will help you a lot to get the Grand Total, and is one of the most important function in Excel, and the most commonly used function in Excel too.

If you want to summarize data in Excel easily, check out this detailed article and video tutorial.

Using the COUNT Function in Excel

How to use the COUNT Function in Excel
How to use the COUNT Function in Excel

The COUNT Function counts all the numeric numbers in the provided range, and then provides the Total Count in the resulting cell.

You can provide numbers, refer to multiple cells, or select a range of cells to Count the numbers easily.

The COUNT function only works on Numeric Values.

If you provide a non numeric value (text value), it will NOT BE COUNTED in the final count.

Syntax of COUNT Function in Excel:

=COUNT(number1, number2, number3)

=COUNT(Range_of_Cells) like =COUNT(A1:A10)

When do you use the COUNT Function in Excel:

It is common in the management, and executives to count the number of rows of data.

For example, managers often want to know the total number of Headcount, the total number of  transactions, or Total Number of Tickets Resolved.

All such measures can be easily calculated with the COUNT Function, which is pre-built into Excel. This function is the most common.

This function can be invoked from the Home Tab, by clicking the drop down arrow of the Sigma Icon.

If the grand count cell is next to a range of data, it will auto populate the COUNT formula, without writing anything.

This is a handy trick that you should practice and get used to for counting the number of rows or transactions easily in Excel.

It will help you a lot to get the Total Count, and is one of the most important function in Excel, and one of the most commonly used function in Excel too.

SUM, COUNT, AVERAGE are the basic Excel formulas and functions that everyone should know at the bare minimum. But there are several more important functions in Excel also.

Using the COUNTIF Function in Excel

How to use the COUNTIF Function in Excel
How to use the COUNTIF Function in Excel

The COUNTIF function is amazing. It can conditionally count values, based on a criteria. This is one of the most popular logical functions in Excel.

This COUNTIF function can count the number of people in a particular department, count the number of products in a particular category, count the number of values that exactly match a particular value to name a few.

Countif can be also used to count non numeric values. This is a Big Plus for people wanting to count text values, based on a criteria.

Syntax of COUNTIF Function in Excel:

=COUNTIF(numbers in a range, criteria)

=COUNTIF(A1:A100, “=Oranges”) will count the number of rows in cells A1 through A100, which contain the word “Oranges” exactly.

=COUNTIF(A1:A100, “>5000”) will count the number of rows in cells A1 through A100, which contains values that are greater than 5000.

Interestingly, you can use this to count values that are greater than or lesser than a particular value too.

You can use Greater Than (>), Lesser Than (<), Greater Than or Equal To (>=), Lesser Than or Equal To (<=), and Not Equal To (<>) signs in the COUNTIF function.

Check out the Multiple Ways to Count in Excel.

When do you use the COUNTIF Function in Excel:

If your client wants to know how many big orders, above 10,000 were received today, or how many products of the Electronics category were sold, you could use the COUNTIF Excel function easily.

=COUNTIF(A1:A100, “>10000”)

=COUNTIF(A1:A100, “Electronics”)

=COUNTIF(A1:A100, 500) shows the number of entries where the value equates to 500.

Additional Resources: How To Count Cells With a Certain Value in Excel

This is one of the several logical functions in Excel. Other logical functions in Excel include IF, SUMIF, AVERAGEIF etc.

Some people consider COUNTIF to be an advanced function in Excel. Nonetheless, it is extremely useful, and I consider it to be an essential Excel formula to know and use.

Using the COUNTA Function in Excel

How to use the COUNTA Function in Excel
How to use the COUNTA Function in Excel

The COUNTA Function counts all non blank values in the provided range, and then provides the Total Count in the resulting cell.

You can provide numbers, text, refer to multiple cells, or select a range of cells to Count the non blank cells easily.

The COUNTA function works on Numeric & Non-Numeric Values. Thus, it can count Text value cells too.

The A in COUNTA actually stands for Alphanumeric values. So that’s why it can count text as well as numbers.

If you provide a non numeric value (text value), it CAN BE EASILY COUNTED in the final count.

Syntax of COUNTA Function in Excel:

=COUNTA(number1, number2, number3)

=COUNTA(Range_of_Cells) like =COUNTA(A1:A10)

When do you use the COUNTA Function in Excel:

It is common in the management, and executives to count the number of rows of data. If the data being counted is numeric, you use COUNT, but if you are counting names, or departments, or Products or Categories etc., it is better to use COUNTA, as it counts text values too.

For example, managers often want to know the total number of Employees, the total number of  Customers, or Total Number of Tickets Resolved.

All such measures can be easily calculated with the COUNTA Function, which is pre-built into Excel.

This function not known to many people. Learning to use this function well will improve your productivity and efficiency in Excel.

Additional Resources:  Counting Text Values in Excel

Using the COUNTBLANK Function in Excel

The COUNTBLANK Function counts all the blank values in the provided range, and then provides the Total Count in the resulting cell.

You can provide cells, refer to multiple cells, or select a range of cells to Count the Blanks easily.

The COUNTBLANK function works on Any kind of cells.

If you provide a range of Numeric or Non-Numeric cells to the COUNTBLANK function, then these will not be counted.

This function only counts empty cells.

CAUTION: A common issue with the COUNTBLANK function is that if a cell contains a space, it does NOT get counted.

This may make the CountBlank total not seem to total with the visible blanks. But this is because it is difficult to see a space in a cell.

Syntax of COUNTBLANK Function in Excel:

=COUNTBLANK(cell1, cell2, cell3)

=COUNTBLANK(Range_of_Cells) like =COUNTBLANK(A1:A10)

When do you use the COUNTBLANK Function in Excel:

You may be wondering why you may want to count blanks. But this efficient function definitely has its uses.

For example, office managers often want to know the total number of Products without a price (price is blank), count the number of Products that didn’t get a looked up value from a VLOOKUP operation, or count how many employees don’t have a valid cost center code.

All such things can be easily counted with the COUNTBLANK Function, which is pre-built into Excel.

The COUNTBLANK function is a life saver when checking counts and it helps to find the illusive missing or empty value.

It will help you a lot to get the Total Empty or Blank Count, and is one of the 12 most important function in Excel, and one that is not so commonly known.

Using the SUMIF Function in Excel

The SUMIF function is amazing. It can conditionally SUM values, based on a criteria. SUMIF is another one of the most popular logical functions in Excel, along with COUNTIF.

This SUMIF function can SUM the total Salary in a particular department, SUM the total Sales in a particular category, Sum the amounts that exactly match a particular value to name a few.

SUMIF can be also used to sum based on a Criteria that is a non numeric value.

This is a Big Plus for people wanting to SUM Numbers, based on a text value criteria.

Syntax of SUMIF Function in Excel:

=SUMIF(range, criteria, [sum_range])

In this formula, the criteria is the second argument. If the range meets the criteria, and the range is a numeric range, it can be summed up directly.

But if the range is a Text based Range, and it matches the criteria, you can provide a third, optional argument, which would then sum up the corresponding values from the sum range, where the range matches the criteria.

=SUMIF(A1:A100, “>1000”) will sum all the number cells A1 through A100, which contain a value that is greater than 1000.

=SUMIF(A1:A100, “>5000”, B1:B100) will sum the number¬† in cells B1 through B100, which contains a values that are greater than 5000 in the cell range A1 through A100.

You can use Greater Than (>), Lesser Than (<), Greater Than or Equal To (>=), Lesser Than or Equal To (<=), and Not Equal To (<>) signs in the SUMIF function.

=SUMIF(A1:A100, 1000) will sum all the amounts that are exactly equal to One Thousand in the range A1 through A100.

When do you use the SUMIF Function in Excel:

If your client wants to know the total sales for a particular category, like total sales amount in the Electronics category, you could use the SUMIF function easily.

=SUMIF(A1:A100, “Electronics”, B1:B100)

=SUMIF(A1:A100, “=1000”) will give the total of the values that are exactly 1000 in cells A1:A100.

Once you learn COUNTIF & SUMIF, you know two of the most important excel Formulas and Functions. These are the basic Excel formulas and functions that everyone should know.

Using the Concatenate Function in Excel

Combining Text, or Concatenating Text is frequently required.

No doubt that the CONCATENATE function, now also called as the CONCAT function is one of the Top 12 Most important functions in Excel.

The concatenate function helps you to combine two or more items into a single string.
The most common use is to use it for combining people’s first and last names.

SYNTAX of CONCATENATE Function in Excel

CONCATENATE(text1, text2, text3…)

For example, if you want to concatenate and combine two string, you get this

=CONCATENATE(“Hello”, “World”)
Result: HelloWorld

As you notice, there is no space between the two words.

This is because concatenate does not add any additional spaces in the combined text. Nor does it remove any spaces.

So if you want to add a space between the two strings, you will have to hard code the space in the concatenate function.

=CONCATENATE(“Hello”, ” “, “World”)
Result: Hello World

If the values to be combined are in separate columns, you can also use the Concatenate function

=CONCATENATE(A2, ” “, B2)
Result: Mickey Mouse

Now you can drag the formula or copy and paste it into the cells below, to get all the other names combined.

Note: Concatenate is best suited for combining Text Values. If you use it to combine numbers, you will get strange results.

=CONCATENATE(5, 6)
Result: 56

Concatenate can be used to combine separate Day, Month, and Year to resemble a date too.

=CONCATENATE(5, “-“, “Dec”, “-“, 2024)
Result: 5-Dec-2024

Using the PROPER Function in Excel

It is often required to display names of people, Categories, Departments to appear nicely in Excel, with the first letter of each word appearing in a Capital Letter.

While we have Excel functions like UPPER() & LOWER(), which can convert every letter to uppercase or lowercase, they are not so handy.

Because customers often want to see only the first letter capitalized, and the remaining letters to be in small letters.

Syntax of PROPER Function in Excel:

=PROPER(text_value)

=PROPER(“mickey mouse”) would result in Mickey Mouse. Notice that we supplied the “mickey mouse” in lower case. But the returned value had the first letter of each word capitalized.

When do you use the PROPER Function in Excel:

Whenever you want to capitalize the first letter of each word, you can use Proper function in Excel instantly.

I consider this to be one of the most useful and important functions of Excel.

Additional Resources: Learn the Text Functions in Excel

Using the ROUND Function in Excel

Whenever you divide two numbers, the resulting answer can be a large fraction. For example, dividing 100 by 3 gives us 33.333333333.

But business users may not want to use so many decimal points. Thus, the ROUND function comes in handy.

It can be used to round any fraction to any number of decimal points.

Syntax of ROUND Function in Excel:

=ROUND(number1, number_of_digitits_to_round_of)

=ROUND(33.33333333, 2) will result in 33.33 being the answer.

=ROUND(33.333333, 1) will result in 33.3 being the answer.

=ROUND(33.333333, 0) will result in 33 being the answer.

When do you use the ROUND Function in Excel:

The business managers, finance managers often ask to present the numbers rounded. For example, they may ask the Profit margin to be displayed in 2 decimal points.

Sometimes, a business user may want to round the values up or down, based on the business case.

So ROUNDUP(100/3, 2) will result in 33.34

And ROUNDDOWN(100/3, 2) will result in 33.33.

With multiple Rounding functions available, you can fulfill every user’s needs and requirement around Rounding.

So ROUND, ROUNDUP or ROUNDDOWN, and help each and every user with one of the most useful Excel functions.

Using the Vlookup Function in Excel

VLOOKUP is considered one of the Most Useful Functions of Excel. It is used to benchmark the skills of interviews often.

If you know VLOOKUP and can use it well, with its optional settings, then you are considered an Advanced User or an Experienced User of Excel.

Heck, some people also consider you to be an Excel Guru if you have mastered the VLOOKUP Function.

Learning and Using VLOOKUP is quite easy.

The use of this function in almost every corporate spreadsheet, and its amazing use cases have raised it to the Top of the Most Important Excel Functions of all times.

However, don’t think that it is difficult to use or that it is complex.

Let’s understand what is VLOOKUP first, and then we understand its syntax and usage.

VLOOKUP is used to lookup any value in a table, and pick a corresponding value from the other columns of the matching row.

Syntax of VLOOKUP Function in Excel:

=VLOOKUP(lookup_value, table_array, column_index_number, [range_lookup])

=VLOOKUP(“James Bond”, employee_Table, 2) will find the second column of the employee_table, where the first column of the employee_table is set to “James Bond”.

In this example, we maybe looking for the department or salary, or employee code of the employee named James bond. Depending on the table, if the second column after the employee name is Department, we get the department.

If the third column is Salary, and we need the salary, then we can modify this formula slightly.

=VLOOKUP(“James Bond”, employee_Table, 3) will find the third column of the employee_table, where the first column of the employee_table is set to “James Bond”. Now we can get the Salary of James Bond.

When do you use the VLOOKUP Function in Excel:

Whenever you want to lookup one value, and pick another corresponding value from the lookup table, then the VLOOKUP function will be the most appropriate.

Managers and business users often use the VLOOKUP function to lookup product cost, employee salary, product attributes from the Product Master table, or the employee Master Tables.

The interesting thing is that the lookup table can be on another sheet in the same Excel file, or it could be in a completely different Excel file.

The Looked up table can come from another file in another folder or directory.

This makes it very powerful, and one of the most powerful and useful functions of Excel.

Once you master these most important functions of Excel, you will improve your level of expertise in Excel, and with it you will also raise your competency, and understanding of Microsoft Excel

Creating Dropdown lists in Microsoft Excel

To avoid data entry errors, and to provide a basic level of data validation, it is often desired that users don’t key in arbitrary values, which are difficult to debug, could be full of spelling mistakes, and a single typo can make the Lookup on that value fail.

Thus, business users often want the data to be of a good quality. One simple way to improve data quality is to avoid typing in values in cells, and instead pick the correct value from a drop down list.

For example, you could display a drop down list of Customers, Products, Countries, Departments, Cost centers, Accounting GL Codes, to name a few. This way,

When do you use the DROPDOWN Data Validation Feature of Excel:

Whenever you want to limit user entry to only a few select values, it is appropriate to setup a dropdown data validation list. It is fairly easy to setup. In fact, Microsoft already provides you with a few standard list, like the Days (Monday, Tuesday, etc.), Month Names, Areas (North, South etc.).

And the good thing is that you can always define your own custom list in Excel. I have a detailed article on how to setup a Drop Down list in Excel. Check it out!

There you have it. A roundup of the most essential excel formulas in Excel. Consider them the Most important Excel Formulas and Functions to Master first.

Conclusion: Top 12 Most Important Functions of Excel

The tips, tricks and all the 12 Most Important Excel Functions and Features  work in every version of Microsoft Excel.

most important excel functions

These are the list of most important excel functions that every professional or analyst must know.

Knowledge of these must-know excel functions for productivity and career boost is mandatory for every professional and Excel enthusiast.

Additional Resources & Video Tutorials from ExcelChamp Vinai Prakash

Subscribe to our channel for more Excel Tips & Tricks

These tips work in every version of Microsoft Excel. Just give it a try, and if it helps you, remember to give it a Thumbs Up, and Like the Video.

Cheers,

Power Query to Power BI: How to Clean & Analyze Data in Power BI Dashboards

Power Query to Power BI: Load, Clean & Analyze Multi Level Data in Power BI Quickly & Easily

Learn the hidden Tips, Tricks & Techniques to Load and Clean Dirty Data within a few Clicks in Power Query (in Power BI), and then Analyze the data in useful visualization charts, tables, maps in a pretty dashboard for the management.

Slice the data by the year, Country, Category or a combination of these easily.

This Power Query & Power BI tutorial video is recorded by Vinai Prakash, creator or @ExcelChamp and founder of ExcelChamp.Net site.

Subscribe to ExcelChamp YouTube Channel.

This Step by Step Tutorial on How to Clean the Dirty Data with multiple levels of information, but without any headings, and then how to create data visualizations in Power BI Dashboards.

We will show you how to:

  1. How to load an Excel sheet in Power BI
  2. How to Clean the Data in Power Query (within Power BI)
  3. How to Undo a few automatically done steps within Power Query
  4. Transpose a whole table in Power Query
  5. How to fill missing values from the values provided from the rows above.
  6. How to promote the First Row Headers to be the Column Headers in Power Query
  7. How to flip the columns into rows by using the Unpivot Other Columns command in Power Query
  8. How to Change the Column Headings to be more appropriate
  9. How to rename a Query within Power Query
  10. How to change the data type of any column of data in Power Query
  11. How to Close and Apply in Power Query to finish the loading of data to Power BI
  12. How to create simple Table visualizations in Power BI
  13. How to add a Pie Chart in Power BI Visualizations
  14. How to Style and Format a Table values, and how to format numeric values in Power BI
  15. How to Add a Map Visualization in Power BI
  16. How to Add a Slicer in Power BI Dashboard
  17. How to Use values in any Visualization to Slice and Cross Filter other Visualizations and charts.
  18. How to add a nice heading to your Power BI Dashboard
  19. How to change the Page name in Power Bi
  20. How to Analyze the Completed Dashboard in Power BI
  21. What happens when new data arrives. How to add new data to the Excel Data file
  22. How to get the latest data to appear in the Power BI Dashboard in a single click
  23. Beginning of full data analysis.

This mini, step by step Power Query and Power BI Tutorial by @ExcelChamp Vinai Prakash has been created to demonstrate the powerful features built within Power Query and Power BI Data Visualizations.

For full, more detailed training on Power BI Data Analytics and Data Visualization, contact us.

What is Power Query in Power BI?

Power Query is a data transformation and data preparation tool available in Microsoft Power BI, Excel, and other Microsoft products. It is a powerful and flexible tool that allows users to connect, combine, and refine data from various sources to create clean, structured, and analytically useful data sets.

Here are some key features and functionalities of Power Query in Power BI:

Data Source Connectivity: Power Query supports a wide range of data sources, including databases, Excel files, SharePoint lists, web pages, OData feeds, JSON, XML, and many others. It simplifies the process of connecting to these diverse data sources and importing data.

Data Transformation: With Power Query, you can perform various data transformation operations like filtering, sorting, grouping, pivoting, unpivoting, merging, appending, and more. It enables you to clean, reshape, and enrich your data before loading it into Power BI for analysis.

Query Editor: Power Query provides a user-friendly Query Editor interface where you can visually build data transformation steps. You can see a preview of your data at each transformation step and easily modify the applied steps to achieve the desired data structure.

Applied Steps: Each data transformation operation in Power Query is recorded as an “Applied Step.” This means that all the data cleaning and manipulation actions you perform in the Query Editor are stored sequentially in the Query Settings, and you can revisit and modify any step at any time.

M Language: Power Query uses the M language behind the scenes to define the data transformation steps. While most users can leverage the Query Editor’s visual interface without writing any code, advanced users can also dive into the M code to perform custom transformations and create more complex queries.

Data Load: After you’ve applied all the necessary data transformations, you can load the cleaned data into Power BI’s data model for further analysis and visualization.

By utilizing Power Query in Power BI, you can significantly reduce the time and effort required to prepare data for analysis, ensuring that you work with clean and reliable datasets that are ready for insightful reporting and visualization.

 

Why Should You Learn Data Visualization With Power BI?

Learning Power Query, DAX Formulas, and Power BI data visualization offers several compelling reasons for individuals and organizations:

Data Transformation and Cleaning: Power Query allows you to import data from various sources and perform data transformation and cleaning tasks efficiently. It helps streamline the data preparation process, ensuring data accuracy and consistency.

Advanced Data Modeling: DAX (Data Analysis Expressions) enables you to create powerful data models and perform complex calculations on the data. It allows for creating calculated columns, measures, and calculated tables, providing deeper insights into the data.

Seamless Data Integration: Power BI integrates seamlessly with numerous data sources, databases, and online services. Learning Power Query and DAX makes it easier to bring in data from diverse sources and create a unified view for analysis.

Enhanced Data Visualization: Power BI’s data visualization capabilities are robust and intuitive. Learning data visualization techniques helps you represent data in compelling ways, making it easier to derive insights and communicate findings effectively.

Interactive Dashboards: Power BI enables the creation of interactive and dynamic dashboards. By mastering these tools, you can build engaging dashboards that allow users to explore data and gain actionable insights in real-time.

Informed Decision-Making: With Power Query, DAX, and Power BI data visualization skills, you can transform raw data into meaningful information. This empowers decision-makers to make data-driven decisions, leading to improved business outcomes.

Career Opportunities: Power Query, DAX, and Power BI are widely used in industries and organizations for data analysis and reporting. Acquiring these skills enhances your employability and opens up career opportunities in data analytics and business intelligence roles.

Time and Cost Efficiency: Learning these tools can lead to more efficient data analysis and reporting processes. Automated data transformation, advanced calculations, and interactive visualizations save time and resources, increasing overall productivity.

Scalability and Flexibility: Power BI is a scalable tool that can handle large datasets and complex data models. Learning its features allows you to work with diverse data scenarios and adapt to different business needs.

Stay Ahead in the Industry: In today’s data-driven world, being proficient in Power Query, DAX, and Power BI data visualization gives you a competitive edge. It positions you as a valuable asset in any organization looking to leverage data for growth and success.

Learning Power Query, DAX Formulas, and Power BI data visualization is a strategic investment in your professional development, providing the skills and tools needed to excel in the realm of data analytics and business intelligence.

Invest in your future.

Cheers,
Vinai Prakash
Founder & Principal Trainer of ExcelChamp.Net

Power Query: The Hidden Feature of Excel To Clean Dirty Data in Minutes

Learn how Power Query, a tool embedded in your current version of Excel can help you to clean dirty data that is made up of multiple levels, but without any headings or format.

It only takes a few clicks to clean this data and then we can analyze it using a Excel Pivot Table.

A Quick and simple step by step tutorial on using Power Query in Excel and then Pivot Tables to Analyze the data, and Slice it using Slicers.

How To Clean Dirty Data With Microsoft Power Query within Excel & Power BI

Presented by Vinai Prakash, Founder of ExcelChamp.Net

Practice Excel File for Your Benefit 

This video demonstrates Power Query in Microsoft Excel 365, Excel  2019, Excel 2021, Excel 2016, Excel 2013, Excel 2010.

The key data cleanup tools within Power Query that are demonstrated are:

  • ¬†How to Transpose the data in Power Query
  • ¬†How to Change the Name of a Query in Power Query
  • ¬†How the steps of the cleanup are recorded within Power Query
  • ¬†How to Rename Columns in Power Query
  • ¬†How to Promote the First Row as Headers in Power Query
  • ¬†How to Fill Down Values from the rows above in Power Query
  • ¬†How to Unpivot Other Columns in Power Query
  • ¬†How to Save & Load the Cleaned up Data in Power Query
  • ¬†How to Create a Pivot Table in Microsoft Excel
  • ¬†How to Filter Data in a Pivot Table
  • ¬†Limitations of the Filter Section in an Excel Pivot Table
  • ¬†How to Add a Slicer in Excel Pivot Tables
  • ¬†How to select multiple values in a Slicer, and
  • ¬†How the Slicer is superior than a Filter in Excel

The Power Query features shown in this video work exactly the same way in Microsoft Power BI also. So you can use this video steps for Power Query within Power BI.

Do like the video, subscribe to our channel, and Give our video a Thumbs Up.

We’d love a comment about how this video helped you. I reply to all comments personally.¬†Thanks!

What is Power Query?

Power Query is a data transformation and data preparation tool available in Microsoft Excel. It is designed to help users import, transform, and combine data from various sources for analysis and reporting purposes. Power Query provides a user-friendly interface and a wide range of data manipulation capabilities, making it easier to clean, reshape, and combine data from multiple sources.

Here are some key features and functionalities of Power Query in Excel:

  1. Data Import: Power Query allows you to import data from various sources, including databases, Excel files, text files, CSV files, web pages, SharePoint lists, and more. It provides a seamless way to connect to and retrieve data from external sources.
  2. Data Transformation: Power Query provides a set of transformation options to clean and reshape data. You can perform tasks such as removing duplicates, filtering rows, splitting columns, merging tables, changing data types, applying calculations, and performing advanced transformations using a visual interface or custom functions.
  3. Data Connection and Refresh: Power Query enables you to create connections to data sources and set up automatic data refresh. This ensures that your Excel workbook stays up-to-date with the latest data from the connected sources, saving you time and effort in manual data updates.
  4. Data Cleanup and Data Quality: Power Query offers various data cleansing and data quality features. You can perform operations like removing empty rows, handling null values, replacing values, standardizing data formats, and detecting and correcting data inconsistencies.
  5. Query Folding and Performance Optimization: Power Query optimizes query performance by utilizing query folding whenever possible. Query folding pushes data transformations to the underlying data source, resulting in faster and more efficient data retrieval and processing.
  6. Data Combining and Merging: With Power Query, you can easily combine and merge data from multiple sources. It allows you to merge tables based on common columns, append data from multiple tables, and perform complex join operations to create a unified dataset.
  7. Custom Data Transformations: Power Query provides advanced capabilities to create custom data transformations using the M formula language. You can write custom functions, perform complex calculations, and create reusable query components to streamline your data transformation workflows.
  8. Data Visualization and Reporting: Once the data is imported and transformed using Power Query, you can load it into Excel for further analysis or create reports using Excel’s data visualization tools, such as PivotTables, PivotCharts, and Power View.

Power Query is available as a built-in feature in Excel 2016 and later versions. It offers a powerful and intuitive way to clean, shape, and combine data from various sources, empowering users to perform advanced data analysis and reporting tasks with ease.

Who Should Learn Power Query?

Power Query is a powerful data transformation and preparation tool in Excel that can benefit a wide range of individuals and professionals.

Here are some key groups of people who should consider learning Power Query:

  1. Data Analysts and Business Analysts: Data analysts and business analysts who work extensively with data can greatly benefit from learning Power Query. It enables them to import and transform data from multiple sources, clean and reshape data, and create consolidated datasets for analysis and reporting purposes.
  2. Excel Power Users: Individuals who are already proficient in Excel and frequently work with data can enhance their skills by learning Power Query. It provides advanced data manipulation capabilities beyond Excel’s built-in functions and features, allowing for more efficient and flexible data preparation.
  3. Financial Professionals: Professionals in finance and accounting roles can leverage Power Query to streamline data analysis and reporting tasks. It enables them to import and combine financial data from various sources, perform data cleansing and transformations, and generate accurate and customized financial reports.
  4. Data Scientists and Researchers: Data scientists, researchers, and individuals working in data-intensive fields can use Power Query to preprocess and prepare data for analysis. It enables them to import and combine large datasets, handle data cleaning and transformation tasks, and create structured datasets ready for advanced analysis.
  5. IT Professionals and Data Engineers: IT professionals and data engineers who are involved in data integration and management can benefit from Power Query. It allows them to connect to various data sources, transform and cleanse data, and prepare it for further processing or loading into data warehouses or data lakes.
  6. Project Managers: Project managers who work with data and need to consolidate and analyze project-related information can use Power Query to streamline their data preparation workflows. It enables them to combine data from different project sources, clean and reshape project data, and create consolidated reports or dashboards.
  7. Sales and Marketing Professionals: Sales and marketing professionals can utilize Power Query to extract and transform data from CRM systems, web analytics tools, and other marketing platforms. It enables them to analyze and consolidate sales and marketing data, create custom reports, and derive insights to optimize sales and marketing strategies.
  8. Administrators and Operations Professionals: Professionals responsible for managing administrative tasks, operations, and data-driven processes can benefit from learning Power Query. It allows them to import and transform data from various systems, automate data cleaning and preparation, and streamline operational workflows.
  9. Educators and Trainers: Educators and trainers who teach data analysis or Excel-related topics can enhance their curriculum by including Power Query. Teaching Power Query equips students with valuable skills in data preparation and manipulation, enhancing their data analysis capabilities.
  10. Any Excel User Seeking Advanced Data Preparation Skills: Even individuals who use Excel for personal or basic business purposes can benefit from learning Power Query. It provides them with advanced data manipulation capabilities, enabling them to clean, transform, and combine data effectively.

Learning Power Query can benefit individuals in various roles and industries, empowering them to efficiently handle data preparation tasks and derive valuable insights from their data.

Is Power Query Easy To Learn?

Power Query is generally considered to be user-friendly and relatively easy to learn, especially for individuals who are already familiar with Excel. Here are a few factors that contribute to the ease of learning Power Query:

  1. Visual Interface: Power Query provides a visual interface within Excel, allowing users to perform data transformations and manipulations through a series of intuitive steps. The interface provides a clear representation of the applied transformations, making it easier to understand and modify the data preparation process.
  2. Intuitive Operations: Power Query offers a wide range of built-in transformations and operations that can be applied to data. These include filtering, sorting, splitting columns, merging tables, pivoting, and much more. The operations are designed to be user-friendly and logical, making it easier for users to select and apply the required transformations.
  3. Query Dependencies and Applied Steps: Power Query keeps track of the applied transformations and presents them as a series of applied steps. Each step is displayed in a structured manner, allowing users to review, modify, or remove any step in the data preparation process. The ability to view and edit applied steps provides transparency and makes it easier to troubleshoot and adjust the transformations.
  4. Query Editor Preview: Power Query provides a preview feature that allows users to see the results of applied transformations in real-time. This live preview helps users understand the impact of each step and make adjustments as needed, ensuring the desired data output.
  5. Reusability and Automation: Power Query supports the creation of reusable queries, which can be applied to multiple datasets. Users can define a set of transformations once and then reuse them on different data sources, saving time and effort. Power Query also allows for automation by enabling users to set up scheduled data refreshes or create connections to external data sources.

While Power Query is generally considered user-friendly, the complexity of data transformation tasks can vary. Advanced data transformations or complex data structures may require more in-depth understanding and practice.

With the availability of classroom trainings, documentation, and community support, users can find ample resources to assist them in learning and mastering Power Query.

Intellisoft Training runs a Power BI MasterClass, which covers quite a bit of cleanup of data using Power Query functions and features.

Feel free to join it, or engage Intellisoft for a Corporate Training on Data Analytics & Data Visualization With Power BI

Overall, users with basic Excel skills and a willingness to explore and experiment can quickly grasp the concepts and functionalities of Power Query  in Power BI and start utilizing it for data preparation and analysis tasks.

I hope you enjoyed this article, and the Power Query video. Do write a comment, and let me know what you liked about it.

Cheers,
Vinai Prakash
Founder of ExcelChamp.Net

 

New, Free, Excel Pivot Table Training For You

Want to learn more about Excel Pivot Tables to Analyze Business Data?

I am in the process of completing a short, free online training on Pivot Tables (8 Lessons are already available online). The course is being published by Udemy, an online training portal.

This course is called Mastering Pivot Tables to Analyze Business Data in Excel 2010 / 2013.

I have recorded 8 lessons so far. They are:

  1. What is a Pivot table?
  2. Formatting a Pivot table
  3. Customizing a Pivot table to Get it Ready for Data Analysis
  4. Adding Sub Totals in a Pivot Table
  5. Sorting Pivot Table data in multiple ways
  6. Filtering Pivot data in Unique ways
  7. Creating New Calculations in Pivot Tables
  8. Analyze data with Percentages in Excel.

Do check it out, and give me some feedback about this business data analysis with Excel training .

Want to Improve Your Excel Skills?

Learn the Key Features of Excel Quickly & Easily, by Joining the
Online Training on Basic / Intermediate Excel.

To Get Most out of Excel, Learn the  Pivot Table techniques in our
Pivot Table Masterclass Training
!


I need specific help with these 2 questions:

  1. What other topics would you like to be covered in this Pivot table mastery training.
  2. What can be improved in this Pivot Table training video?
  3. How would you rate this training, on a scale of 1-5 (1 is lowest, 5 is highest)

If you have any other feedback, simply post it at the bottom of this post. I will surely appreciate it.

And thanks to all my supporters, friends, and family, who have given me the strength, feedback, and waited patiently while I recorded these Excel training video sessions.

Cheers & All the Best – Vinai Prakash

Are you facing any problem in using Excel? Any Question?

You have come to the right place. Tell us your needs. We’ll be glad to help you!