Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I am working with database files where the primary first name, secondary
first name and primary last name and secondary last name are in separate columns. What I need is a formula the will concatenate the Primary first and Primary last with an "&" sign inbetween if the primary last and the secondary last are the same or the cell is blank. |
#2
![]() |
|||
|
|||
![]()
Assuming the the primary first name is column A, secondary first name in
column B, primary last name in column C, secondary last name in column D, and further assuming that by "the cell" you mean the secondary last name: E1: =IF(OR(C1=D1,D1=""),A1 & "&" & C1,"") In article , "Linda G" <Linda wrote: I am working with database files where the primary first name, secondary first name and primary last name and secondary last name are in separate columns. What I need is a formula the will concatenate the Primary first and Primary last with an "&" sign inbetween if the primary last and the secondary last are the same or the cell is blank. |
#3
![]() |
|||
|
|||
![]()
Thanks! That was great, now can we add another variable to say if the
Secondary Last Name is different that we combine the Primary First and Primary First with an & sign and the Secondary First Name into one cell? "JE McGimpsey" wrote: Assuming the the primary first name is column A, secondary first name in column B, primary last name in column C, secondary last name in column D, and further assuming that by "the cell" you mean the secondary last name: E1: =IF(OR(C1=D1,D1=""),A1 & "&" & C1,"") In article , "Linda G" <Linda wrote: I am working with database files where the primary first name, secondary first name and primary last name and secondary last name are in separate columns. What I need is a formula the will concatenate the Primary first and Primary last with an "&" sign inbetween if the primary last and the secondary last are the same or the cell is blank. |
#4
![]() |
|||
|
|||
![]()
Thanks! That was great, now can we add another variable to say if the
Secondary Last Name is different that we combine the Primary First and Primary Second with an & sign and the Secondary First Name into one cell? "JE McGimpsey" wrote: Assuming the the primary first name is column A, secondary first name in column B, primary last name in column C, secondary last name in column D, and further assuming that by "the cell" you mean the secondary last name: E1: =IF(OR(C1=D1,D1=""),A1 & "&" & C1,"") In article , "Linda G" <Linda wrote: I am working with database files where the primary first name, secondary first name and primary last name and secondary last name are in separate columns. What I need is a formula the will concatenate the Primary first and Primary last with an "&" sign inbetween if the primary last and the secondary last are the same or the cell is blank. |
#5
![]() |
|||
|
|||
![]()
Thanks! That was great, now can we add another variable to say if the
Secondary Last Name is different that we combine the Primary First and Primary Second with an & sign and the Secondary First Name into one cell? "JE McGimpsey" wrote: Assuming the the primary first name is column A, secondary first name in column B, primary last name in column C, secondary last name in column D, and further assuming that by "the cell" you mean the secondary last name: E1: =IF(OR(C1=D1,D1=""),A1 & "&" & C1,"") In article , "Linda G" <Linda wrote: I am working with database files where the primary first name, secondary first name and primary last name and secondary last name are in separate columns. What I need is a formula the will concatenate the Primary first and Primary last with an "&" sign inbetween if the primary last and the secondary last are the same or the cell is blank. |
#6
![]() |
|||
|
|||
![]()
I made a mistake in my reply.
Thanks! That was great, now can we add another variable to say if the Secondary Last Name is different that we combine the Primary First and Primary Second with an & sign and the Secondary First Name into one cell? Thanks "JE McGimpsey" wrote: Assuming the the primary first name is column A, secondary first name in column B, primary last name in column C, secondary last name in column D, and further assuming that by "the cell" you mean the secondary last name: E1: =IF(OR(C1=D1,D1=""),A1 & "&" & C1,"") In article , "Linda G" <Linda wrote: I am working with database files where the primary first name, secondary first name and primary last name and secondary last name are in separate columns. What I need is a formula the will concatenate the Primary first and Primary last with an "&" sign inbetween if the primary last and the secondary last are the same or the cell is blank. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i add the same text after current text in multiple cells | Excel Discussion (Misc queries) | |||
Concatenate cells without specifying/writing cell address individually | Excel Discussion (Misc queries) | |||
Convert data of cells to any type: Number, Date&Time, Text | Excel Discussion (Misc queries) | |||
Need to convert text string to seperate cells | Excel Worksheet Functions | |||
Cells and and spaces after a string of text | Excel Worksheet Functions |