New Excel Formula Editor

Mynda Treacy

July 9, 2024

If you've ever wrestled with Excel's formula bar, you know how frustrating it can be.

Limited space, lack of formatting, debugging difficulties, and no real-time error detection can make writing anything beyond basic formulas a tedious task.

However, there's a game-changing solution available: the Advanced Formula Environment (AFE) developed by Microsoft.


Watch the Video

Subscribe YouTube

 

Download Workbook

Enter your email address below to download the sample workbook.

By submitting your email address you agree that we can email you our Excel newsletter.

The Challenge with Excel's Formula Bar

Excel's formula bar becomes especially problematic when dealing with long, nested formulas. These complex formulas are hard to read and understand, increasing the risk of errors.

Excel formula bar challenge

A misplaced parenthesis or incorrect cell reference can disrupt the entire calculation, making debugging a time-consuming process.

misplaced Parenthensis

Without clear visual cues, you might spend hours combing through each element to find mistakes, and Excel's lack of real-time error indicators further complicates things.

Using the Advanced Formula Environment

The Advanced Formula Environment (AFE) is a powerful tool designed to enhance the way you write, debug, and manage formulas in Excel.

Available for Excel 2019 and newer versions, AFE brings modern coding features to Excel, making it easier to handle even the most complex formulas.

Advanced Formula Editor

Key Features of AFE

Enhanced Formula Writing

AFE allows you to write formulas with real-time suggestions and IntelliSense, similar to the formula bar but much more advanced. It helps you quickly find the right functions and defined names as you type.

Key Features

Inline Error Detection

Unlike the traditional formula bar, AFE provides real-time error indicators and suggestions, allowing you to fix issues promptly.

Debugging Pane

The debugging pane shows how each step of your formula evaluates, helping you check your work as you go. Hovering over elements reveals tooltips with data previews and surrounding context, making navigation easier.

Debugging Pane

Working with AFE

Writing Formulas

Select the cell in the worksheet, click in the AFE, and start typing your formula. As you type, the debugging pane below shows evaluations at each step.

Writing Formulas

Note: Press F4 to enable the mouse to select cells in the worksheet, or if your data is in an Excel Table, you can reference it using the table structured references e.g. tableName[columnName]

Editing and Debugging

If needed, you can edit the formula directly in the cell or back in the AFE. For more space, you can turn off the debugging pane by clicking the bug icon in the top right.

Using Defined Names and LAMBDA Functions

Inspect underlying formulas with the play button, which allows you to see and expand elements like the OFFSET function.

Editing and Debugging

Names and Modules Tabs

Names Tab

This tab lists custom LAMBDA functions:

Names Tab

Named Ranges

Named Ranges

Defined Formulas in Your Workbook

Defined Formulas

You can edit, duplicate, and delete them, with automatic synchronization with the original Name Manager interface:

Automatic Synchronization

Modules Tab

Designed for writing collections of related functions, this tab is where you can import gists from GitHub, further expanding your formula capabilities.

Modules Tab

Installing the Advanced Formula Environment

To get started with AFE:

  1. Go to the Home tab, click Add-ins, and search for 'Excel Labs'.
  2. Once installed, find it on the Home tab under 'Excel Labs':

Get Started

  1. The AFE pane opens on the right. Select 'Advanced Formula Environment'. You can left-click and drag the header to undock it and resize it for a better view.

Conclusion

The Advanced Formula Environment transforms how you work with formulas in Excel. Despite being in development with some limitations, its advanced tools and capabilities significantly enhance formula writing, debugging, and management.

And don't miss the other exciting features of Excel Labs, like writing ChatGPT prompts inside a formula to reference data in your spreadsheet.

Embrace the future of Excel with AFE and take your formula skills to the next level!

Elevate Your Excel Skills

To truly master Excel, consider enrolling in my Advanced Excel Formulas course. This course offers hands-on tutorials, practice exercises, and expert tips, supported by workbooks with reference notes. You'll also receive personal support from me, ensuring you can ask questions and get help when needed.

Enrol in the Advanced Excel Formulas course and unlock the full capabilities of Excel!


4 thoughts on “New Excel Formula Editor”

  1. Hello Mynda!

    Thank you for the information. I immediately installed the Add-in after watching your video and reading the article and found a fun and very useful tool.

    I write many functions using VBA and I noticed that AFE does not identify them and shows me the error #ERROR? I suppose this is because the functionality has not yet been written to recognize functions that are not specific to Excel.

    Anyway, I reiterate my gratitude. Reading you always results in the discovery of little hidden gems within Excel.

    Greetings from Venezuela!

    Reply
  2. Hello Mynda,
    The article is interesting, thank you ! One remark from my side: I am using Excel 365, version 2212 (from December 2022), and I do not have Home tab – Add-ins, this does not seem to be correct in your article. The search you mentioned is not equivalent to installation of the add-in. What I did was to access Developer tab – Add-ins group – Add-ins (first button from the left hand side), then STORE – Search box, I did find and install Excel Labs add-in. After installation, this add-in became available/visible in the Home tab. I think your article needs a slight correction. Also, I would suggest to have Installing the Advanced Formula Environment paragraph as the first paragraph of your post, first thing people will love to do is to install the add-in, then to play with its features, using the rest of your article. What do you think ? Thank you once again !

    Reply
    • Thanks for the feedback, Romulus. It’s a fine line between encouraging people to learn that a new feature exists without first putting them off by telling them they have to install something to use it. I was hoping that people would see how great it is and then be more inclined to install it. The table of contents allows you to jump to the relevant section, but I guess not everyone reads the TOC.

      Reply

Leave a Comment

Current ye@r *