convert multiples to discrete items/rows?

atr

New Member
Joined
Sep 6, 2005
Messages
10
I have a set of data like this:
<table>
<tr><td>Qty</td><td>Price</td></tr>
<tr><td>2</td><td>5</td></tr>
<tr><td>3</td><td>4</td></tr>
<tr><td>1</td><td>6</td></tr>
</table>

Is it possible (without VBA) to convert it to this format?
<table>
<tr><td>Price</td></tr>
<tr><td>5</td></tr>
<tr><td>5</td></tr>
<tr><td>4</td></tr>
<tr><td>4</td></tr>
<tr><td>4</td></tr>
<tr><td>6</td></tr>
</table>


Thank you!
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

atr

New Member
Joined
Sep 6, 2005
Messages
10
Alternatively, is it possible to convert the first table into an array with discrete items?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,133
Messages
5,835,594
Members
430,369
Latest member
pingel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top