Hello, I had done a lab on fluid dynamics and had taken measurement error in both the dependent and independent variables.

Having done a linear regression, I was told to determine the friction factor which is the slope of the linear regression.

Is there a way in excel to determine the error in slope? I had googled for a long time but the only I can find is standard deviation in slope which does not account for measurement errors.

Thank you