Forum Discussion

A_SIRAT's avatar
A_SIRAT
Iron Contributor
Dec 07, 2019
Solved

Lookup

Hi Guys,

 

I am looking for one formula that will lookup the Product Name in Column F from the entire TABLE A and upon finding it, gives me the quantity shipped.

 

 

Thanks in advance.

 

4 Replies

  • A_SIRAT 

    If would also be possible to exploit the fact that the quantity shipped is always in a cell one to the right of the product.  Thus, if ProductTable is the first table, one can define QuantityTable to be the offset range

    = OFFSET( ProductTable , 0, 1 )

     

    For a list ProductName, the required quantity is returned by a SUMIFS operating over the two overlapping 2D ranges

    = SUMIFS( QuantityTable, ProductTable, ProductName )

Resources