Find a Certain Cell based on other Cells in Excel/Calc

Posted by user77325 on Super User See other posts from Super User or by user77325
Published on 2012-10-18T16:28:58Z Indexed on 2012/10/18 17:06 UTC
Read the original article Hit count: 274

I have a spreadsheet:

Beans       B-kg        Chips       C-kg
1.4oz/12    0.47544     6.5oz/20    3.679
1.48oz/12   0.502608    7oz/12      2.3772
1.86oz/12   0.631656    8oz/20      4.528

and a second sheet:

Category Name       Case Kg
Beans   1.4oz/12    ?
Beans   1.48oz/12   ?
Chips   6.5oz/20    ?

I am trying to match the type of product with the correct weight. So I need a formula that will choose the correct column based on the Category and then choose the correct row based on the name and output the result next to it.

© Super User or respective owner

Related posts about microsoft-excel

Related posts about worksheet-function