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)

Excel Functions List: 12 Essential Ones to Master (2026)

Top 12 Most Important Excel Functions & Features You Must Know

The 12 most important Excel functions to learn first are SUM, AVERAGE, COUNT, COUNTA, COUNTBLANK, COUNTIF, SUMIF, IF, ROUND, PROPER, VLOOKUP and CONCAT. Together they cover adding, averaging, counting, conditional totals, decisions, tidy-up and lookups, which is most of what people do in a spreadsheet at work.

Each one below has the syntax, a small worked example, a common mistake and a tip. After the 12, you will find the newer Microsoft 365 functions (XLOOKUP, FILTER, UNIQUE and friends) that now do some of these jobs better.

Quick Reference: The 12 Functions at a Glance

Function What it does Example formula Works in
SUM Adds numbers =SUM(B2:B6) All versions
AVERAGE Mean of numbers =AVERAGE(B2:B6) All versions
COUNT Counts cells with numbers =COUNT(B2:B6) All versions
COUNTA Counts cells that are not empty =COUNTA(B2:B6) All versions
COUNTBLANK Counts empty cells =COUNTBLANK(B2:B6) All versions
COUNTIF Counts cells that meet one condition =COUNTIF(A2:A6,"East") All versions
SUMIF Adds cells that meet one condition =SUMIF(A2:A6,"East",B2:B6) All versions
IF Returns one result if true, another if false =IF(B2>=1000,"Hit","Miss") All versions
ROUND Rounds a number to set digits =ROUND(1234.5678,2) All versions
PROPER Capitalises Each Word =PROPER(A2) All versions
VLOOKUP Finds a value in the first column, returns another column =VLOOKUP(102,A2:C4,3,FALSE) All versions
CONCAT Joins text together =CONCAT(A2," ",B2) Excel 2019 and later, Microsoft 365

Most of the examples use this small sales list. Region is in column A and sales are in column B.

A (Region) B (Sales)
2 East 1200
3 West 800
4 East 1500
5 North 950
6 West 650

1. SUM: Add Up Numbers

How to use the SUM function in Excel

SUM adds the numbers you give it. It is the first function almost everyone learns, and still the one you will use most.

Syntax: =SUM(number1, [number2], ...)

Example: =SUM(B2:B6) adds 1200 + 800 + 1500 + 950 + 650 and returns 5100.

Common mistake: Numbers stored as text. Microsoft notes that SUM ignores text values, so a column of “numbers” that are really text (often left-aligned, or with a green corner) quietly gives a total that is too low. Convert them to real numbers first.

Pro tip: Select the cell under your numbers and press Alt + = (or click AutoSum on the Home tab). Excel writes the SUM for you. For more ways to total data, see how to summarise data in Excel.

2. AVERAGE: Find the Mean

How to use the AVERAGE function in Excel

AVERAGE adds the numbers and divides by how many there are. Use it for average sales, salary, ticket count or call time.

Syntax: =AVERAGE(number1, [number2], ...)

Example: =AVERAGE(B2:B6) returns 5100 / 5 = 1020.

Common mistake: Mixing up blanks and zeros. AVERAGE ignores empty cells and text, but it counts a zero. If B6 were empty, the average of the other four would be 1112.5. If B6 held 0, it would drop to 890 for the same rows (4450 / 5).

Pro tip: Use AVERAGE together with COUNT to check how many values went into the answer.

3. COUNT: Count the Numbers

How to use the COUNT function in Excel

COUNT tells you how many cells contain numbers. Dates count too, because Excel stores dates as numbers.

Syntax: =COUNT(value1, [value2], ...)

Example: Suppose B2:B6 holds 1200, 800, the text “n/a”, 950 and one empty cell. =COUNT(B2:B6) returns 3.

Common mistake: Using COUNT on a column of names. Text inside a range is not counted, so you get 0. Use COUNTA for text.

Pro tip: Click the drop-down arrow beside AutoSum on the Home tab to insert COUNT in one click.

4. COUNTA: Count Everything That Is Not Empty

How to use the COUNTA function in Excel

COUNTA counts cells that have anything in them: numbers, text, dates, logical values and even errors. It is the one to use for headcount or “how many rows have data”.

Syntax: =COUNTA(value1, [value2], ...)

Example: On the same range (1200, 800, “n/a”, 950, empty), =COUNTA(B2:B6) returns 4.

Common mistake: Cells that look empty but are not. Microsoft notes that COUNTA counts empty text ("") returned by a formula, so a column full of such formulas still shows a count. A stray space does the same.

Pro tip: To count names in a list, point COUNTA at the whole column of names, then subtract 1 for the header. More on this in multiple ways to count in Excel.

5. COUNTBLANK: Find the Gaps

COUNTBLANK counts empty cells in a range. It is a quick check for missing data before you send a report.

Syntax: =COUNTBLANK(range)

Example: On the range B2:B6 above, =COUNTBLANK(B2:B6) returns 1.

Common mistake: Expecting zeros to count. Per Microsoft, cells containing 0 are not counted as blank, but cells with a formula returning "" are.

Pro tip: Watch the COUNTBLANK walkthrough with use cases on our YouTube channel.

6. COUNTIF: Count Cells That Meet a Condition

How to use the COUNTIF function in Excel

COUNTIF counts the cells in a range that match one condition. Use it to answer “how many orders came from East?” or “how many reps beat 1000?”.

Syntax: =COUNTIF(range, criteria)

Examples:

  • =COUNTIF(A2:A6,"East") returns 2.
  • =COUNTIF(B2:B6,">1000") returns 2 (1200 and 1500).

Common mistake: Leaving out the quotes around an operator, or typing a cell reference inside the quotes. To compare with a value in D1, join them: =COUNTIF(B2:B6,">"&D1).

Pro tip: COUNTIF is not case sensitive, and supports wildcards: "E*" matches anything starting with E. For two or more conditions, switch to COUNTIFS. See also how to count cells with a certain value.

7. SUMIF: Add Only What Matches

SUMIF adds the cells that meet a condition. It is the quickest way to get a total per region, product or month.

Syntax: =SUMIF(range, criteria, [sum_range])

Example: =SUMIF(A2:A6,"East",B2:B6) adds 1200 + 1500 and returns 2700.

Common mistake: A sum_range that is a different size from range. Microsoft says they should be the same size and shape, otherwise results can mislead and performance suffers.

Pro tip: Put the region name in a cell, such as D2, and use =SUMIF(A2:A6,D2,B2:B6). Change D2 and the total follows. Need two conditions? Use SUMIFS.

8. IF: Make Excel Decide

IF tests a condition and returns one result when it is true and another when it is false. It is the base of almost every “pass or fail”, “bonus or no bonus” sheet.

Syntax: =IF(logical_test, value_if_true, [value_if_false])

Example: =IF(B2>=1000,"Hit","Miss") returns Hit for 1200.

Common mistake: Forgetting the quotes around text results. Without them, Excel reads Hit as a name and shows #NAME?.

Pro tip: Nested IFs get hard to read after two or three levels. In Microsoft 365, Excel 2019 and later, IFS (see below) is tidier. Our IF and IFS video shows both on pass, fail and grades.

9. ROUND: Control the Decimals

ROUND changes the number itself, not just how it looks. Use it for prices, tax and anything that must add up exactly.

Syntax: =ROUND(number, num_digits)

Examples:

  • =ROUND(1234.5678,2) returns 1234.57.
  • =ROUND(1234.5678,0) returns 1235.
  • =ROUND(1234.5678,-2) returns 1200 (a negative number rounds to the left of the decimal point).

Common mistake: Using number formatting (fewer decimals on the ribbon) when you need real rounding. Formatting only changes the display, so totals can look “off by one cent”.

Pro tip: Wrap ROUND around a whole calculation, such as =ROUND(B2*1.09,2), so every result is a true two-decimal figure.

10. PROPER: Fix Names and Titles

PROPER capitalises the first letter of each word and lowercases the rest. It rescues name lists typed in ALL CAPS or all lowercase.

Syntax: =PROPER(text)

Example: =PROPER("aNNA lEE-tan") returns Anna Lee-Tan.

Common mistake: Trusting it on every name. PROPER capitalises any letter that follows a non-letter, so “andy’s” becomes “Andy’S” and “mcdonald” becomes “Mcdonald”. Check names like these by hand.

Pro tip: Build the clean names in a helper column, then copy and Paste Special as Values to replace the originals. For other text clean-up, see extracting text from variable-length strings.

11. VLOOKUP: Look Up a Value in a Table

VLOOKUP searches the first column of a table for a value and returns something from the same row. Think price lists, staff IDs and product codes.

Syntax: =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Example: With the table below in A2:C4, =VLOOKUP(102,A2:C4,3,FALSE) returns 1.20.

A (ID) B (Item) C (Price)
101 Notebook 3.50
102 Pen 1.20
103 Stapler 8.90

Common mistake: Leaving out the last argument. If you omit it, VLOOKUP defaults to an approximate match (TRUE), which can return the wrong row on unsorted data. Type FALSE for an exact match.

Pro tip: VLOOKUP can only look to the right, because the lookup value must sit in the first column of the table. Microsoft now points people to XLOOKUP, covered below. Learn VLOOKUP anyway, since you will meet it in older workbooks. Watch: VLOOKUP with exact match.

Want the full comparison? Read Excel lookup functions to save time.

12. CONCAT: Join Text Together

CONCAT joins text from several cells. Use it to build full names, addresses or IDs. The old CONCATENATE function still works, but Microsoft says CONCAT replaces it and CONCATENATE stays for compatibility with earlier versions.

Syntax: =CONCAT(text1, [text2], ...)

Example: If A2 holds Anna and B2 holds Lee, =CONCAT(A2," ",B2) returns Anna Lee.

Common mistake: Forgetting the space. =CONCAT(A2,B2) gives AnnaLee. Add " " between the cells.

Pro tip: The & operator does the same job and works in every version: =A2&" "&B2. If you see #NAME?, your version may be too old for CONCAT, so use &. To join a whole list with a separator, use TEXTJOIN (below). Also see combining text columns into one.

Modern Microsoft 365 Functions Worth Learning Next

Excel has changed a lot since many “top functions” lists were written. These newer functions replace awkward older workarounds. Check your version first, because some are not in older Excel.

Function What it does Example Version (per Microsoft)
XLOOKUP Looks up in any direction; exact match by default =XLOOKUP(102,A2:A4,C2:C4,"Not found") Microsoft 365, Excel 2021 and later. Microsoft’s page states it is not available in Excel 2016 and 2019
FILTER Returns only the rows that meet a condition =FILTER(A2:B6,A2:A6="East","No sales") Microsoft 365, Excel 2021 and later
UNIQUE Returns a list without duplicates =UNIQUE(A2:A6) Microsoft 365, Excel 2021 and later
SORT Sorts a range with a formula =SORT(UNIQUE(A2:A6)) Microsoft 365, Excel 2021 and later
LET Names a calculation so you can reuse it =LET(avg,AVERAGE(B2:B6),IF(B2>avg,"Above","Below")) Microsoft 365, Excel 2021 and later
TEXTJOIN Joins a list with a separator, skipping blanks =TEXTJOIN(", ",TRUE,A2:A6) Excel 2019 and later
IFS Several IF tests without nesting =IFS(B2>=1500,"A",B2>=1000,"B",TRUE,"C") Excel 2019 and later

XLOOKUP vs VLOOKUP

XLOOKUP is the upgrade. The syntax is =XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode]). It returns an exact match by default, can look left, and lets you set what to show when nothing is found. On the price table above, =XLOOKUP(102,A2:A4,C2:C4,"Not found") returns 1.20.

FILTER, UNIQUE and SORT

These return many results at once, which “spill” into the cells below. =FILTER(A2:B6,A2:A6="East","No sales") lists only the East rows. Without the third argument, FILTER returns a #CALC! error when nothing matches. Keep the cells below the formula empty, or the spill is blocked.

Combine them: =SORT(UNIQUE(A2:A6)) gives an alphabetical list of regions with no repeats. Here that is East, North, West.

LET, TEXTJOIN and IFS

=LET(name1, value1, calculation) stores a result under a name, so long formulas become shorter and easier to read. =TEXTJOIN(", ",TRUE,A2:A6) returns “East, West, East, North, West”. =IFS(...) replaces a chain of nested IFs, but returns #N/A if no test is TRUE, so end with TRUE,"default".

Which should you learn first? If you have Microsoft 365, start with XLOOKUP and FILTER. If you share files with people on older Excel, stay with VLOOKUP and SUMIF for those files, because newer functions show #NAME? in versions that lack them.

How to Practise These Functions

Reading is not enough. Spend 10 minutes a day on one function:

  1. Copy the sales list above into a blank sheet.
  2. Type each formula yourself rather than pasting it, and check the answer against the one shown here.
  3. Break it on purpose: add text to a number column, leave out FALSE in VLOOKUP, add a blank. See what changes.
  4. Apply it to a real file from your own work the same week.

Then add one more skill from the list. Dropdown lists make data entry cleaner and pair well with COUNTIF and VLOOKUP, so learn how to make a dropdown list in Excel next. When these feel easy, follow our guide to learning advanced Excel fast, or browse 201 things to learn in Microsoft Excel.

Want to learn Excel step by step with video?

Our Excel for Beginners course takes you from the basics to confident formulas, with lessons you can replay at your own pace. See the Excel for Beginners course.

Frequently Asked Questions

What are the most important Excel functions?

The ones almost every user needs are SUM, AVERAGE, COUNT, COUNTA, COUNTIF, SUMIF, IF, ROUND and a lookup function. This article adds COUNTBLANK, PROPER and CONCAT for everyday data clean-up. No official ranking exists, so the “most important” list depends on your job.

What is a function in Excel?

A function is a built-in calculation you call by name, such as SUM or PI(). A formula is whatever you type after the equals sign, and it can contain functions, cell references, operators and constants.

What are the types of functions in Excel?

Microsoft groups worksheet functions by what they do. The categories include Math and trigonometry, Statistical, Logical, Text, Date and time, Lookup and reference, Financial, Information, Database, Engineering, Cube and Web. SUM sits in Math and trigonometry, IF in Logical, and VLOOKUP in Lookup and reference.

What is the difference between a formula and a function in Excel?

=B2*1.09 is a formula with no function. =SUM(B2:B6) is a formula that uses the SUM function. Every function call sits inside a formula.

Is VLOOKUP still worth learning?

Yes. VLOOKUP works in every version of Excel and appears in countless existing workbooks. If you use Microsoft 365 or Excel 2021 and later, learn XLOOKUP as well, since Microsoft recommends it as an improved version of VLOOKUP.

What is the difference between COUNT, COUNTA and COUNTIF?

COUNT counts cells with numbers. COUNTA counts any cell that is not empty. COUNTIF counts only the cells that meet a condition you set.

What are advanced Excel skills?

Typically they include lookups with XLOOKUP or INDEX and MATCH, dynamic array functions (FILTER, UNIQUE, SORT), PivotTables, Power Query and dashboards. Master the 12 functions above first. Then follow our guide to learning advanced Excel fast.

Which Excel versions support these functions?

Eleven of the 12 work in every version of Excel. CONCAT needs Excel 2019 or later (or Microsoft 365); in older versions use the & operator. XLOOKUP, FILTER, UNIQUE, SORT and LET need Microsoft 365 or Excel 2021 and later. TEXTJOIN and IFS need Excel 2019 and later.

Subscribe to the ExcelChamp YouTube channel for more Excel tips and tutorials.

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!