Excel geeks and software-engineers,
I am playing with the "Excel Webdata Import" to generate a pivot report of Bugs and affected Testcases. The data comes from an proprietary tool, and is a html-table. Most of Excel's HTML import works but I have some strange effects:
1) some TDs contain a DIV which is shown on mouse-over. In Excel I get multiple cells for the info in the DIV ( a bold heading, a description, a last modification date )
2) one HTML column has data that should go to two excel cells, a text and an icon.
Question: How can I either:
- postprocess the data in Excel (automatically at refresh)?
- tune the import stylesheet?
For 1) I would like to collapse the 3 excel rows to 3 cells in one row
For 2) I would like to split the cell using a regex or so.
I would like to avoid using an additional tool to have the tool-chain as short as possible.
Thanks for any hints and pointers.
Edit: Here is an example row:
<tr class="level0">
<!-- case 1) -->
<!-- some fancy javascript and div stuff in html. shown in browser is an icon + mouse-over-div -->
<td>
<a onMouseOver="Element.show('bug_35017')" onMouseOut="Element.hide('bug_35017')" href="jira/browse/35017" target="_blank"><img alt="Bug_" border="0" src="/images/bug_.gif?1348035189" /></a>
<div id="bug_35017" style="padding: 5px; width: 40%; display: none; position: absolute; left: 30%; border: 1px solid #666; background: white; color: #000">
<img alt="Bug_" border="0" src="/images/bug_.gif?1348035189" />
<b style="color: #000">JIRA 35017</b>
last modification: 2012-12-19 10:13:54<p/>
<blockquote style="color: #000">
"Delete account - Please review Testcase 12345"
</blockquote>
</div>
</td>
<!-- case 2) -->
<!-- a date and the info if the testcase was ok or not, using an icon in one TD -->
<td>
17:26:45 12.12.12 <img alt="Nok" src="/images/nok.gif?1348035189" />
</td>
</tr>
I'd like to see this as:
| 35015 | 2012-12-19 10:13:54 | Delete account please review Testcase 12345 | 17:26:45 12.12.12 | Nok |
But I get :
| 35015 | 17:26:45 12.12.12 Nok | | 2012-12-19 10:13:54 | | | Delete account please review Testcase 12345 | |