Index / Match

  • Thread starter Thread starter Guest
  • Start date Start date
When these arrays are multiplied together:

(A10=$B$2:$B$7)*(B10=$C$2:$C$7)

It will return an array of 1 or 0. Like this:

(A10=B2)*(B10=C2) = 0
(A10=B3)*(B10=C3) = 0
(A10=B4)*(B10=C4) = 0
(A10=B5)*(B10=C5) = 1
(A10=B6)*(B10=C6) = 0
(A10=B7)*(B10=C7) = 0

Since the lookup value is 1 a match is found at the 4th position so the
result of the formula is the value in cell A5 which is the 4th cell in the
indexed range.

Biff
 
Thanks Biff...that makes perfect sense...

Biff said:
When these arrays are multiplied together:

(A10=$B$2:$B$7)*(B10=$C$2:$C$7)

It will return an array of 1 or 0. Like this:

(A10=B2)*(B10=C2) = 0
(A10=B3)*(B10=C3) = 0
(A10=B4)*(B10=C4) = 0
(A10=B5)*(B10=C5) = 1
(A10=B6)*(B10=C6) = 0
(A10=B7)*(B10=C7) = 0

Since the lookup value is 1 a match is found at the 4th position so the
result of the formula is the value in cell A5 which is the 4th cell in the
indexed range.

Biff
 
Back
Top