Feb 07 2024 01:09 AM - edited Feb 07 2024 01:10 AM
Hi,
I have a table that contains an export from three separate databases. The first column identifies the database (e.g. A, B or C). I need to identify where an email address exists in more than one of the databases. For example, in the table below I need to identify that the email "email1" appears in both database A and B. How can I go about that?
Thanks!
Number | Database | Client Name | Client Email |
1 | A | email1 | |
2 | A | email123 | |
3 | A | email456 | |
4 | B | email789 | |
5 | B | email1 | |
6 | C | emailxyz |
Feb 07 2024 01:48 AM
=IF(COUNTA(FILTER($B$2:$B$7,$D$2:$D$7=D2))>1,TRANSPOSE(FILTER($B$2:$B$7,$D$2:$D$7=D2)),"")
If you have access to the FILTER function you can apply this formula. The formula is in cell F2 and filled down.
Feb 07 2024 02:01 AM
I'd be glad to assist you with identifying duplicate email addresses based on the database column in your table. Here are two effective methods you can use:
Method 1: Conditional Formatting
Select the entire table or the relevant columns (Database, Client Name, and Client Email).
Go to the Home tab in your spreadsheet software (e.g., Excel, Google Sheets).
Click Conditional Formatting.
Choose Highlight Cells Rules > Duplicate Values.
In the Format values where this formula is true box, enter the following formula, depending on your software and whether you want to include or exclude the first occurrence:
Click Format to choose a highlighting color for the duplicates.
Click OK.
This will highlight all cells in the Client Email column that appear in multiple rows with different database values.
Method 2: Pivot Tables
This will create a table showing the number of times each email address appears in each database. You can then identify the duplicates by looking for values greater than 1.
Additional Tips:
I hope these methods help you effectively identify duplicate email addresses based on the database column in your table!
Feb 07 2024 04:59 AM
Feb 07 2024 05:17 AM
Solution=IF(COUNTA(UNIQUE(FILTER($B$2:$B$13,$D$2:$D$13=D2)))>1,TRANSPOSE(UNIQUE(FILTER($B$2:$B$13,$D$2:$D$13=D2))),"")
You are welcome. This formula should return the required result. For example email3 occurs two times in database A and isn't recognised as a duplicate. Email2 is twice in database A and once in database C as is returned as a duplicate.
Feb 13 2024 01:50 AM
I'd be glad to help you with the formula and understand the email3 and email2 results you're seeing.
Formula Breakdown:
The formula you provided, =IF(COUNTA(UNIQUE(FILTER($B$2:$B$13,$D$2:$D$13=D2)))>1,TRANSPOSE(UNIQUE(FILTER($B$2:$B$13,$D$2:$D$13=D2))),""), is used to identify and list unique values in column B (range $B$2:$B$13) that appear more than once in rows where column D (range $D$2:$D$13) has the same value as the value in cell D2. Here's a step-by-step explanation:
Possible Explanation for email3 Not Being Recognized:
There are a few possibilities why email3 might not be considered a duplicate:
Clarifying email2 Results:
Without more information about your data, it's difficult to pinpoint the exact reason why email2 might be considered a duplicate in some cases but not others. However, here are some potential explanations:
I'll do my best to help you understand the formula's behavior
Feb 07 2024 05:17 AM
Solution=IF(COUNTA(UNIQUE(FILTER($B$2:$B$13,$D$2:$D$13=D2)))>1,TRANSPOSE(UNIQUE(FILTER($B$2:$B$13,$D$2:$D$13=D2))),"")
You are welcome. This formula should return the required result. For example email3 occurs two times in database A and isn't recognised as a duplicate. Email2 is twice in database A and once in database C as is returned as a duplicate.