Merging Individual and Spouse Name for Mailing

Xela_Cad

New Member
Joined
Jun 7, 2024
Messages
1
Office Version
  1. 365
Hello,

Here's my dilemma. I need to combine the first and last names of the individual and spouse without duplicating last names. (Spouses may have different last names in our spreadsheet). We also may not have a value for the spouse.

I have:
Column K with individual first name,
Column M for the individual's last name,
Column R for spouse's first name
Column T with spouse's last name.
They need to be combined in Column J

Any help would be greatly appreciated. There are 20,000 entries and I don't want to add them individually.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Welcome to the Board!

Here are 3 examples showing your various situations and expected results, as I understand them:
1717792450117.png


Here is the formula I used (in cell V2 and copy down for all rows):
Excel Formula:
=IF(T2="",CONCATENATE(K2," ",M2),IF(M2=T2,CONCATENATE(K2," & ",R2," ",M2),CONCATENATE(K2," ",M2," & ",R2," ",T2)))
 
Upvote 0
=TEXTJOIN(" and ",TRUE,K2 & " " &M2,TRIM(R2&" " &T2))

Adam Jones and Beck JonesAdamJonesBeckJones
Ben Smith and Maggie WilsonBenSmithMaggieWilson
Mark PowellMarkPowell
 
Upvote 0
This is @Joe4's formula without the CONCATENATE function calls and where this single formula will output the results for all the cells in the given range (just change all the 4's to the row number of the last data cell)...
Excel Formula:
=LET(
  k,K2:K4,
  m,M2:M4,
  r,R2:R4,
  t,T2:T4,
  IF(t="",k&" "&m,IF(m=t,k&" & "&r&" "&m,k&" "&m&" & "&r&" "&t))
)
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,121
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top