Hi There,
I am new to this forum and would post this hoping someone could help me. Please see the table below.
I have an excel worksheet (excel 2010) with numbers in Columns A,B & C. What I am trying to acheive is to automatically put 1s, 2s and 3s based on the values in A,B & C respectively into columns starting from E.
For example, I have 2 in A1, 5 in B1 and 1 in C1. In this case, I need to put 1 two times and then 2 five times and then 3 one time starting from column E as shown in the table above.
Can anyone help me with a formula or a vb script to do this?
I am new to this forum and would post this hoping someone could help me. Please see the table below.
A | B | C | D | E | F | G | H | I | J | K | L | M | N |
2 | 5 | 1 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 3 | |||
3 | 2 | 4 | 1 | 1 | 1 | 2 | 2 | 3 | 3 | 3 | 3 | ||
1 | 6 | 3 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | 3 | 3 | 3 | |
I have an excel worksheet (excel 2010) with numbers in Columns A,B & C. What I am trying to acheive is to automatically put 1s, 2s and 3s based on the values in A,B & C respectively into columns starting from E.
For example, I have 2 in A1, 5 in B1 and 1 in C1. In this case, I need to put 1 two times and then 2 five times and then 3 one time starting from column E as shown in the table above.
Can anyone help me with a formula or a vb script to do this?