O
Otto Moehrbach
I thought this was rather simple until I tried to do it. What I want to do
is write an If formula that if True, use this SumProduct formula, if false
use that SumProduct formula.
I wrote this:
=If(E15="DOLLAR",SumProduct(A1:A5,B1:B5),SumProduct(A1:A5,B1:B5,C1:C5))
I think my problem is that the If formula uses the comma as a logical
separator and the SumProduct formulas have commas also and this upsets the
If formula.
I tried putting a single quote (apostrophe) around the SumProduct formulas
to no avail.
What am I doing wrong? And how do I do it right? Thanks for your help.
Otto
is write an If formula that if True, use this SumProduct formula, if false
use that SumProduct formula.
I wrote this:
=If(E15="DOLLAR",SumProduct(A1:A5,B1:B5),SumProduct(A1:A5,B1:B5,C1:C5))
I think my problem is that the If formula uses the comma as a logical
separator and the SumProduct formulas have commas also and this upsets the
If formula.
I tried putting a single quote (apostrophe) around the SumProduct formulas
to no avail.
What am I doing wrong? And how do I do it right? Thanks for your help.
Otto