sumif null is counting all records (1 Viewer)

Djblois

Registered User.
Local time
Today, 01:54
Joined
Jan 26, 2009
Messages
598
I am using a sum(if()) to count all the records in a subform that are null and it is couting all the records? What am I doing wrong?

Here is the formula I am using:

=Count(IIf([ReturnTime] Is Null,1,0))

and I tried

=Count(IIF(IsNull([ReturnTime],1,0))

and

=Count(IIf(IsEmpty([ReturnTime]),1,0))
 

Djblois

Registered User.
Local time
Today, 01:54
Joined
Jan 26, 2009
Messages
598
I figured it out if anyone is looking for this


=Sum(IIF(IsNull([ReturnTime],1,0))
 

Users who are viewing this thread

Top Bottom