Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Edu Edu is offline
external usenet poster
 
Posts: 7
Default How to find a third true-false relationship between three groups ofvariables knowing two

Hi guys,

Here's a question that while straightforward I am stuck with in terms
of carrying it out in Excel:

I have three groups of values - say Letters (A, B, C), Numbers
(1,2,3,4) and Variables (x,y,z). I have two true-false relationships
between two pairs - say Letters-Numbers and Letters-Variables and I
would like to know the remaining relationship i.e. Variables-Numbers.

- Say Letters-Numbers is thus (where the value of a cell can either be
1-true or 0-false):

1 2 3 4
A 1 0 0 1
B 0 0 0 1
C 0 1 1 0

- And Letters-Variables is thus:

x y z
A 0 1 0
B 1 0 0
C 0 0 1

- I am trying to find the combination Variables-Numbers thus (Where
the logic is: If "1" in "A" is TRUE and "A" in "y" is TRUE then "y" in
"1" is TRUE):

1 2 3 4
x 0 0 0 1
y 1 0 0 1
z 0 1 1 0

Any help on this one would be very, very appreciated!

Cheers,
Edu
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default How to find a third true-false relationship between three groups of variables knowing two

If your first array is in $B$2:$E$4 (with row and column headers to the left
and above, though they're not used),
and your second array is in $B$8:$D$10 (again with row & column headers to
the left and above)

Try
=INDEX($B$2:$E$4,MATCH(1,OFFSET($B$8,0,MATCH($A14, $B$7:$D$7,0)-1,3,1),0),COLUMNS($B$14:B14))
in B14 and copy to the right and down.
--
David Biddulph

"Edu" wrote in message
...
Hi guys,

Here's a question that while straightforward I am stuck with in terms
of carrying it out in Excel:

I have three groups of values - say Letters (A, B, C), Numbers
(1,2,3,4) and Variables (x,y,z). I have two true-false relationships
between two pairs - say Letters-Numbers and Letters-Variables and I
would like to know the remaining relationship i.e. Variables-Numbers.

- Say Letters-Numbers is thus (where the value of a cell can either be
1-true or 0-false):

1 2 3 4
A 1 0 0 1
B 0 0 0 1
C 0 1 1 0

- And Letters-Variables is thus:

x y z
A 0 1 0
B 1 0 0
C 0 0 1

- I am trying to find the combination Variables-Numbers thus (Where
the logic is: If "1" in "A" is TRUE and "A" in "y" is TRUE then "y" in
"1" is TRUE):

1 2 3 4
x 0 0 0 1
y 1 0 0 1
z 0 1 1 0

Any help on this one would be very, very appreciated!

Cheers,
Edu



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default How to find a third true-false relationship between three groups of variables knowing two

On Tue, 22 Jan 2008 08:06:46 -0800 (PST), Edu wrote:

Hi guys,

Here's a question that while straightforward I am stuck with in terms
of carrying it out in Excel:

I have three groups of values - say Letters (A, B, C), Numbers
(1,2,3,4) and Variables (x,y,z). I have two true-false relationships
between two pairs - say Letters-Numbers and Letters-Variables and I
would like to know the remaining relationship i.e. Variables-Numbers.

- Say Letters-Numbers is thus (where the value of a cell can either be
1-true or 0-false):

1 2 3 4
A 1 0 0 1
B 0 0 0 1
C 0 1 1 0

- And Letters-Variables is thus:

x y z
A 0 1 0
B 1 0 0
C 0 0 1

- I am trying to find the combination Variables-Numbers thus (Where
the logic is: If "1" in "A" is TRUE and "A" in "y" is TRUE then "y" in
"1" is TRUE):

1 2 3 4
x 0 0 0 1
y 1 0 0 1
z 0 1 1 0

Any help on this one would be very, very appreciated!

Cheers,
Edu


=MMULT(Ltrs_Vars,Ltrs_Nums)

entered as an array-formula in a 3x4 array


--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default How to find a third true-false relationship between three groups of variables knowing two

Ah, yes. Much simpler than my formula.
--
David Biddulph

"Ron Rosenfeld" wrote in message
...
On Tue, 22 Jan 2008 08:06:46 -0800 (PST), Edu
wrote:

Hi guys,

Here's a question that while straightforward I am stuck with in terms
of carrying it out in Excel:

I have three groups of values - say Letters (A, B, C), Numbers
(1,2,3,4) and Variables (x,y,z). I have two true-false relationships
between two pairs - say Letters-Numbers and Letters-Variables and I
would like to know the remaining relationship i.e. Variables-Numbers.

- Say Letters-Numbers is thus (where the value of a cell can either be
1-true or 0-false):

1 2 3 4
A 1 0 0 1
B 0 0 0 1
C 0 1 1 0

- And Letters-Variables is thus:

x y z
A 0 1 0
B 1 0 0
C 0 0 1

- I am trying to find the combination Variables-Numbers thus (Where
the logic is: If "1" in "A" is TRUE and "A" in "y" is TRUE then "y" in
"1" is TRUE):

1 2 3 4
x 0 0 0 1
y 1 0 0 1
z 0 1 1 0

Any help on this one would be very, very appreciated!

Cheers,
Edu


=MMULT(Ltrs_Vars,Ltrs_Nums)

entered as an array-formula in a 3x4 array


--ron



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Edu Edu is offline
external usenet poster
 
Posts: 7
Default How to find a third true-false relationship between three groupsof variables knowing two

Beautifully simple answer. Thanks guys.


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default How to find a third true-false relationship between three groups of variables knowing two

On Tue, 22 Jan 2008 13:24:34 -0800 (PST), Edu wrote:

Beautifully simple answer. Thanks guys.


You're welcome. Thanks for the feedback.
--ron
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
Search for 2 true arguments and return true or false David Excel Discussion (Misc queries) 3 July 15th 06 10:18 AM
Function to return True/False if all are validated as True by ISNU Tetsuya Oguma Excel Worksheet Functions 2 March 15th 06 10:28 AM
Reverse false and combine with true true value Emmie99 Excel Worksheet Functions 5 August 17th 05 04:38 PM
need to find a max count without knowing what I'm counting (list of names) KR Excel Worksheet Functions 2 July 25th 05 11:31 PM
VB find (true false) Wildman Excel Worksheet Functions 6 May 6th 05 11:28 AM


All times are GMT +1. The time now is 04:27 AM.

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"