Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

This is fairly easy. The median is the middle number. Say your numbers are A, B, and C.

Median (calculation, number) =

Case(

(A = 0) + (B = 0) + (C = 0) > 1, "Error",

A = 0, (B + C)/2,

B = 0, (A + C)/2,

C = 0, (A + :/2,

A >= B and A<= C, A,

A <= B and A>= C, A,

B >= A and B<= C, B,

B <= A and B>= C, B,

C >= B and C<= A, C,

C <= B and C>= A, C,

"")

-bd

  • Newbies
Posted

Is there a simple way to find the median? The filemaker online resource has some formulas but I find them difficult to understand.

My project involves four fields, three being numbers entered by the user and the fourth a calculation field. The calculation field must check each field to look for a zero value, if there is a zero, then the average of the two fields is calculated - this I have working using "IF" functions. If three legitimate numbers are entered then how do I find the median? Can this be done with a plug-in? Or do I need to do a combination of formulas? Any help I can get would be greatly appreciated.

  • Newbies
Posted

Thanks for your help. It does look fairly easy, now that I see it in black and white and it works perfectly. Thanks again.

This topic is 8557 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.