#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 516
Default Excel Matrix lookup

I have three matrices(see below), I would like to have excel lookup based on
the column and row(ex. [3,7]) and search the other matrices for the same
column and row numbers and add them together(ex. [3,7] + [3,7] = Y+ J).
However I am not sure how to go about doing this. Any help would be greatly
appreciated.


[1 2 5 6]
A B D E [1]
B E H F [2]
J U T D [5]
U Y P P [6]

[2 3 6 7]
A B D E [2]
B E G F [3]
J S D D [6]
U Y P P [7]

[3 4 7 8]
A B D E [3]
B E G F [4]
J S D D [7]
U Y P P [8]
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 150
Default Excel Matrix lookup

Assumptions:

A2:E6 contains the first matrix

A8:E12 contains the second matrix

A14:E18 contains the third matrix

Formula:

=SUM(IF(A2:D2=3,IF(E3:E6=7,A3:D6)),IF(A8:D8=3,IF(E 9:E12=7,A9:D12)),IF(A14
:D14=3,IF(E15:E18=7,A15:D18)))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
Matt wrote:

I have three matrices(see below), I would like to have excel lookup based on
the column and row(ex. [3,7]) and search the other matrices for the same
column and row numbers and add them together(ex. [3,7] + [3,7] = Y+ J).
However I am not sure how to go about doing this. Any help would be greatly
appreciated.


[1 2 5 6]
A B D E [1]
B E H F [2]
J U T D [5]
U Y P P [6]

[2 3 6 7]
A B D E [2]
B E G F [3]
J S D D [6]
U Y P P [7]

[3 4 7 8]
A B D E [3]
B E G F [4]
J S D D [7]
U Y P P [8]

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Excel Matrix lookup

=INDEX(MATCH(..),MATCH(...))+INDEX(MATCH(..),MATCH (...))+INDEX(MATCH(..),MATCH(...))

Dave

--
Brevity is the soul of wit.


"Matt" wrote:

I have three matrices(see below), I would like to have excel lookup based on
the column and row(ex. [3,7]) and search the other matrices for the same
column and row numbers and add them together(ex. [3,7] + [3,7] = Y+ J).
However I am not sure how to go about doing this. Any help would be greatly
appreciated.


[1 2 5 6]
A B D E [1]
B E H F [2]
J U T D [5]
U Y P P [6]

[2 3 6 7]
A B D E [2]
B E G F [3]
J S D D [6]
U Y P P [7]

[3 4 7 8]
A B D E [3]
B E G F [4]
J S D D [7]
U Y P P [8]

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 516
Default Excel Matrix lookup

Thank you so much works great!!!!!!!!!

"Domenic" wrote:

Assumptions:

A2:E6 contains the first matrix

A8:E12 contains the second matrix

A14:E18 contains the third matrix

Formula:

=SUM(IF(A2:D2=3,IF(E3:E6=7,A3:D6)),IF(A8:D8=3,IF(E 9:E12=7,A9:D12)),IF(A14
:D14=3,IF(E15:E18=7,A15:D18)))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
Matt wrote:

I have three matrices(see below), I would like to have excel lookup based on
the column and row(ex. [3,7]) and search the other matrices for the same
column and row numbers and add them together(ex. [3,7] + [3,7] = Y+ J).
However I am not sure how to go about doing this. Any help would be greatly
appreciated.


[1 2 5 6]
A B D E [1]
B E H F [2]
J U T D [5]
U Y P P [6]

[2 3 6 7]
A B D E [2]
B E G F [3]
J S D D [6]
U Y P P [7]

[3 4 7 8]
A B D E [3]
B E G F [4]
J S D D [7]
U Y P P [8]


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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Multiple Excel versions. Naveen Mukkelli Excel Discussion (Misc queries) 0 May 16th 06 12:55 AM
Where to find complex matrix math add-ins for Excel 2003? frustrated Excel Worksheet Functions 1 April 28th 06 11:37 PM
How can i build up a Matrix in EXCEl ? Mischa Sollberger Excel Worksheet Functions 1 March 20th 06 12:28 AM
How do I print a file holder label from Excel to a dox matrix pri. Al_R Excel Discussion (Misc queries) 0 January 5th 05 10:05 PM


All times are GMT +1. The time now is 01:20 PM.

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"