#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Index / Match

Hi - I got this function example from the link below, but don't quite
understand the "1" as the match lookup value. Could some help?

=INDEX($A$2:$A$7,MATCH(1,(A10=$B$2:$B$7)*(B10=$C$2 :$C$7),0))


http://www.contextures.com/xlFunctio...ml#IndexMatch4

Thanks.
tinman
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Index / Match

I believe the 1 is the value to be matched:
http://www.techonthenet.com/excel/formulas/match.php

Dave
--
Brevity is the soul of wit.


"tinman" wrote:

Hi - I got this function example from the link below, but don't quite
understand the "1" as the match lookup value. Could some help?

=INDEX($A$2:$A$7,MATCH(1,(A10=$B$2:$B$7)*(B10=$C$2 :$C$7),0))


http://www.contextures.com/xlFunctio...ml#IndexMatch4

Thanks.
tinman

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Index / Match

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

"tinman" wrote in message
...
Hi - I got this function example from the link below, but don't quite
understand the "1" as the match lookup value. Could some help?

=INDEX($A$2:$A$7,MATCH(1,(A10=$B$2:$B$7)*(B10=$C$2 :$C$7),0))


http://www.contextures.com/xlFunctio...ml#IndexMatch4

Thanks.
tinman



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Index / Match

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

"Biff" wrote:

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

"tinman" wrote in message
...
Hi - I got this function example from the link below, but don't quite
understand the "1" as the match lookup value. Could some help?

=INDEX($A$2:$A$7,MATCH(1,(A10=$B$2:$B$7)*(B10=$C$2 :$C$7),0))


http://www.contextures.com/xlFunctio...ml#IndexMatch4

Thanks.
tinman




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Index / Match

You're welcome. Thanks for the feedback!

Biff

"tinman" wrote in message
...
Thanks Biff...that makes perfect sense...

"Biff" wrote:

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

"tinman" wrote in message
...
Hi - I got this function example from the link below, but don't quite
understand the "1" as the match lookup value. Could some help?

=INDEX($A$2:$A$7,MATCH(1,(A10=$B$2:$B$7)*(B10=$C$2 :$C$7),0))


http://www.contextures.com/xlFunctio...ml#IndexMatch4

Thanks.
tinman






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
Index, Match and filters Steve M Excel Discussion (Misc queries) 4 August 22nd 06 09:12 PM
Match Index cjjoo Excel Worksheet Functions 3 October 25th 05 09:33 AM
Match or Index Question carl Excel Worksheet Functions 2 October 4th 05 09:11 PM
Match & Index Phyllis B. Excel Worksheet Functions 2 November 27th 04 03:26 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


All times are GMT +1. The time now is 07:52 AM.

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"