Hi to all
I have data like this
i have data in 2nd and 3rd rows of above table, i would like to have results like in 4th row. basically (in below table just example of 3 columns (SNP) i would like to split my data separated by / any cell not containing same letters like A/A, T/T, G/G, C/C i would like to give NA to those cells and then no work to do but i want them in final table. my final would be merge of split values like 4th row above table or 6th row of below table
I tried using concatenate formula =CONCATENATE(LEFT(B2,1),"/",LEFT(B3,1)) but i need to repeat this for right side text too, is there formula to split right and left and concatenate at the same time? any help in this regard is highly appreciated.
Thanks in advance
Regards
I have data like this
SNP1 | SNP2 | SNP3 | SNP4 | SNP5 | SNP6 |
A/A | T/T | G/G | C/C | A/T | G/C |
G/G | G/C | G/G | C/C | T/T | MISSING |
A/G | NA | G/G | C/C | NA | NA |
i have data in 2nd and 3rd rows of above table, i would like to have results like in 4th row. basically (in below table just example of 3 columns (SNP) i would like to split my data separated by / any cell not containing same letters like A/A, T/T, G/G, C/C i would like to give NA to those cells and then no work to do but i want them in final table. my final would be merge of split values like 4th row above table or 6th row of below table
SNP1 | SNP2 | SNP3 |
A | T | C |
A | T | C |
G | NA | C |
G | NA | C |
A/G | NA | C/C |
I tried using concatenate formula =CONCATENATE(LEFT(B2,1),"/",LEFT(B3,1)) but i need to repeat this for right side text too, is there formula to split right and left and concatenate at the same time? any help in this regard is highly appreciated.
Thanks in advance
Regards