![]() |
|
|
|
#1
|
|||
|
|||
|
THanks I did already have a look at the Microsoft guide, but 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)) And yes I do find it hard to believe that you only dabble in Excel. Can't imagine the sort of shenanigans you must achieve in Word ;-) |
|
#2
|
||||
|
||||
|
Quote:
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] |
|
|
|
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 |
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 |
Multiple criteria in SUMIF?
|
pumpkin head | Excel | 1 | 02-17-2006 09:06 AM |