Hello
I have a column of data containing numbers separate by commas which I need to split out into corresponding columns, as per:
So, for example, in Cell A2 I have the numbers 1, 5, 12,16, 20,
Cell B2 is labelled 1, Cell C2 is labelled 2, Cell D2 is labelled 3, and so on up to say 20.
I then need to be able to move the numbers in A2 into the corresponding cells, so A2 above would then be split so that the '1' appears as '1' in the column labelled 1. the number 5 appears as 5 under the column labelled 5, and so on. Any other cells would remain blank.
I would also like to be able to do similar, but instead of the A3 numbers transferring as that number, I just need a 1.
E.g. Cell A3 above would then show as a 1 in the column labelled 1, a 1 in the column labelled 5, a 1 in the column labelled 12, etc.
Thank you!!!
I have a column of data containing numbers separate by commas which I need to split out into corresponding columns, as per:
Codes | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
1,5,12,16,20 | 1 | 5 | 12 | 16 | 20 | |||||||||||||||
1,5,12,16,20 | 1 | 1 | 1 | 1 | 1 |
So, for example, in Cell A2 I have the numbers 1, 5, 12,16, 20,
Cell B2 is labelled 1, Cell C2 is labelled 2, Cell D2 is labelled 3, and so on up to say 20.
I then need to be able to move the numbers in A2 into the corresponding cells, so A2 above would then be split so that the '1' appears as '1' in the column labelled 1. the number 5 appears as 5 under the column labelled 5, and so on. Any other cells would remain blank.
I would also like to be able to do similar, but instead of the A3 numbers transferring as that number, I just need a 1.
E.g. Cell A3 above would then show as a 1 in the column labelled 1, a 1 in the column labelled 5, a 1 in the column labelled 12, etc.
Thank you!!!