Spread for WPF provides a Goal Seek feature that helps you to find the input values needed to achieve a specific result in your formulas. This is particularly useful when you're unsure about the data values required for a desired formula output. You can determine the input value needed to reach your target result by using the GoalSeek method of the IRange interface.
The following image illustrates the maximum loan principal a person can afford based on the given interest rate, loan term, and monthly payment. The adjusted loan amount is $186,282, which is the maximum loan the person can afford with a $1,000 monthly payment.
Refer to the following example code to configure the GoalSeek method to determine the loan amount that results in a monthly payment of $1000.