Can you confirm a couple of things?I am trying to calculate Slope and Intercept that should exclude Top and Bottom Values from Ys and Xs.
Can you confirm a couple of things?
1. That you're plotting the right values on the right axes. The picture below (trend line equation) confirms your calculations based on Revenue Growth being plotted on the bottom (x) axis - is that as you expect?
2. 'Exclude Top and Bottom Values from Ys and Xs'. So what rows should be excluded? In the picture I've highlighted the top and bottom values of both columns being plotted; shoud I be excluding 3 rows? Or 2 rows? If 2, which 2?
View attachment 65257
=SLOPE(IF(($C$4:$C$13<>MAX($C$4:$C$13))*($C$4:$C$13<>MIN($C$4:$C$13))*(D4:D13<>MAX(D4:D13))*(D4:D13<>MIN(D4:D13)),$C$4:$C$13),IF(($C$4:$C$13<>MAX($C$4:$C$13))*($C$4:$C$13<>MIN($C$4:$C$13))*(D4:D13<>MAX(D4:D13))*(D4:D13<>MIN(D4:D13)),D4:D13))