I have a spreadsheet that lists a number of items, the second columns says if it will be Sold or Purchased and then the third column has a value. I would like to create a list that takes all the "Sell" from the list above and lists them with the value in the column next to the name. I am fairly sure I should use an Array and Match but unsure how to do it.
[TABLE="width: 100"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Action[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]Buy[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD][/TD]
[TD]66
[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Sell[/TD]
[TD]33[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]Buy[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
I want a table to dynamically generate the listing of the buy info
[TABLE="width: 100"]
<tbody>[TR]
[TD]Buy[/TD]
[TD]A[/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Buy[/TD]
[TD]D[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help is greatly appreciated.
GG
[TABLE="width: 100"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Action[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD]Buy[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD][/TD]
[TD]66
[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]Sell[/TD]
[TD]33[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]Buy[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
I want a table to dynamically generate the listing of the buy info
[TABLE="width: 100"]
<tbody>[TR]
[TD]Buy[/TD]
[TD]A[/TD]
[TD]10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Buy[/TD]
[TD]D[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help is greatly appreciated.
GG