Weighted least squares linear regression in excel?
			 
			 
			
		
		
		
		I want to draw a best fitting straight line through a cloud of data points by least squares linear regression, but I want to weigh the error between the straight line and actual data points for more distant points exponentially less heavily than for the most recent point. 
 
As far as I know, excel doesn't have this function built-in, does anyone have any creative ideas on how to overcome this manco? 
 
Thanks a lot! 
		
	
		
		
		
		
		
	
	 |