Search code examples
excelexcel-formulaexcel-2007

Using Excel DSUM with logical OR


I have the following DB and problem:

enter image description here

But I need

"Either A=1 OR c=1"  => **should yield 26**     

How can I achive it?


Solution

  • You need to put your criteria on 2 separate rows for logical OR in database formulas like DSUM.

    enter image description here