Hi, I am wanting to calculate SLOPE on a data set where a common factor is present.

Eg. There are a number of employees, each with multiple clients. I have a list of all employees and want to calculate slope on the X & Y of just their clients.

I know there is an easy way to do this but i just cant work it out. Can anyone help?

Cheers,