• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microsoft Excel Tips and Tricks - Computergaga

  • Home
  • Excel Online Courses
  • Excel Functions List
  • Free Downloads
  • Blog
  • Tutorials
  • About
Home / Formulas / Troubleshooting Formulas in Excel

Troubleshooting Formulas in Excel

Written by Mynda Treacy of My Online Training Hub.

Writing formulas can have you tearing your hair out, especially when you start nesting them. Here are 4 tips to help you troubleshoot formulas when things go wrong.

1. Function Wizard

Some think the Function Wizard is for beginners but seriously, who can remember what the cryptic syntax is for every function.

So, when you get stuck, simply click on the Function Wizard button to the left of the formula bar to jump in, even when you’re in the middle of writing a formula.

It’ll take you from here:

Opening the Function Wizard from an Excel formula

To here:

Function arguments window with helpful information

Now you have some helpful information about the function and meaning of each argument.

2. Syntax tool

The syntax tool pops up as soon as you start to enter your formula.

Move It

You can move it out of the way by hovering your mouse on the very edge of the tool tip until you get the 4 headed arrow and then drag it into place:

Dragging the Syntax tool

Navigate Your Formula

You can also use the syntax tool to jump to a section of your formula.

Hover your mouse over the argument you want to select and when it turns blue with an underline click on it to go to that section of your formula:

Navigating a formula with the syntax tool

See how the value_if_true argument in the formula above is highlighted to show it is selected.

3. F9 is Your Friend – Evaluate Part of a Formula

When working with complex nested formulas you’ll often run into problems and it can be difficult to narrow down the cause.

The F9 key allows you to evaluate parts of your formula in isolation.

For example if I wanted to evaluate the logical_test, which is the AND function nested in my formula, I can select it using the syntax tool link:

Selecting part of a formula

Then press the F9 key to evaluate just that part:

Evaluating part of an Excel formula

And we can see it evaluates to FALSE.

You can continue selecting different parts of the formula to evaluate them one by one.

Pressing CTRL+Z will reverse the effect of the last F9 pressed. Or if you have already entered the formula pressing the Escape key will exit out of edit mode and put the formula back as it was.

4. Evaluate Formula Tool

The evaluate formula tool is similar to the F9 key however you cannot choose which part of the formula you want to evaluate, it will evaluate in order, which is great if you’re trying to understand how a formula works.

You’ll find it on the Formulas tab in the Formula Auditing Group:

Evaluate Formula tool to troubleshoot formulas in Excel

To use it simply select the cell containing your formula and click the Evaluate Formula button which opens the dialog box:

Evaluate formula in Excel

This will evaluate the formula in order. Each click of the button evaluates the next section of the formula and so on.
You can also Step In and Step Out of different sections of the formula for more information on the source of different components.

About the author: Mynda Treacy is co-founder of My Online Training Hub, author of their comprehensive Excel Formulas library, and popular Excel Blog.

Mynda Treacy from MyOnlineTrainingHub

Related Posts:

  • SWITCH function feature
    Excel SWITCH Function - Nested IF Function Alternative
  • Copy a formula down in Excel
    How to Copy a Formula Down in Excel
  • Custom sort in Excel
    Custom Sort in Excel
  • IMAGE function in Excel
    Excel IMAGE Function - Insert Images from a Cell Value

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • Excel SWITCH Function – Nested IF Function Alternative
  • Sum Formulas Only in Excel
  • How to Calculate Age in Excel
  • Custom Sort in Excel
  • Case Sensitive Lookup with XLOOKUP in Excel
Advanced Excel Success book

Footer

Contact

[email protected]

LinkedIn Twitter YouTube

Useful Links

  • Home
  • Excel Online Courses
  • Tutorials
  • Sitemap
  • Privacy Policy
  • Jobs by Jooble

Course Topics

  • Blog
  • Charts
  • Courses
  • Dashboards
  • Downloads
  • Excel Tips
  • Formulas
  • Mail Merge
  • Office
  • PivotTables
  • Power BI
  • Power Pivot
  • Power Query
  • VBA

Join Our Mailing List

© Copyright 2009 Computergaga · All Rights Reserved ·