Good afternoon, everyone.
Could I get some help on writing a macro? Starting in R1C1, I am given the following from an external database following:
<tbody>
</tbody>
I would like it to look more like the following below. Considering the actual list is hundreds of times longer than this, a macro would be nice. The colored texts in the tables above and below are actually filled with that color with black text. Essentially I would like to have the name added in a separate column left of the time, and get rid of all the crap cells to mimic this table:
<tbody>
</tbody>
I don't even care about the fill or anything of the like either. Is there someone out there willing to be a hero today and help me? It would be greatly appreciated!
Could I get some help on writing a macro? Starting in R1C1, I am given the following from an external database following:
Name | List1 | List2 | List3 | List4 | List5 | List6 | List7 |
Useless Text | 9483 | 37.4 | 4.3 | 19 | 23.7 | 12.5 | 3.7 |
Last, First | 62 | 0.9 | 4.5 | 0 | 85.5 | 6.8 | 0.1 |
7/1/2013 | 2 | 1.1 | 5.5 | 0 | 93 | 0 | 0.3 |
07:00 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
07:15 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
07:30 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
07:45 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
08:00 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
08:15 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
08:30 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
08:45 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
09:00 | 0 | 0 | 15.1 | 0 | 84.8 | 0 | 0 |
09:15 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
7/2/2013 | 2 | 1.8 | 77.5 | 14.3 | |||
07:00 | 0 | 0 | 0 | 0 | 26.5 | 73.3 | 0 |
07:15 | 0 | 0 | 0 | 0 | 99.8 | 0.2 | 0 |
07:30 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
07:45 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
08:00 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
08:15 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
08:30 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
08:45 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
09:00 | 0 | 0 | 7.1 | 0 | 91.8 | 0 | 0 |
09:15 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
Last2,First2 | 3 | 2 | 2.3 | 86 | 14 | ||
07:00 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
07:15 | 0 | 0 | 0 | 0 | 99.9 | 0.1 | 0 |
07:30 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
07:45 | 1 | 0 | 0 | 0 | 98.1 | 0 | 0 |
08:00 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
08:15 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
08:30 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
08:45 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
09:00 | 0 | 0 | 4 | 0 | 94.3 | 0 | 0 |
09:15 | 0 | 0 | 2.6 | 0 | 97.4 | 0 | 0 |
09:30 | 0 | 0 | 0 | 0 | 100 | 0 | 0 |
<tbody>
</tbody>
I would like it to look more like the following below. Considering the actual list is hundreds of times longer than this, a macro would be nice. The colored texts in the tables above and below are actually filled with that color with black text. Essentially I would like to have the name added in a separate column left of the time, and get rid of all the crap cells to mimic this table:
Name | Time | List1 | List 2 | List3 | List 4 | List 5 | List 6 | List 7 |
Last, First 7/1/2013 | 07:00 | 100 | ||||||
Last, First 7/1/2013 | 07:15 | 100 | ||||||
Last, First 7/1/2013 | 07:30 | 100 | ||||||
Last, First 7/1/2013 | 07:45 | 100 | ||||||
Last, First 7/1/2013 | 08:00 | 100 | ||||||
Last, First 7/1/2013 | 08:15 | 100 | ||||||
Last, First 7/1/2013 | 08:30 | 100 | ||||||
Last, First 7/1/2013 | 08:45 | 100 | ||||||
Last, First 7/1/2013 | 09:00 | 15.1 | 84.8 | |||||
Last, First 7/1/2013 | 09:15 | 100 | ||||||
Last, First 7/2/2013 | 07:00 | 26.5 | 73.3 | |||||
Last, First 7/2/2013 | 07:15 | 99.8 | 0.2 | |||||
Last, First 7/2/2013 | 07:30 | 100 | ||||||
Last, First 7/2/2013 | 07:45 | 100 | ||||||
Last, First 7/2/2013 | 08:00 | 100 | ||||||
Last, First 7/2/2013 | 08:15 | 100 | ||||||
Last, First 7/2/2013 | 08:30 | 100 | ||||||
Last, First 7/2/2013 | 08:45 | 100 | ||||||
Last, First 7/2/2013 | 09:00 | 7.1 | 91.8 | |||||
Last, First 7/2/2013 | 09:15 | 100 | ||||||
Last2,First2 7/1/2013 | 07:00 | 100 | ||||||
Last2,First2 7/1/2013 | 07:15 | 99.9 | 0.1 | |||||
Last2,First2 7/1/2013 | 07:30 | 100 | ||||||
Last2,First2 7/1/2013 | 07:45 | 1 | 98.1 | |||||
Last2,First2 7/1/2013 | 08:00 | 100 | ||||||
Last2,First2 7/1/2013 | 08:15 | 100 | ||||||
Last2,First2 7/1/2013 | 08:30 | 100 | ||||||
Last2,First2 7/1/2013 | 08:45 | 100 | ||||||
Last2,First2 7/1/2013 | 09:00 | 4 | 94.3 | |||||
Last2,First2 7/1/2013 | 09:15 | 2.6 | 97.4 |
<tbody>
</tbody>
I don't even care about the fill or anything of the like either. Is there someone out there willing to be a hero today and help me? It would be greatly appreciated!