LouisDickey
New Member
- Joined
- Apr 18, 2023
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hi there,
I have found some old posts on this topic but nothing that seems to solve my issue.
I am using the below formula in order to pull a list of individuals names that have correspondence through the same email address. For example if Mr John Smith, Mrs Jane Smith and Miss Janet Smith are all separate entries but all use the same email address i.e. thesmiths@gmail.com and I have a list (col B) of the email address used and a list of individuals (col c) which are aligned correctly. This means that there are three entries of thesmiths@gmail.com in col B but for the purpose of the mail merge I am using I want to include them (and other information) in a single email. So I am looking to get an output in G2, H2, I2 etc. of these names where the value in F2 is the relevant email address. I have used the UNIQUE function to effectively remove duplicates from the raw data in col B in col F. For completeness col E has the name linked with the email address.
=IFERROR(INDEX($C$2:$C$144, SMALL(IF($B$2:$B$144=F2,ROW($B$2:$B$144)-ROW($B$2)+1), COUNTIF($F2:F2,F2))),"")
I originally had this formula which is identical apart from I moved to using a COUNTIF from a COLUMN function as with the below the first time the email occurred in col B it was just not pulling, i.e. with the below Mrs Jane Smith and Miss Janet Smith would be in G2 and H2 respectively but I want Mr John Smith in G2 and Jane and Janet in H2 and I2.
=IFERROR(INDEX($C$2:$C$144, SMALL(IF($F2=$B$2:$B$144,ROW($B$2:$B$144)-ROW($B$2)+1), COLUMN(B1))),"")
I hope I have gone into enough detail in order to get some help.
Any input would be appreciated.
I have found some old posts on this topic but nothing that seems to solve my issue.
I am using the below formula in order to pull a list of individuals names that have correspondence through the same email address. For example if Mr John Smith, Mrs Jane Smith and Miss Janet Smith are all separate entries but all use the same email address i.e. thesmiths@gmail.com and I have a list (col B) of the email address used and a list of individuals (col c) which are aligned correctly. This means that there are three entries of thesmiths@gmail.com in col B but for the purpose of the mail merge I am using I want to include them (and other information) in a single email. So I am looking to get an output in G2, H2, I2 etc. of these names where the value in F2 is the relevant email address. I have used the UNIQUE function to effectively remove duplicates from the raw data in col B in col F. For completeness col E has the name linked with the email address.
=IFERROR(INDEX($C$2:$C$144, SMALL(IF($B$2:$B$144=F2,ROW($B$2:$B$144)-ROW($B$2)+1), COUNTIF($F2:F2,F2))),"")
I originally had this formula which is identical apart from I moved to using a COUNTIF from a COLUMN function as with the below the first time the email occurred in col B it was just not pulling, i.e. with the below Mrs Jane Smith and Miss Janet Smith would be in G2 and H2 respectively but I want Mr John Smith in G2 and Jane and Janet in H2 and I2.
=IFERROR(INDEX($C$2:$C$144, SMALL(IF($F2=$B$2:$B$144,ROW($B$2:$B$144)-ROW($B$2)+1), COLUMN(B1))),"")
I hope I have gone into enough detail in order to get some help.
Any input would be appreciated.