#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default Multiple criteria

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!
  #2   Report Post  
Posted to microsoft.public.excel.misc
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!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default Multiple criteria

It's working great.
Thanks allot!

"Luke M" a scris:

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!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Multiple criteria

For a two way lookup check these sites. If you need more help, please come
back

Two-way lookup
http://j-walk.com/ss/excel/usertips/tip020.htm

Thorough solution:
http://www.cpearson.com/excel/TablesAndLookups.aspx

Simple solution:
http://www.contextures.com/xlFunctio...ml#IndexMatch2

BTW: SUMPRODUCT is generally used not to return a singe value but to add
values according to multiple criteria
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"puiuluipui" wrote in message
...
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!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count multiple cells against multiple criteria in an Excel spreads EricB Excel Worksheet Functions 7 June 3rd 08 09:09 PM
match multiple criteria ina range from multiple criteria multiplet RG Excel Worksheet Functions 8 September 28th 07 04:21 AM
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Saleem Excel Worksheet Functions 1 January 12th 05 10:54 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Arain Excel Worksheet Functions 1 January 12th 05 08:33 AM


All times are GMT +1. The time now is 11:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"