Zend certified PHP/Magento developer

Excel Item/Price Table Selection

I have 2 sheets one with a price table and other with a list on items I input.

I want a 2 table only with the items i actually used from the table, how could i generate that?

Check the screenshot i think it might be easier to understand.enter image description here

enter image description here

The input is in yellow. The price is auto calculated with the quantity. I just need a second table showing what was actually priced in. Any ideas?