Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Beautifully simple answer. Thanks guys.
|
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Search for 2 true arguments and return true or false | Excel Discussion (Misc queries) | |||
Function to return True/False if all are validated as True by ISNU | Excel Worksheet Functions | |||
Reverse false and combine with true true value | Excel Worksheet Functions | |||
need to find a max count without knowing what I'm counting (list of names) | Excel Worksheet Functions | |||
VB find (true false) | Excel Worksheet Functions |