Formula

G

Guest

I am having problems with a formula - I did not write it originally and am
not very skilled at formula's either. Does something appear to be missing?

=IIf([blocktotal]=0,[Sum Of SumOf# of Contracts1],([Sum Of SumOf# of
Contracts1]-[blocktotal])+[NF Blocks]![actual])

-
-
Bonni
 
G

Guest

Crude explanation:

If [blocktotal] equals zero then return the value in the textbox [Sum Of
SumOf# of Contracts1]
Otherwise return the value [Sum Of SumOf# of Contracts1]-[blocktotal]+[NF
Blocks]![actual]

Is there a textbox called [actual] in a subform called [NF Books]?

There is a syntax error though, I think it should be:
=IIf([blocktotal]=0,[Sum Of SumOf# of Contracts1],[Sum Of SumOf# of
Contracts1]-[blocktotal]+[NF Blocks]![actual])

Ray
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

How can I use a text string as a query parameter? 2
writing formula for Access 5
sum of all numbers 6
SUM / COUNT formula 3
Dividing with 0 3
Excel Formula for Eclipsing Circles 0
Access Query problem 1
Text Field Access 2003 2

Top