Would like some help with a VBA script to transfer data as shown below.
I tried to make it as simple as possible below.
Sheet1: COL G-M may not always contain complete data. Therefore, only transfer the cells with actual data as a new row. See Sheet2 for how it is to look.
The final result is the last table. I hope the tables are self explanatory. They say a picture is worth a thousand words and I'm sure nobody wants to read a thousand word of explanations.
I f you require further clarification, please ask away and I will try to explain it better.
I'm still very new with VBA so hoping that someone can help provide me with a VBA that I can easily learn to change for future uses.
Thank you!
I tried to make it as simple as possible below.
Sheet1: COL G-M may not always contain complete data. Therefore, only transfer the cells with actual data as a new row. See Sheet2 for how it is to look.
The final result is the last table. I hope the tables are self explanatory. They say a picture is worth a thousand words and I'm sure nobody wants to read a thousand word of explanations.
I f you require further clarification, please ask away and I will try to explain it better.
I'm still very new with VBA so hoping that someone can help provide me with a VBA that I can easily learn to change for future uses.
Thank you!
A | B | C | D | E | F | G | H | I | J | K | L | M |
COL G | COLH | COL I | COL J | COL K | COL L | COL M | ||||||
ALPHA | BETA | GAMMA | DELTA | EPSILON | ZETA | ETA | ||||||
COL A | COL B | COL C | COL D | COL E | COL F | Enter QTY | Enter QTY | Enter QTY | Enter QTY | Enter QTY | Enter QTY | Enter QTY |
1 | b | g | h | i | j | k | l | m | ||||
1 | c | n | o | s | t | |||||||
Sheet1 | ||||||||||||
A | BETA | C | D |
FFF | GGG | PRICE | |
COL G | ALPHA | $100.00 | |
COLH | BETA | $101.00 | |
COL I | GAMMA | $102.00 | |
COL J | DELTA | $103.00 | |
COL K | EPSILON | $104.00 | |
COL L | ZETA | $105.00 | |
COL M | ETA | $106.00 | |
SHEET2 | |||
B | C | D | E | Q | R | V | W | ||||||||||||||
BBB | CCC | DDD | EEE | FFF | GGG | HHH | Price* (From Sample Original|Sheet2) | ||||||||||||||
1 | b | COL G | ALPHA | g | $ 100.00 | ||||||||||||||||
2 | b | COLH | BETA | h | $ 101.00 | ||||||||||||||||
3 | b | COL I | GAMMA | i | $ 102.00 | ||||||||||||||||
4 | b | COL J | DELTA | j | $ 103.00 | ||||||||||||||||
5 | b | COL K | EPSILON | k | $ 104.00 | ||||||||||||||||
6 | b | COL L | ZETA | l | $ 105.00 | ||||||||||||||||
7 | b | COL M | ETA | m | $ 106.00 | ||||||||||||||||
Numbering restarts with each new item from Sheet 1 Col B | INSERT BLANK LINE FOR NEW 'COL B' ROW | #N/A | #N/A | ||||||||||||||||||
1 | c | COL G | ALPHA | n | $ 100.00 | ||||||||||||||||
2 | c | COLH | BETA | o | $ 101.00 | ||||||||||||||||
3 | c | COL L | ZETA | s | $ 105.00 | ||||||||||||||||
4 | c | COL M | ETA | t | $ 106.00 | ||||||||||||||||
Final Transposed Results | |||||||||||||||||||||