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!
 
Here's a start.........

=IF(A1=C1,A1&","&C1,"")

Vaya con Dios,
Chuck, CABGx3
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top