SumIf Function

aandress

New member
Local time
Today, 22:35
Joined
Mar 11, 2002
Messages
5
Is it possible to use a SumIf Function in a controlsource in a form?

If so... what is wrong with this code:

=SUMIF("AccumulatedValue","'Managed' = Yes")

I want to add the values in the accumulated value field if the Yes/No box is clicked yes.

Or... any other way to get the value of just the accumulated value cells that are managed (managed field = yes).

Thank you!
 
Sum(Iif([Managed] = Yes,[AccumulatedValue],0))

[This message has been edited by Rich (edited 03-12-2002).]
 
Thank you SO much. Worked perfectly!
 

Users who are viewing this thread

Back
Top Bottom