JimBobCooter
New Member
- Joined
- Jan 27, 2017
- Messages
- 6
Hello, I'm new to writing macros and have not been able to make much headway using online instructions or youtube. I have a few hundred excel files, each containing 3 worksheets. I'd like to pull data from a specific worksheet called "Physician Results" and have the data compiled into a single new table. Note, the data that I would like to compile are all the results of formulas calculated, but I just need the values (I would normally copy and paste special -> values for these). The original worksheets contain the data I would like to compile as follows:
In cells O29:P38
<tbody>
</tbody>
In cells R29:V38
<tbody>
</tbody>
In cell F13,
<tbody>
</tbody>
In cell G30,
<tbody>
</tbody>
In cell G32,
<tbody>
</tbody>
In cell G34,
<tbody>
</tbody>
I would like the data compiled into a summary worksheet as follows:
<tbody>
</tbody>
The data from each original worksheet would appear in the row after the data from the first original worksheet so that the result is one summary table with ~2000 rows and 11 columns.
Any help here would be hugely appreciated.
Thanks for your consideration.
In cells O29:P38
1 | 0 |
2 | 20 |
3 | 40 |
4 | 60 |
5 | 80 |
6 | 100 |
7 | 120 |
8 | 140 |
9 | 160 |
10 | 180 |
<tbody>
</tbody>
In cells R29:V38
7 | 2 | 9 | 4.5 | Yes |
16 | 4 | 20 | 4.1 | Yes |
8 | 3 | 11 | 4.1 | Yes |
10 | 3 | 13 | 4.5 | Yes |
15 | 4 | 19 | 4.4 | Yes |
32 | 5 | 37 | 4.1 | Yes |
27 | 4 | 31 | 4.1 | Yes |
29 | 5 | 34 | 4.3 | Yes |
28 | 5 | 33 | 4.4 | Yes |
27 | 6 | 33 | 3.8 | Yes |
<tbody>
</tbody>
In cell F13,
Doe, Jane D |
<tbody>
</tbody>
In cell G30,
25 |
<tbody>
</tbody>
In cell G32,
3 |
<tbody>
</tbody>
In cell G34,
28 |
<tbody>
</tbody>
I would like the data compiled into a summary worksheet as follows:
1 | 0 | 7 | 2 | 9 | 4.5 | Yes | Doe, Jane D | 25 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>3 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>28 |
2 | 20 | 16 | 4 | 20 | 4.1 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>Yes | Doe, Jane D | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>25 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>3 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>28 |
3 | 40 | 8 | 3 | 11 | 4.1 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>Yes | Doe, Jane D | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>25 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>3 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>28 |
4 | 60 | 10 | 3 | 13 | 4.5 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>Yes | Doe, Jane D | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>25 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>3 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>28 |
5 | 80 | 15 | 4 | 19 | 4.4 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>Yes | Doe, Jane D | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>25 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>3 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>28 |
6 | 100 | 32 | 5 | 37 | 4.1 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>Yes | Doe, Jane D | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>25 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>3 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>28 |
7 | 120 | 27 | 4 | 31 | 4.1 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>Yes | Doe, Jane D | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>25 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>3 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>28 |
8 | 140 | 29 | 5 | 34 | 4.3 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>Yes | Doe, Jane D | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>25 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>3 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>28 |
9 | 160 | 28 | 5 | 33 | 4.4 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>Yes | Doe, Jane D | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>25 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>3 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>28 |
10 | 180 | 27 | 6 | 33 | 3.8 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>Yes | Doe, Jane D | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>25 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>3 | <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}</style>28 |
<tbody>
</tbody>
The data from each original worksheet would appear in the row after the data from the first original worksheet so that the result is one summary table with ~2000 rows and 11 columns.
Any help here would be hugely appreciated.
Thanks for your consideration.