+ Reply to Thread
Results 1 to 64 of 64

Logic Tree, MS help = useless

  1. #1
    Registered User
    Join Date
    08-22-2005
    Posts
    1

    Logic Tree, MS help = useless

    My setup is this:
    4 columns, with "yes" or "no" in each column, describing a set of objects. I have a logic tree that my boss gave me, with 15 possible integer outputs, corresponding to the yes/no paths each object might take. (For example, a yes-> yes->no-> no path might give the number 10)

    He wants me to automate the logic tree traversal, so if one of the yes/no values is changed, the output value changes automatically, w/o having to look up the logic tree... is there any way i can program in the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and A5= yes, output the number 3)? I tried using the IF/AND/OR operators, but excel doesnt let you nest that many.

    Any help that anyone gives would be more than appreciated, i'm relatively inexperienced with Excel.

  2. #2
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  3. #3
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  4. #4
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  5. #5
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  6. #6
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  7. #7
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  8. #8
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  9. #9
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  10. #10
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  11. #11
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  12. #12
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  13. #13
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  14. #14
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  15. #15
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  16. #16
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  17. #17
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  18. #18
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  19. #19
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  20. #20
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  21. #21
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  22. #22
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  23. #23
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  24. #24
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  25. #25
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  26. #26
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  27. #27
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  28. #28
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  29. #29
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  30. #30
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  31. #31
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  32. #32
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  33. #33
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  34. #34
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  35. #35
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  36. #36
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  37. #37
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  38. #38
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  39. #39
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  40. #40
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  41. #41
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  42. #42
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  43. #43
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  44. #44
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  45. #45
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  46. #46
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  47. #47
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  48. #48
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  49. #49
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  50. #50
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  51. #51
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  52. #52
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  53. #53
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  54. #54
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  55. #55
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  56. #56
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  57. #57
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  58. #58
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  59. #59
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


  60. #60
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  61. #61
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  62. #62
    Harlan Grove
    Guest

    Re: Logic Tree, MS help = useless

    roffler wrote...
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)

    ....

    With 4 cells containing Y/N, there are 16 (2^4), not 15, possible
    combinations.

    If your entry cells were B2:E2, you could use something as simple as

    =LOOKUP(SUMPRODUCT(--(B2:E2="Yes"),2^{3,2,1,0}),ROW(INDIRECT("1:16"))-1,
    <YourBoss'sMappingHere>)

    SUMPRODUCT call returns values as follows.

    B C D E SUMPRODUCT
    N N N N 0
    N N N Y 1
    N N Y N 2
    N N Y Y 3
    N Y N N 4
    N Y N Y 5
    N Y Y N 6
    N Y Y Y 7
    Y N N N 8
    Y N N Y 9
    Y N Y N 10
    Y N Y Y 11
    Y Y N N 12
    Y Y N Y 13
    Y Y Y N 14
    Y Y Y Y 15

    Map these to your boss's desired results.


  63. #63
    Ron Rosenfeld
    Guest

    Re: Logic Tree, MS help = useless

    On Mon, 22 Aug 2005 13:42:17 -0500, roffler
    <roffler.1u6jfv_1124738142.5375@excelforum-nospam.com> wrote:

    >
    >My setup is this:
    >4 columns, with "yes" or "no" in each column, describing a set of
    >objects. I have a logic tree that my boss gave me, with 15 possible
    >integer outputs, corresponding to the yes/no paths each object might
    >take. (For example, a yes-> yes->no-> no path might give the number
    >10)
    >
    >He wants me to automate the logic tree traversal, so if one of the
    >yes/no values is changed, the output value changes automatically, w/o
    >having to look up the logic tree... is there any way i can program in
    >the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    >A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    >but excel doesnt let you nest that many.
    >
    >Any help that anyone gives would be more than appreciated, i'm
    >relatively inexperienced with Excel.


    Well, I don't understand why there are only 15 possible outputs since there are
    16 paths (2^4). Perhaps the output is zero-based and you are not counting the
    zero? i.e. it is really 0 to 15?

    Unless there is some logic to the relation between the integer output and the
    yes/no paths, you'll have to use a lookup table.

    If you have your four yes/no in A1:A4, and you setup a lookup table someplace
    with all the combinations and associated integers, e.g E1:F16

    yesyesyesyes 15
    yesyesyesno 14
    yesyesnoyes 13
    yesyesnono 12
    yesnoyesyes 11
    yesnoyesno 10
    yesnonoyes 9
    yesnonono 8
    noyesyesyes 7
    noyesyesno 6
    noyesnoyes 5
    noyesnono 4
    nonoyesyes 3
    nonoyesno 2
    nononoyes 1
    nononono 0


    And then use a lookup formula:

    =VLOOKUP(CONCATENATE(A1,B1,C1,D1),$E$1:$F$16,2,FALSE)

    If there is some logic to how the numbers are assigned, there might be other
    solutions.

    You will likely need to change my cell references depending on the setup of
    your worksheet.



    --ron

  64. #64
    DaveB
    Guest

    RE: Logic Tree, MS help = useless

    Is there any kind of logic to how the yes/no combinations map to the values?
    For example, does a 'yes' in the first column mean add 3 and a 'no' in the
    first column means add 5? Anything like that?
    --
    Regards,

    Dave


    "roffler" wrote:

    >
    > My setup is this:
    > 4 columns, with "yes" or "no" in each column, describing a set of
    > objects. I have a logic tree that my boss gave me, with 15 possible
    > integer outputs, corresponding to the yes/no paths each object might
    > take. (For example, a yes-> yes->no-> no path might give the number
    > 10)
    >
    > He wants me to automate the logic tree traversal, so if one of the
    > yes/no values is changed, the output value changes automatically, w/o
    > having to look up the logic tree... is there any way i can program in
    > the 15 different conditions (ie if A2=yes, and A3=yes, and A4 = no, and
    > A5= yes, output the number 3)? I tried using the IF/AND/OR operators,
    > but excel doesnt let you nest that many.
    >
    > Any help that anyone gives would be more than appreciated, i'm
    > relatively inexperienced with Excel.
    >
    >
    > --
    > roffler
    > ------------------------------------------------------------------------
    > roffler's Profile: http://www.excelforum.com/member.php...o&userid=26518
    > View this thread: http://www.excelforum.com/showthread...hreadid=397875
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1