cyrilbrd
Well-known Member
- Joined
- Feb 2, 2012
- Messages
- 4,113
- Office Version
- 365
- Platform
- Windows
- Mobile
Good day,
Given an excel form filled up by users, said form contains several fields and data.
I would like to convert these into a database by copying the data to the next empty row.
Example of the form:
And this is how the database would look like, with each subsequent iteration of the form copied to the next empty row, thus allowing extraction of data from the created DB via formulae or pivot...
Any suggestion would be welcome.
The idea would be for the file to have only two (2) tabs, on for the form, and one for the DB, the user would encode the form and 'copy' it to the DB via vba.
Thanks.
Given an excel form filled up by users, said form contains several fields and data.
I would like to convert these into a database by copying the data to the next empty row.
Example of the form:
Book1.xlsm | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Form filled up and printed by user | ||||||||
2 | |||||||||
3 | desig1 | 1 | |||||||
4 | desig2 | 2 | |||||||
5 | desig3 | 3 | |||||||
6 | desig4 | 4 | |||||||
7 | |||||||||
8 | tbl1 | field1 | field2 | field3 | field4 | ||||
9 | Type1 | 5 | 6 | 7 | 8 | ||||
10 | Type2 | 9 | 10 | 11 | 12 | ||||
11 | Type3 | 13 | 14 | 15 | 16 | ||||
12 | Type4 | 17 | 18 | 19 | 20 | ||||
13 | Type5 | 21 | 22 | 23 | 24 | ||||
14 | |||||||||
15 | tbl2 | field5 | field6 | field7 | field8 | field9 | field10 | ||
16 | Type6 | 25 | 26 | 27 | 28 | 29 | 30 | ||
17 | Type7 | 31 | 32 | 33 | 34 | 35 | 36 | ||
18 | Type8 | 37 | 38 | 39 | 40 | 41 | 42 | ||
19 | |||||||||
20 | tbl3 | field11 | |||||||
21 | Type9 | 43 | |||||||
22 | Type10 | 44 | |||||||
23 | Type11 | 45 | |||||||
form |
And this is how the database would look like, with each subsequent iteration of the form copied to the next empty row, thus allowing extraction of data from the created DB via formulae or pivot...
Book1.xlsm | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | |||
28 | desig1 | desig2 | desig3 | desig4 | Type | Field1 | Field2 | Field3 | Field4 | Field5 | Field6 | Field7 | Field8 | Field9 | Field10 | Field11 | ||
29 | 1 | 2 | 3 | 4 | Type1 | 5 | 6 | 7 | 8 | |||||||||
30 | 1 | 2 | 3 | 4 | Type2 | 9 | 10 | 11 | 12 | |||||||||
31 | 1 | 2 | 3 | 4 | Type3 | 13 | 14 | 15 | 16 | |||||||||
32 | 1 | 2 | 3 | 4 | Type4 | 17 | 18 | 19 | 20 | |||||||||
33 | 1 | 2 | 3 | 4 | Type5 | 21 | 22 | 23 | 24 | |||||||||
34 | 1 | 2 | 3 | 4 | Type6 | 25 | 26 | 27 | 28 | 29 | 30 | |||||||
35 | 1 | 2 | 3 | 4 | Type7 | 31 | 32 | 33 | 34 | 35 | 36 | |||||||
36 | 1 | 2 | 3 | 4 | Type8 | 37 | 38 | 39 | 40 | 41 | 42 | |||||||
37 | 1 | 2 | 3 | 4 | Type9 | 43 | ||||||||||||
38 | 1 | 2 | 3 | 4 | Type10 | 44 | ||||||||||||
39 | 1 | 2 | 3 | 4 | Type11 | 45 | ||||||||||||
form |
Any suggestion would be welcome.
The idea would be for the file to have only two (2) tabs, on for the form, and one for the DB, the user would encode the form and 'copy' it to the DB via vba.
Thanks.
Last edited: