costin_chivu
New Member
- Joined
- May 6, 2012
- Messages
- 4
Hi. I want to create a sort of lookup by joining multiple ranges like in the table below:
<tbody>
</tbody>
What I want to achieve is the sum of quantities for all skus for all the products. C9 should be sum of C1, C2 and C5 quantities => 600. I can obtain an array of sku codes and then do a lookup ... but the lookup works for sorted ranges only... I have unsorted sku_codes list (f2:f5). Vlookup does not work with array lookup_value and I'm unable to cook a sumproduct that fits this example... I don't know how to imagine it.
Could you please help me to determine a formula without using a helper column sorting or VBA coding?
Many thanks,
Costin
A | B | C | D | E | F | G | H | ||||
1 |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> | |||||||
2 |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> | |||||||
3 |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> | |||||||
4 |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> | |||||||
5 |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> |
<tbody> </tbody> | |||||||
6 |
<tbody> </tbody> |
<tbody> </tbody> | |||||||||
7 | |||||||||||
8 |
<tbody> </tbody> | ||||||||||
9 |
<tbody> </tbody> | ||||||||||
10 |
<tbody> </tbody> | ||||||||||
11 |
<tbody> </tbody> |
<tbody>
</tbody>
What I want to achieve is the sum of quantities for all skus for all the products. C9 should be sum of C1, C2 and C5 quantities => 600. I can obtain an array of sku codes and then do a lookup ... but the lookup works for sorted ranges only... I have unsorted sku_codes list (f2:f5). Vlookup does not work with array lookup_value and I'm unable to cook a sumproduct that fits this example... I don't know how to imagine it.
Could you please help me to determine a formula without using a helper column sorting or VBA coding?
Many thanks,
Costin