Multiple criteria

P

puiuluipui

Hi, i have this code:
=sumproduct(--(a1=sheet1!$a$1:$a$100),--(b1=sheet1!$b$1:$b$100),sheet1!$c$1:$c$100)

This code retrieve numbers. I need a code, just like that, a code for
multiple criteria, that retrieve text.
Can this be done?
Thanks!
 
L

Luke M

Note by wanting a text returned, I'm assuming you will only have 1 match of
your criteria. If text is in column C

=INDEX(Sheet1!$C:$C,SUMPRODUCT(--(A1=Sheet1!$A$1:$A$100),--(B1=Sheet1!$B$1:$B$100),--(ROW(Sheet1!$C$1:$C$100))))
 

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