HomeGoogle DocsSpreadsheetHow to Use Goal Seek in Google Sheets for What-If Analysis

How to Use Goal Seek in Google Sheets for What-If Analysis

Published on

Goal Seek is part of the Data menu what-if analysis tools in Excel. But you won’t find the Goal Seek in Google Sheets under any menu items. Because it’s only available as an official Google Sheets add-on. Install the add-on to use it as a menu item in Docs Sheets.

I will give you the link to install the official (yes, it’s from Google) Goal Seek add-on in Google Sheets. Before that let me introduce, for those who are unfamiliar with it, the purpose of Goal Seek in Google Sheets.

Purpose:

Use Goal Seek to tune/get the result you need from a formula by finding the missing value or modifying the existing value.

In certain cases, we know the result that we want from a formula like the total invoice value (in case you set a target to invoice) but don’t know how to get that required value by changing the quantity or rate.

For example, let’s consider the below-unformatted invoice.

ABCD
1Description of GoodsQty (MT) Unit Price Amount (USD)
2Dolomite in Bulk, Size 40-80 mm3005012$360,600.00
3Dolomite in Bulk, Size 0-6 mm75009$67,500.00
4Dispatch Earned$7,000.00
5Gross Amount$435,100.00

In this invoice, I want to reduce the Gross Amount to the tune of $430,000.00 (in cell D5) by changing the quantity (in cell B2) of the item ‘Dolomite in Bulk, Size 40-80 mm’.

You can easily do that using the Goal Seek in Google Sheets. It’s similar to the Goal Seek under the What-If Analysis in Excel but maybe a little slow if you go for performance comparison.

How to Get Excel Similar Goal Seek in Google Sheets

I have already made it clear that to get the Goal Seek, you need to install an official Google add-on for Sheets.

You can install the Goal Seek plugin two ways in Google Sheets.

  1. Within your Sheet, go to the menu ‘Add-ons’ and click ‘Get add-ons’. In the opening window, you can search the term ‘Goal Seek’ in the search field to find the add-on.
  2. From G Suite Marketplace. Link here.

Marketplace Add-on Installation

Here is the step by step instructions to install the Goal Seek add-on in Sheets. I am installing the plugin from withing Google Sheets (option 1 above).

Steps:

  1. Go to the menu ‘Add-ons’ in Google Sheets.
  2. Click on ‘Get add-ons’.
  3. On the window (G Suite Marketplace) that opens, search ‘Goal Seek’.
  4. Click on the correct plugin and follow the simple onscreen instructions to install it.
How to Use Goal Seek in Google Sheets

Goal Seek Official Sheets Add-on Settings and Usage Tips

Once installed any add-on in Sheets, it resides as a menu item under the ‘Add-ons’ menu. The same happens here also.

To open the Goal Seek window, first, go to the menu Add-ons > Document add-ons. Click on the “Use” button.

Note: In my case, the above action didn’t complete 🙁 I restarted my Sheets and simply followed the below steps.

Then go to Add-on > Goal Seek > open the Goal Seek window (actually a sidebar panel) in Google Sheets.

Goal Seek Settings Panel in Docs Sheets

Experimenting with Sample Data

See the table given a few paras above. I am using that data for my Goal Seek experiment in Sheets.

As I’ve mentioned earlier I want to change the value in cell D5 from $435,100.00 to $430,000.00 using Goal Seek. Here are the required settings.

Set Cell

Click on cell D5 and under Goal Seek settings either type cell D5 against “Set Cell” or click on the “Select capture cell button” (the small square box) to automatically capture the cell reference (you can refer to the screenshot given at the end part of this post).

To Value

Then under “To Value” type the value of $430,000.00 without currency sign and thousand separators.

By Changing Cell

This is the most important part. It means by changing which cell, you want to change the D5 value to your required output. I am referring to cell B2.

Here you should take care of one thing. The cell D5 must dependent on cell B2. That means if you manually change the value in cell B2, it should affect the formula output in cell D5.

Click the “Solve” button. Google Sheets will do the required calculation and change the value in both the cells B2 and D5.

Upon completion “Goal Seek” will notify you that the required Goal Seek is completed.

What-If Analysis in Sheets

Don’t forget to scroll down to the bottom of the Goal Seek panel to see the “Solve Status”. You will see all the input values and other pieces of information like Goal Seek start time, running time, etc.

I hope you will like this useful Google Sheets add-on.

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Get the First or Last Row/Column in a New Google Sheets Table

If you've recently started using the new Google Sheets TABLE functionality, you may find...

UNIQUE Function in Visible Rows in Google Sheets

The UNIQUE function doesn't inherently include only visible rows when it returns values, discarding...

Customizing Alternating Colors of a Table in Google Sheets

Google Sheets' new table feature offers limited options for customizing colors. While you can...

Structured Table References in Formulas in Google Sheets

When you create a Google Sheets table by inserting custom tables or converting a...

More like this

Get the First or Last Row/Column in a New Google Sheets Table

If you've recently started using the new Google Sheets TABLE functionality, you may find...

UNIQUE Function in Visible Rows in Google Sheets

The UNIQUE function doesn't inherently include only visible rows when it returns values, discarding...

Customizing Alternating Colors of a Table in Google Sheets

Google Sheets' new table feature offers limited options for customizing colors. While you can...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.