In this lesson you can learn how to use **Goal Seek** tool in Excel. This is excellent way to find whole data when you know the result and you know how to calculate it.

Goal Seek lets you to find the right value for the expected result. Result is based on the formula from one of the cells in a worksheet. To seek the goal you need a data (as in the example below).

In the example you know price and budget. You want to check, how many pieces you can buy. In this example price is $230 and your budget is $1 000 000. How many pieces you can afford? Select the cell with the formula (that calculates the result) to be set by Excel for the expected value. In the above example it is a cell with your budget.

Go to **Data** tab in the **Ribbon** and select **What-If Analysis** button. Nex click **Goal Seek** from the list.

Excel marked cell which the result is set as a result of the planned analysis. In this example this is a value of $1,000,000. In the Value field, enter the planned value of 1000000. As By changing cell field you should choose cell with count of pieces. In this example it is C3 cell.

After clicking OK new dialog box appears. It is status of Goal Seek. Excel asks you if everything is ok. If not click **Cancel** and nothing will change in your table. In this example the result is correct so click OK.

The result is 4 347 pieces. That how many pieces you can afford.

As you see Goal Seek is very easy way to calculate results. Try to learn for your own with more difficult examples.

Further reading: Basic concepts What-If Analysis Chart with a goal line