Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default SumProduct - checking for multiple options in one column

Hi,

I am trying to create a formula which will tell me how many projects I have
which meet certain criteria and I am having trouble setting up my formula to
look for multiple options in one column.

At the moment I have
SUMPRODUCT(--($A2$A100={"Criteria 1a","Criteria 1b"}),--($B2$B100="Criteria
2"),--($C2$C100="Criteria 3"))
but it doesnt work!

Could one of you good people help me out!?

Thanks

Ed
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default SumProduct - checking for multiple options in one column

Try it like this:

=SUMPRODUCT(--(($A2:$A100="Criteria 1a")+($A2:$A100="Criteria
1b")),--($B2:$B100="Criteria 2"),--($C2:$C100="Criteria 3"))

HTH
Elkar


"edeaston" wrote:

Hi,

I am trying to create a formula which will tell me how many projects I have
which meet certain criteria and I am having trouble setting up my formula to
look for multiple options in one column.

At the moment I have
SUMPRODUCT(--($A2$A100={"Criteria 1a","Criteria 1b"}),--($B2$B100="Criteria
2"),--($C2$C100="Criteria 3"))
but it doesnt work!

Could one of you good people help me out!?

Thanks

Ed

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default SumProduct - checking for multiple options in one column

Works perfectly - thanks

Ed

"Elkar" wrote:

Try it like this:

=SUMPRODUCT(--(($A2:$A100="Criteria 1a")+($A2:$A100="Criteria
1b")),--($B2:$B100="Criteria 2"),--($C2:$C100="Criteria 3"))

HTH
Elkar


"edeaston" wrote:

Hi,

I am trying to create a formula which will tell me how many projects I have
which meet certain criteria and I am having trouble setting up my formula to
look for multiple options in one column.

At the moment I have
SUMPRODUCT(--($A2$A100={"Criteria 1a","Criteria 1b"}),--($B2$B100="Criteria
2"),--($C2$C100="Criteria 3"))
but it doesnt work!

Could one of you good people help me out!?

Thanks

Ed

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
ProtectSheet Options are un-checking after macro Roady Excel Discussion (Misc queries) 9 November 16th 11 05:19 PM
Are Error-Checking rules (in Excel Options) workbook-specific? JoeM Excel Discussion (Misc queries) 7 May 4th 08 01:30 AM
Error Checking Options - 2000-2003 brianbishop Excel Discussion (Misc queries) 1 August 11th 06 09:33 PM
Sumproduct checking between two dates bikergsx Excel Worksheet Functions 2 May 26th 06 10:21 AM
spell checking options dvs_47 Excel Worksheet Functions 2 March 6th 06 10:16 PM


All times are GMT +1. The time now is 10:45 PM.

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"