J Jenn1981 Member Jan 31, 2018 #1 Hi. I'm trying to concat Cell A, B, and C. However, I don't want to concat the row if column A has "N". For example, Below I would like to skip row 4 and 5 because column A has "N". (Highlighted in yellow) Thanks, Jenny Attachments concat.xlsx 14.4 KB · Views: 8 Last edited: Jan 31, 2018
Hi. I'm trying to concat Cell A, B, and C. However, I don't want to concat the row if column A has "N". For example, Below I would like to skip row 4 and 5 because column A has "N". (Highlighted in yellow) Thanks, Jenny
B bosco_yip Excel Ninja Jan 31, 2018 #2 Maybe, in D2 copied down : =IF(A2="n","",CONCATENATE(A2,B2,C2)) or, =IF(A2="n","",A2&B2&C2) Regards Bosco
Maybe, in D2 copied down : =IF(A2="n","",CONCATENATE(A2,B2,C2)) or, =IF(A2="n","",A2&B2&C2) Regards Bosco
J Jenn1981 Member Jan 31, 2018 #4 bosco_yip said: Maybe, in D2 copied down : =IF(A2="n","",CONCATENATE(A2,B2,C2)) or, =IF(A2="n","",A2&B2&C2) Regards Bosco Click to expand... Hi Bosco, What if I added another column. for example, if A is N or D is blank. Don't concate that row.
bosco_yip said: Maybe, in D2 copied down : =IF(A2="n","",CONCATENATE(A2,B2,C2)) or, =IF(A2="n","",A2&B2&C2) Regards Bosco Click to expand... Hi Bosco, What if I added another column. for example, if A is N or D is blank. Don't concate that row.
B bosco_yip Excel Ninja Jan 31, 2018 #6 Or this shorter, =IF(OR(A2={"n",""}),"",A2&B2&C2) Regards Bosco
B bosco_yip Excel Ninja Feb 1, 2018 #8 p45cal said: Bosco, Click to expand... Sorry, misreading Maybe, =IF((A2="n")+(D2=""),"",A2&B2&C2) Regards Bosco
p45cal said: Bosco, Click to expand... Sorry, misreading Maybe, =IF((A2="n")+(D2=""),"",A2&B2&C2) Regards Bosco