Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JcR
 
Posts: n/a
Default Match, index,....

I have a matrix in cells A1 across to D1 and A1 down to a4 (16 cells)

It looks like this:
A B C D
1 5 6 7
2 8 M N O
3 9 P Q R
4 10 S T U

If i enter "6" in cell m1, and "9" into cell m2, i want resultant intersect
"Q" to appear in m3

If i enter "7" in cell m1, and "10" into cell m2, i want resultant intersect
"U" to appear in m3

Thanks very much



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Match, index,....

Try something like this:

M3: =INDEX(A1:D4,MATCH(M1,A1:D1,0),MATCH(M2,A1:A4,0))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

I have a matrix in cells A1 across to D1 and A1 down to a4 (16 cells)

It looks like this:
A B C D
1 5 6 7
2 8 M N O
3 9 P Q R
4 10 S T U

If i enter "6" in cell m1, and "9" into cell m2, i want resultant intersect
"Q" to appear in m3

If i enter "7" in cell m1, and "10" into cell m2, i want resultant intersect
"U" to appear in m3

Thanks very much



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JcR
 
Posts: n/a
Default Match, index,....

Ron

thanks, something still amiss...

5,8 comes out m (correctly)
6,9 comes out q (correctly)
7,10 comes out u (correctly)

5,9 comes out n (incorrect) should be p
5,10 comes out o (incorrect) should be s
6,8 comes out p (incorrect) should be n
6,10 comes out r (incorrect) should be t
7,8 comes out s (incorrect) should be o
7,9 comes out t (incorrect) should be r

???????????????

Also, what is the "0" for at the end of each match

Thanks very much


"Ron Coderre" wrote:

Try something like this:

M3: =INDEX(A1:D4,MATCH(M1,A1:D1,0),MATCH(M2,A1:A4,0))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

I have a matrix in cells A1 across to D1 and A1 down to a4 (16 cells)

It looks like this:
A B C D
1 5 6 7
2 8 M N O
3 9 P Q R
4 10 S T U

If i enter "6" in cell m1, and "9" into cell m2, i want resultant intersect
"Q" to appear in m3

If i enter "7" in cell m1, and "10" into cell m2, i want resultant intersect
"U" to appear in m3

Thanks very much



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Match, index,....

YIKES! I swapped the row and column references.....

Here you go:

M3: =INDEX(A1:D4,MATCH(M2,A1:A4,0),MATCH(M1,A1:D1,0))

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

Ron

thanks, something still amiss...

5,8 comes out m (correctly)
6,9 comes out q (correctly)
7,10 comes out u (correctly)

5,9 comes out n (incorrect) should be p
5,10 comes out o (incorrect) should be s
6,8 comes out p (incorrect) should be n
6,10 comes out r (incorrect) should be t
7,8 comes out s (incorrect) should be o
7,9 comes out t (incorrect) should be r

???????????????

Also, what is the "0" for at the end of each match

Thanks very much


"Ron Coderre" wrote:

Try something like this:

M3: =INDEX(A1:D4,MATCH(M1,A1:D1,0),MATCH(M2,A1:A4,0))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

I have a matrix in cells A1 across to D1 and A1 down to a4 (16 cells)

It looks like this:
A B C D
1 5 6 7
2 8 M N O
3 9 P Q R
4 10 S T U

If i enter "6" in cell m1, and "9" into cell m2, i want resultant intersect
"Q" to appear in m3

If i enter "7" in cell m1, and "10" into cell m2, i want resultant intersect
"U" to appear in m3

Thanks very much



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JcR
 
Posts: n/a
Default Match, index,....

thanks, this works, what is the "0" for at end of each match ?

"Ron Coderre" wrote:

YIKES! I swapped the row and column references.....

Here you go:

M3: =INDEX(A1:D4,MATCH(M2,A1:A4,0),MATCH(M1,A1:D1,0))

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

Ron

thanks, something still amiss...

5,8 comes out m (correctly)
6,9 comes out q (correctly)
7,10 comes out u (correctly)

5,9 comes out n (incorrect) should be p
5,10 comes out o (incorrect) should be s
6,8 comes out p (incorrect) should be n
6,10 comes out r (incorrect) should be t
7,8 comes out s (incorrect) should be o
7,9 comes out t (incorrect) should be r

???????????????

Also, what is the "0" for at the end of each match

Thanks very much


"Ron Coderre" wrote:

Try something like this:

M3: =INDEX(A1:D4,MATCH(M1,A1:D1,0),MATCH(M2,A1:A4,0))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

I have a matrix in cells A1 across to D1 and A1 down to a4 (16 cells)

It looks like this:
A B C D
1 5 6 7
2 8 M N O
3 9 P Q R
4 10 S T U

If i enter "6" in cell m1, and "9" into cell m2, i want resultant intersect
"Q" to appear in m3

If i enter "7" in cell m1, and "10" into cell m2, i want resultant intersect
"U" to appear in m3

Thanks very much





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Match, index,....

The 3rd argument in the MATCH function indicates the Match_Type.
Zero indicates an Exact Match.

Check Excel Help on that function for the other options.

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

thanks, this works, what is the "0" for at end of each match ?

"Ron Coderre" wrote:

YIKES! I swapped the row and column references.....

Here you go:

M3: =INDEX(A1:D4,MATCH(M2,A1:A4,0),MATCH(M1,A1:D1,0))

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

Ron

thanks, something still amiss...

5,8 comes out m (correctly)
6,9 comes out q (correctly)
7,10 comes out u (correctly)

5,9 comes out n (incorrect) should be p
5,10 comes out o (incorrect) should be s
6,8 comes out p (incorrect) should be n
6,10 comes out r (incorrect) should be t
7,8 comes out s (incorrect) should be o
7,9 comes out t (incorrect) should be r

???????????????

Also, what is the "0" for at the end of each match

Thanks very much


"Ron Coderre" wrote:

Try something like this:

M3: =INDEX(A1:D4,MATCH(M1,A1:D1,0),MATCH(M2,A1:A4,0))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

I have a matrix in cells A1 across to D1 and A1 down to a4 (16 cells)

It looks like this:
A B C D
1 5 6 7
2 8 M N O
3 9 P Q R
4 10 S T U

If i enter "6" in cell m1, and "9" into cell m2, i want resultant intersect
"Q" to appear in m3

If i enter "7" in cell m1, and "10" into cell m2, i want resultant intersect
"U" to appear in m3

Thanks very much



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JcR
 
Posts: n/a
Default Match, index,....

thanks

"Ron Coderre" wrote:

The 3rd argument in the MATCH function indicates the Match_Type.
Zero indicates an Exact Match.

Check Excel Help on that function for the other options.

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

thanks, this works, what is the "0" for at end of each match ?

"Ron Coderre" wrote:

YIKES! I swapped the row and column references.....

Here you go:

M3: =INDEX(A1:D4,MATCH(M2,A1:A4,0),MATCH(M1,A1:D1,0))

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

Ron

thanks, something still amiss...

5,8 comes out m (correctly)
6,9 comes out q (correctly)
7,10 comes out u (correctly)

5,9 comes out n (incorrect) should be p
5,10 comes out o (incorrect) should be s
6,8 comes out p (incorrect) should be n
6,10 comes out r (incorrect) should be t
7,8 comes out s (incorrect) should be o
7,9 comes out t (incorrect) should be r

???????????????

Also, what is the "0" for at the end of each match

Thanks very much


"Ron Coderre" wrote:

Try something like this:

M3: =INDEX(A1:D4,MATCH(M1,A1:D1,0),MATCH(M2,A1:A4,0))

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"JcR" wrote:

I have a matrix in cells A1 across to D1 and A1 down to a4 (16 cells)

It looks like this:
A B C D
1 5 6 7
2 8 M N O
3 9 P Q R
4 10 S T U

If i enter "6" in cell m1, and "9" into cell m2, i want resultant intersect
"Q" to appear in m3

If i enter "7" in cell m1, and "10" into cell m2, i want resultant intersect
"U" to appear in m3

Thanks very much



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
Using AutoFilter to Sort Data Pulled in by INDEX / MATCH A Romeo Jr Excel Worksheet Functions 7 January 30th 06 11:43 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 02:01 PM.

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"