Jump to content

# Which field type I need?

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

## Recommended Posts

I have a calculation field (dif) in this field some results to be in negative an anothers in positive.

How can I count all the positive number and all the negative numbers??

##### Share on other sites

Create a summary calculation field and set to count.

##### Share on other sites

You could do this (although it involves using 2 more fields)

Create one calculation fields.

calc Field 1 =If(Fieldwithnumbers > 0, "1", "")

The sum of this field will be equal to the number of those with values greater than zero

The difference between a record count on the found set and this total will be the negative numbers.

second calc field would be

calc field two = status (currentfoundcount) - sum(calcfield 1)

This would be all records not over 0

Alternatively, you could do a second field the same as the first one

calc field two =IF(fieldwithnumbers < 0, "1","")

a sum of this field will give you the number of records less than zero.

Use the second method if some of your records contain no values at all and you don't want them counted as negative.

Kevin

##### Share on other sites

Thanks Kevin for your help,

It's working

God Bless you

##### Share on other sites

The Sign() function does this in one step.

##### Share on other sites

I need for separate, if i use a summary with count, this field count all (positive & negative) I need cout all the positive in some field and all the negative in another.

Anyway Thanks for your help.

##### Share on other sites

This topic is 8572 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
• ### Similar Content

• #### Filemaker 6 for Mac issue.

By Tumma K,

• (and 4 more)

Tagged with:

• 8 replies
• 4,444 views
• #### FM3 upgrade to FM Pro 5.5 - Windows 8 installation possible?

By MrEddByrnes,

• (and 4 more)

Tagged with:

• 1 reply
• 5,237 views
• #### Moving data from fp5 to fp13

By bmill,

• (and 4 more)

Tagged with:

• 2 replies
• 3,475 views
• #### Filemaker 5.5 database will not delete records on-line

By randyinla,

• (and 4 more)

Tagged with:

• 1 reply
• 3,091 views
• #### Are there still hosting providers for filemaker 5.5?

By randyinla,

• (and 4 more)

Tagged with:

• 2 replies
• 2,726 views
×
×
• Create New...

## Important Information

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