If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
If Statements & Combining Cells
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! |
#2
|
|||
|
|||
If Statements & Combining Cells
Here's a start.........
=IF(A1=C1,A1&","&C1,"") Vaya con Dios, Chuck, CABGx3 "Hark2k" wrote: 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! |
#3
|
|||
|
|||
If Statements & Combining Cells
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 -- Gary''s Student - gsnu200764 "Hark2k" wrote: 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! |
Thread Tools | |
Display Modes | |
|
|