Hello!
I have a exit interview survey that individuals are able to select multiple reasons as to why they are leaving the company. When I pull the raw data it puts all the reasons they selected into a new column. I would like to put all the reasons into one cell, which I can do using the CHAR(10) function, however if the person did not select a reason, it will still put a line break there.
Example Data:
[table="width: 500, class: grid, align: left"]
[tr]
[td]A[/td]
[td]B[/td]
[td]C[/td]
[td]D[/td]
[td]E[/td]
[td]F[/td]
[td]G[/td]
[td]H[/td]
[/tr]
[tr]
[td]CHOICES (Column)/EE Name (Row)[/td]
[td]Better pay[/td]
[td]Promotional position with more pay and/or responsibility[/td]
[td]Better benefits package to include tuition reimbursement, medical, 401k and vacation[/td]
[td]Better schedules[/td]
[td]Less responsibility for equal pay or more pay[/td]
[td]Other (please specify)[/td]
[td]<B>RESULTS</B>[/td]
[/tr]
[tr]
[td]EE A[/td]
[td][/td]
[td][/td]
[td][/td]
[td]Better schedules[/td]
[td][/td]
[td]Other (please specify)[/td]
[td]
Better schedules
Other (please specify)[/td]
[/tr]
[tr]
[td]EE B[/td]
[td]Better pay[/td]
[td]Promotional position with more pay and/or responsibility[/td]
[td][/td]
[td][/td]
[td]Less responsibility for equal pay or more pay[/td]
[td][/td]
[td]
Better pay
Promotional position with more pay and/or responsibility
Less responsibility for equal pay or more pay
[/td]
[/tr]
[/tr]
[tr]
[td]EE C[/td]
[td]Better pay[/td]
[td]Promotional position with more pay and/or responsibility[/td]
[td]Better benefits package to include tuition reimbursement, medical, 401k and vacation[/td]
[td][/td]
[td][/td]
[td][/td]
[td]
Better pay
Promotional position with more pay and/or responsibility
Better benefits package to include tuition reimbursement, medical, 401k and vacation
[/td]
[/tr]
[tr]
[/tr]
[/table]
My Formula in Col H is:
=CONCATENATE(a1,CHAR(10)&b1,CHAR(10)&c1,CHAR(10)&d1,CHAR(10)&e1,CHAR(10)&f1,CHAR(10)&g1)
As you can see it puts line breaks regardless to if that cell has value.
I would like the results of EE A to be:
Better schedules
Other (please specify)
So if that person didn't select that reason, it will not give it a line break. I have a feeling this is a macro or a VERY long If statement, which I'm not opposed to but I have to manually do this report monthly and I'm tired of copying and pasting. LOL
OR, if someone can tell me how to do a REPLACE function for a line break, that would work too!
Your help is greatly appreciated!
TIA!
I have a exit interview survey that individuals are able to select multiple reasons as to why they are leaving the company. When I pull the raw data it puts all the reasons they selected into a new column. I would like to put all the reasons into one cell, which I can do using the CHAR(10) function, however if the person did not select a reason, it will still put a line break there.
Example Data:
[table="width: 500, class: grid, align: left"]
[tr]
[td]A[/td]
[td]B[/td]
[td]C[/td]
[td]D[/td]
[td]E[/td]
[td]F[/td]
[td]G[/td]
[td]H[/td]
[/tr]
[tr]
[td]CHOICES (Column)/EE Name (Row)[/td]
[td]Better pay[/td]
[td]Promotional position with more pay and/or responsibility[/td]
[td]Better benefits package to include tuition reimbursement, medical, 401k and vacation[/td]
[td]Better schedules[/td]
[td]Less responsibility for equal pay or more pay[/td]
[td]Other (please specify)[/td]
[td]<B>RESULTS</B>[/td]
[/tr]
[tr]
[td]EE A[/td]
[td][/td]
[td][/td]
[td][/td]
[td]Better schedules[/td]
[td][/td]
[td]Other (please specify)[/td]
[td]
Better schedules
Other (please specify)[/td]
[/tr]
[tr]
[td]EE B[/td]
[td]Better pay[/td]
[td]Promotional position with more pay and/or responsibility[/td]
[td][/td]
[td][/td]
[td]Less responsibility for equal pay or more pay[/td]
[td][/td]
[td]
Better pay
Promotional position with more pay and/or responsibility
Less responsibility for equal pay or more pay
[/td]
[/tr]
[/tr]
[tr]
[td]EE C[/td]
[td]Better pay[/td]
[td]Promotional position with more pay and/or responsibility[/td]
[td]Better benefits package to include tuition reimbursement, medical, 401k and vacation[/td]
[td][/td]
[td][/td]
[td][/td]
[td]
Better pay
Promotional position with more pay and/or responsibility
Better benefits package to include tuition reimbursement, medical, 401k and vacation
[/td]
[/tr]
[tr]
[/tr]
[/table]
My Formula in Col H is:
=CONCATENATE(a1,CHAR(10)&b1,CHAR(10)&c1,CHAR(10)&d1,CHAR(10)&e1,CHAR(10)&f1,CHAR(10)&g1)
As you can see it puts line breaks regardless to if that cell has value.
I would like the results of EE A to be:
Better schedules
Other (please specify)
So if that person didn't select that reason, it will not give it a line break. I have a feeling this is a macro or a VERY long If statement, which I'm not opposed to but I have to manually do this report monthly and I'm tired of copying and pasting. LOL
OR, if someone can tell me how to do a REPLACE function for a line break, that would work too!
Your help is greatly appreciated!
TIA!