Jump to content
Sign in to follow this  
pbucc

the count of 2 fields

Recommended Posts

hi there,

i am having a problem trying to get the count of 2 fields.

field1 is a number like: 76

field2 is a number like: 150

both of these fields will be multiple of 51 to 175 or 1026 to 2000. field1 will always be the lower number.

as with the example above the answer is 75 (actually 74 but i need to work in 25's... 1 to 25, 26 to 50, 51 to 75... and so on)

this is for a color code solution for phone cables... and the pairs run in groups of 25.

any help would be great.

thanks

Share this post


Link to post
Share on other sites

do you always have to round up? or do you round to the nearest 25?

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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