If Statements & Combining Cells

  • Thread starter Thread starter Hark2k
  • Start date Start date
H

Hark2k

I am trying to write a statement where if the values in column A equal a
certain value then it will combine the corresponding data in column B,
preferably separated by a comma. So far CANCATENATE hasn't worked because I
haven't been able to get around identifying specific cells to combine. Does
anyone have any ideas? Thanks!
 
In C1 enter:

=IF(A1="happy",A1 & "," & B1,"")

So if A1 is happy, then C1 will show the combination of A1 and B1.

Replace happy with your value
 
Back
Top