View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default Multiple criteria

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))))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"puiuluipui" wrote:

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!