Jump to content
Server Maintenance This Week. ×

Calculate ONLY when field has a value


This topic is 7123 days old. Please don't post here. Open a new topic instead.

Recommended Posts

In the attached file there is an example of what i trying to achieve.

I am sure it has a simple answer too.

But to date cannot solve it.

I have a series of fields (non-rep) that display a running total.

Each field has an adjacent field that i want to display a break down of each seperate length of the total length.

Each adjacent field i have set it to a simple calc to subtract the previous field result from the current field result, thus giving a break up of that separate length.

The problem arises when i don't need all the fields and some of the remaining fields are left empty, the adjacent field will display the running total as a MINUS (eg -135)

I has selected the storage ioption to ONLY calc if fields are not empty, but i still get the last adjacent field/s displaying a MINUS result, instead of NO result at all.

Can anyone assist me with this, i am sure it is simple to solve, somehow blush.gif

corey....

Test.zip

Link to comment
Share on other sites

I've only had time to take a quick look, but try playing with something like this:

If(size f, size f - size e, "")

This will leave size f and size f actual blank.

But if you need the running total to continue for more fields, you might wish to carry size e actual forward as this:

If(not size f, size e actual, size f - size e)

Link to comment
Share on other sites

This topic is 7123 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.