Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #13  
Old 12-06-2012, 05:05 AM
macropod's Avatar
macropod macropod is offline Counting cells with multiple complex criteria Windows 7 64bit Counting cells with multiple complex criteria Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by TishyMouse View Post
the bit I don't really get (and which isn't explained there) is your multiplication of functions applied to two arrays before sumproduct-ing them with the third array. What does the multiplication do in this instance?

i.e. sumproduct(fx(array1)*fx(array2),fx(array3))
Basically, each array will return a series of true & false results that could be expressed as 1s (true) and 0s (false).
Suppose the first array returns:
1 0 1 0 1 0 1 0
and the second array returns:
0 0 0 1 1 0 1 1
If you multiply the corresponding values from the two array, to find which values are true in both, you end up with:
0 0 0 0 1 0 1 0
(i.e. two true pairs). The SUMPRODUCT simply sums the 1s.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ranking with multiple criteria angie.chang Excel 0 08-14-2012 04:49 PM
Change values in cells based on criteria SaneMan Excel Programming 2 02-02-2012 07:58 AM
Counting cells with multiple complex criteria Selecting blank cells in criteria apolloman Excel 6 08-24-2011 05:38 AM
How to count cells containing data and meet certain criteria AdamNT Excel 1 08-11-2006 11:51 PM
Counting cells with multiple complex criteria Multiple criteria in SUMIF? pumpkin head Excel 1 02-17-2006 09:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft