+ Reply to Thread
Results 1 to 5 of 5

Logical Operator Syntax

Hybrid View

  1. #1
    Registered User
    Join Date
    06-07-2011
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    11

    Logical Operator Syntax

    what would the syntax be for the following statement concerning Logical Operators
    D= True
    IF
    NOT "A" AND, NOT "B OR "C" = True
    Thanks in advance for the help

    Perplexed...

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Logical Operator Syntax

    That's ambiguous. It could mean =and(not(A1), B1<>C1))
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    06-07-2011
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Logical Operator Syntax

    it is a boolean equation that all three inputs are <> but the two of the inputs are on an OR gate before the AND, and the final output is <>

    Thanks

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Logical Operator Syntax

    but the two of the inputs are on an OR gate before the AND, and the final output is <>
    You mean B and C into a NOR gate, and that output and A into an NAND gate?

    =AND(NOT(A1), OR(B1, C1))
    Last edited by shg; 06-07-2011 at 07:33 PM. Reason: correction

  5. #5
    Registered User
    Join Date
    06-07-2011
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Logical Operator Syntax

    Thanks for the reply and your assesemnt is correct.
    I have a bunch of boolean equations that I have to make truth tables for, some with as many as nine inputs to one output all with unique gate logic (AND OR NOT < ,> etc.) for each drawing.

    I can generate the truth tables with VBA but I want to write one equation that will represent the logic I am solving for in the first cell and then drag the cell to solve for all of the remaining truths. I am not an Excel wiz and am struggling with the nested operator format , I have over a hundred pages of logic to solve for and I am looking for the best way to do it. After beating my head against the wall this it the best tool I can come up with? I am open to suggestions as well

    Thanks again for your input, Blues

+ 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