Sum Produces Negative Number - I Want Positive

statsman

Active member
Local time
Today, 12:39
Joined
Aug 22, 2004
Messages
2,082
What is the format to change the negative to a positive when:

=Sum([Field]="Novice")

Text box in report
 
Sum

Try this if 'Novice' is the name of the field.

=Sum([Novice])
 
Sorry for not being clear
"Novice" is the condition I want to sum for
-how many records in the specific Field contain the text NOVICE?

Everything works fine except the returned sum is a negative number. There is a formula you can put into the format to return a positive number. I've just forgotten it.

Thanks
 
Sum

OK, try this:

=Sum(IIf([Field]="Novice",1,0))
 
statsman said:
"Novice" is the condition I want to sum for
-how many records in the specific Field contain the text NOVICE?

You're using the wrong function.
Use Count.
Add a WHERE clause to count only on your column having value NOVICE.

RV
 

Users who are viewing this thread

Back
Top Bottom