Matching two different colums, VLOOKUP?

F

Freddie

Hi. I need to match 2 different variables (text), in this case a product
brand and a product category.
I know how to use vlookup to match 1 variable, but what formula do I use to
match 2 different values.

Example
Category Brand nbr of skus
Printer HP 3
Printer Canon 4
Printer Brother 2

I want to return number of SKU’s if both category & brand matches.

/Freddie
 
E

Eduardo

Hi,
let's say your information is in colum,n A,B and C and in D1 you enter your
category, in E1 the brand and in F1 you want to get the Sku, so here enter

=SUMPRODUCT(--(A:A=D1),--(B:B=E1),C:C)

if you are not using excel 2007 use

=SUMPRODUCT(--($A$1:$A$1000=D1),--($B$1:$B$1000=E1),$C$1:$C$1000)

if this helps please click yes, thanks
 
E

Eduardo

Hi Freddie,
The formula is working for me be sure that the description you enter in
cells D1 and E1 is exactly the same as in columns A and B, check for blanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top