LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Junior Member
 
Posts: 19
Default

Quote:
Originally Posted by Spencer101 View Post
Then you simply add another condition.

=SUMPRODUCT((A1:A6="Dog")*(B1:B6=0)*(C1:C6="White "))


For multiple choices you use a + symbol in SUMPRODUCT to represent OR:

=SUMPRODUCT((A1:A6="Dog")*(B1:B6=0)*(C1:C6="Beige ")+(C1:C6="Brown"))


If you need more help post an example workbook as it will make things much easier to tailor make to your needs.
Hi there,

Thank you, that solved my problem.

I've seen people use formulas with "--" eg.
=SUMPRODUCT(--(ARRAY1),--(ARRAY2)). And was wondering, why would you do this? And what function does the -- perform?


 
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
countif with a condition and contains @ Pete_UK Excel Worksheet Functions 1 March 18th 10 09:15 AM
countif where condition should be met SCC Excel Worksheet Functions 3 September 28th 09 08:47 PM
COUNTIF - Condition Sandesh Excel Discussion (Misc queries) 7 August 24th 08 08:58 AM
COUNTIF - more than one condition Gary Excel Worksheet Functions 4 May 8th 07 08:46 PM
How do I set up a COUNTIF with more than one condition? Gail Excel Programming 4 September 1st 06 08:23 PM


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

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

About Us

"It's about Microsoft Excel"