Brian Dunning's FileMaker Custom Functions

Slope ( x1 , y1 , x2 , y2 )

Calculates the slope of a line on a plot (use with yIntercept)

  Average rating: 4.5 (33 votes) Log in to vote

Rob Poelking   Rob Poelking - Show more from this author
Excelisys, Inc.
http://excelisys.com

Share on Facebook Share on Twitter

  Sample input:
Slope ( 1 , 1 , 3 , 4 )
  Sample output:
2/3 or 1.6666...

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Basic Cartesian coordinate system of calculating the slope of a line or the "m" in y=mx+b. Given any 2 points on a graph, determines the slope (rise/run). Use with the function yIntercept.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: