Hello
I'm working with a spreadsheet in Excel that has this structure:
Coluna_A Coluna_B
A A
B B
C C
C_1 E
D
E
F
What I want is to figure out a way to put together a third column, which has data present in both columns. So:
Coluna_C
A
B
C
E
Note that the sample unit "E" of "Column_B" is in the same line as "C_1", of "Column_A", but it should still be in "Column_C" because it is in both columns. Would anyone know any code to automate this analysis, either in Excel, or in R?