How do I take input data from tab A and create X number of rows in tab B to populate the data. X is the value shown as "Count" in column A on the Tab A. Tab B needs to be saved as a csv file to upload to a database. There could be up to 20 rows in input Tab A for a given data set.
MenuSample.xlsx | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Count | Table Letter | Fruit | Meat | Bread | |||||
2 | 2 | A | Apple | Steak | Wheat | |||||
3 | 3 | B | Orange | Chicken | Sourdough | |||||
4 | 5 | C | Pear | Fish | Rye | |||||
5 | 1 | D | Plum | Burger | French | |||||
6 | ||||||||||
7 | ||||||||||
8 | ||||||||||
9 | ||||||||||
10 | ||||||||||
11 | ||||||||||
12 | ||||||||||
13 | ||||||||||
14 | ||||||||||
Input |
MenuSample.xlsx | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | |||
1 | Table Letter | Fruit | Meat | Bread | |||||||||
2 | |||||||||||||
3 | |||||||||||||
4 | |||||||||||||
5 | |||||||||||||
6 | |||||||||||||
7 | |||||||||||||
8 | |||||||||||||
9 | |||||||||||||
10 | |||||||||||||
11 | |||||||||||||
12 | |||||||||||||
13 | |||||||||||||
14 | |||||||||||||
15 | |||||||||||||
16 | |||||||||||||
17 | |||||||||||||
18 | |||||||||||||
19 | |||||||||||||
20 | |||||||||||||
21 | |||||||||||||
22 | |||||||||||||
23 | |||||||||||||
24 | |||||||||||||
25 | |||||||||||||
26 | |||||||||||||
27 | |||||||||||||
28 | |||||||||||||
Ouput |