When you’re working with lots of data in Apple Numbers on your Mac, you may run into a situation where you have duplicates. This could be names, email addresses, products, colors, or something else.
If you have a lot of data in your spreadsheet, finding and removing those duplicates can be a challenge. Numbers doesn’t have a “remove duplicates” button, after all.
We’re going to show you a few different methods you can use to find duplicates and then either mark them or eliminate them, if you like.
Find Duplicates in Numbers With Sorting
If you don’t have a lot of data in your spreadsheet, you can sort it and check for duplicates manually. This method might actually save you time in the long run, but only if you don’t have thousands of rows in your sheet.
Sort by One Column
If you only need to sort a single column in your spreadsheet to find duplicates, follow these steps:

Sort by Multiple Columns
If you need to sort by multiple columns to find duplicates in your spreadsheet, use these instructions instead:

Once you sort your data you should more easily be able to spot the duplicates and mark or remove them as you need to.
Find Duplicates in Numbers With Functions
There are two built-in functions in Numbers that you can use to find duplicates. These are the IF and COUNTIF functions. IF can display duplicates as True or False, or a word that you assign. COUNTIF will display how many times an item appears to indicate duplicates.
Find Duplicates With the IF Function
To illustrate how the function will work, our example data will show product names in column A, and our table has column headers in row 1. You need to have sorted the row for this to work. Just follow these steps for your own spreadsheet:

Want the “Duplicate” cells to stand out even more? Try using conditional formatting in Numbers to make them a different color, so you know which rows to delete.
If you prefer not to use a word of your own and just display True for duplicates and False for non-duplicates, you can simply enter (A2)=(A1) in the editor. This works without adding IF before it.

Find Duplicates With the COUNTIF Function
We’ll use the same example data as above using column A and our column headers. Here’s how to use the COUNTIF function to find duplicates:

You should now see numbers in that new column showing how many times the item in your duplicate column appears. For our example in the screenshot above, you can see that Cap appears three times, Coat once, and Gloves twice.
Remove Duplicates From Numbers
You can remove duplicates when using the IF or COUNTIF function manually, finding each cell that says Duplicate, True, or any number over 1 and deleting them one by one. Sorting the formula column lets you remove the duplicates much faster though, but you need to be careful you dn’t delete the originals as well as the duplicates.
Merge and Delete Duplicates From Numbers
Maybe you do want to remove the duplicates, but you also don’t want to lose any data. For instance, you might have inventory data for products, like in our example. So you want to total those amounts before you delete the duplicates. To do this, you’ll need to merge the data first. For this task, you’ll use both a formula and a function in Numbers.

Merge the Data
For our example, we’re going to leave the Duplicate indicator column we used with the IF function because we’ll need it later. Then, we’re going to add another column to the right for our Totals.

Formula breakdown:
- (B2) is the cell containing our first quantity.
- + will add that quantity to what follows.
- IF(A2)=(A3) checks for a duplicate between the two cells.
- (D3) is where the result of the quantity total will display.
- 0 will be added if there’s no duplicate.
Once you finish merging the data, it’s important that you double-check to be sure everything adds up correctly.
Delete the Duplicates
To remove the duplicates after you merge data, you’ll use the sort action again. But first, you need to create new columns to copy and paste the data results as values so they are no longer formulas.
Using the same example, we’ll copy and paste the Duplicate and Total columns:

Now you can sort by the Duplicate indicator column that you keep using the sorting instructions at the beginning of this tutorial. You should see all of your duplicates grouped together so you can delete those rows.

You can next also remove the original Quantity and Duplicate columns you used for the functions and formulas. This will leave you with no duplicates and merged data.

Note: Again, before you delete columns, rows, or other data from your spreadsheet, be sure that everything is correct and that you no longer need it.
Dealing With Duplicates in Numbers
It’s easy to have duplicates show up in your Numbers spreadsheets, whatever you’re calculating. Hopefully the steps we’ve outlined above help you quickly identify any duplicates, merge relevant data about them, and remove them for a cleaner sheet.
We also hope having this knowledge encourages you to use Numbers. It’s a great built-in Mac program that can do a lot, if you take the time to learn about it.
ncG1vNJzZmivp6x7rq3KnqysnZ%2Bbe6S7zGirmp9fnby4edOoZJ%2Bhnpl6s7HMqK2eZZSqva21wpqrnqtdnrtuutSmmZ6qo2K6oq%2BO