Build models & dashboards faster with Watch Window

Share

Facebook
Twitter
LinkedIn

Here is a familiar scenario: You are building a dashboard. Naturally, it has a few worksheets – data, assumptions, calculations and output. As you make changes to input data, you constantly switch to calculations (or output) page to check if the numbers are calculating as desired. This back and forth is slows you down.

Use Watch Window to reduce development time.

What is Watch Window:

Watch Window allows you to monitor values in other worksheets. This is very useful when you are testing your calculations / model. As you make changes to the input values / assumptions, Watch Window instantly reports the output values. See below demo to understand how Watch Window helps you.

watch-window-demo

How to Set up Watches?

Simple. Follow below steps:

 

  1. Go to Formulas ribbon tab and activate Watch Window from Auditing area.

    activate-watch-window

  2. Select the cell(s) you want to add as Watches and click on “Add Watch” button on Watch Window
  3. The Watch Window stays visible until you close it. Edit input values to see the results in Watch Window instantly.

add-watch-vba

Adding Watches for VBA

Of course, Watches are a feature in almost all programming editors. Naturally, VBE also supports Watches. To add a watch to a variable / expression, just select it, right click and add Watch from the context menu.

Once you add a watch, you can monitor the expression / variable values when your code breaks. Alternatively, you can also ask VBE to break the code whenever your watch value changes.

Do you use watches?

Whenever I am developing complex pieces of VBA code or a big workbooks, I rely on watches to cut down the developing / testing time. They are very useful, light weight and simple.

What about you? Do you use watches in Excel? Share your experience in the comments section.

More ways to debug your formulas / VBA code

Check out below tips to learn more about formula / VBA code debugging:

Formulas

VBA Development

Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

6 Responses to “Using Lookup Formulas with Excel Tables [Video]”

  1. Damian says:

    H1 !
    this is my very first comment.
    Can you use same technique with Excel 2003 lists ?
    thanks 😀

  2. Tom says:

    Thanks, Chandoo! I like seeing the sneak peak of what's to come on Friday too 🙂

  3. Chandoo says:

    @Damian.. Welcome to chandoo.org. Thanks for the comments.

    Yes, you can use the same with Excel 2003 lists too.

    @Tom.. You have seen future and its awesome.. isnt it?

  4. Q.fg says:

    Hi, is there a vlookup formula for the second example (IDlist)? I used a similar formula to look up the ID for the person, but the reverse way (look up the person with the ID) comes up N/A.

Leave a Reply