Excel 2013 - 使用布尔逻辑函数
Excel 2013 - using boolean logical functions
click here for the image of my excel worksheet 单元格 K3 (p=>q) => (p=>~q) 的公式是什么。我的目标是假,真,真,真。但我不知道 excel 上的公式。我试过这个公式 =or(not(OR(NOT(B3);C3);OR(NOT(B3);NOT(C3))) ,但它说“你为此函数输入了太多参数。
注意:
请仅使用 AND、OR、NOT 函数。
p=>q 等同于~pvq
p<=>q 等价于 (p=>q)^(q=>p) 等价于 (~pvq)^(~qvp)
~=否定
=> = 条件 "if-then"
如果 p 存储在 A1 中,q 存储在 A2 中,则 A3 中的公式将是
=NOT(AND(A1,A2))
click here for the image of my excel worksheet 单元格 K3 (p=>q) => (p=>~q) 的公式是什么。我的目标是假,真,真,真。但我不知道 excel 上的公式。我试过这个公式 =or(not(OR(NOT(B3);C3);OR(NOT(B3);NOT(C3))) ,但它说“你为此函数输入了太多参数。
注意:
请仅使用 AND、OR、NOT 函数。
p=>q 等同于~pvq
p<=>q 等价于 (p=>q)^(q=>p) 等价于 (~pvq)^(~qvp)
~=否定
=> = 条件 "if-then"
如果 p 存储在 A1 中,q 存储在 A2 中,则 A3 中的公式将是
=NOT(AND(A1,A2))