R
Ron V
Hi gang,
I am stuck on this issue of trying to get this formula in
a report to function properly.
This is the original formula:
=IIf(Nz([Demeanor]) Is Not Null,Count([Demeanor])*2)
It looks at the values in each Demeanor field to determine
if it is empty or not. If it's not empty then it will
count the # of records where there is a value in the
Demeanor field and multiply it by 2 to give a total
possible point value that could have been achieved.
Now what I need to do is to seperate those records
according to the field [MonitorTypeID], and just do a
count on the possible points of those records where if the
field [MonitorTypeID]=2.
I would somehow need to incorporate this partial formula:
IIf([MonitorTypeID]=2,Count[Demeanor],0))
into the formula above but I've tried & failed. I can't
seem to get the proper sequence so that it just counts and
doubles only those records where [MonitorTypeID]=2.
A point to note here is that the Nz function is an
important part of the formula.
Any ideas? Thanks in advance for the help.
Ron
I am stuck on this issue of trying to get this formula in
a report to function properly.
This is the original formula:
=IIf(Nz([Demeanor]) Is Not Null,Count([Demeanor])*2)
It looks at the values in each Demeanor field to determine
if it is empty or not. If it's not empty then it will
count the # of records where there is a value in the
Demeanor field and multiply it by 2 to give a total
possible point value that could have been achieved.
Now what I need to do is to seperate those records
according to the field [MonitorTypeID], and just do a
count on the possible points of those records where if the
field [MonitorTypeID]=2.
I would somehow need to incorporate this partial formula:
IIf([MonitorTypeID]=2,Count[Demeanor],0))
into the formula above but I've tried & failed. I can't
seem to get the proper sequence so that it just counts and
doubles only those records where [MonitorTypeID]=2.
A point to note here is that the Nz function is an
important part of the formula.
Any ideas? Thanks in advance for the help.
Ron