I've been looking for software like this for a long time - it's perfect. A job well done.

I would like to ask about the formula that looks for values in the graph if the difference between X and Y is greater than Z.

## Difference between X and Y is greater than Z - formula.

### Re: Difference between X and Y is greater than Z - formula.

Thank you for your kind words, glad you find it useful! The boolean expression for that would be simply

Best regards,

Gustaf

**X - Y > Z**, or as a formula,**b = X - Y > Z**, which would give you a boolean variable**b**that's 1 for samples fulfilling the condition and 0 otherwise. Hope that helps!Best regards,

Gustaf

### Re: Difference between X and Y is greater than Z - formula.

An addition to my response: If you mean the absolute difference, use the

**abs**function:**b = abs(X - Y) > Z**.### Re: Difference between X and Y is greater than Z - formula.

Thank you very much.