Writing VBA code is hard, but properly debugging code is even harder. Sounds like non-sense? Well I dare say developers spend more time debugging code than writing it. Looking for errors is what developers do most of the time! A critical part of debugging is proper error handling (VBA error handling in our case).
So, let's learn how to properly handle errors in VBA.
Full article: Proper VBA error handling
The VLOOKUP
function is often used to prove a bare minimum of Excel knowledge because it's both useful and common. However, VLOOKUP
is often not used properly and is a common cause of errors.
Full article: True Vlookup tragedy
The function combination OFFSET MATCH MATCH
can be useful for looking up values in a two dimensional array of data. The primary benefit of using OFFSET MATCH MATCH
is that it is intuitive and that many people are familiar with the OFFSET
formula.
In some ways, using the OFFSET
function to find a lookup value is more intuitive than using the INDEX
function because it is very similar to moving a piece around a chess board.
Additionally, some people are more familiar with the OFFSET
function than they are with INDEX
; in that situation, it may make sense to go with OFFSET MATCH MATCH
as your lookup formula.
Full article: How to use OFFSET MATCH MATCH
Many of you will be familiar with the issues that arise when non-experts develop applications and/or when applications are developed in non-typical ways. This leads to errors, poor process and inefficiency.
But that's not the big deal. The big deal is that:
- Those applications represent wasted effort.
- The technology department is out of touch with its user base.
- Users have been doing the easy thing and not the right thing.
- End user developed applications don't feature in planning and strategy but they are an impediment to execution of that strategy.
Full article: What's the BIG deal about end user development?
The IFERROR
formula was designed to solve a common aesthetic problem that most of us have encountered when using Excel – when we know that there are errors in our data, but we'd prefer not to see Excel's standard error message notation.
Enter the IFERROR
formula. IFERROR
has become very popular because it allows you to mask Excel's error message with a blank space, or a custom message of your own, such as "Not Found".
IFERROR
becomes problematic when you encounter an error condition in your data set that you were not expecting. While IFERROR
is definitely efficient and also very intuitive, it's not always the best formula to use to mask errors because it can clearly cause problems down the line. This article discusses alternatives.
Full article: Why you should be cautious about Excel's IFERROR formula
Whether you're just starting out on your Excel journey or have been using it for a while, there are a few skills that you should know about Excel: the best ways of doing things, certain pitfalls to avoid, things that will impress other people (especially your boss).
In this article, I will talk about the 20 most important skills you need to know about Excel, including some of the best hints and tips I can think of to get you started as a beginner – or make you more productive as an experienced user.
Full article: Top 20 essential Excel skills you need to know
One of Excel's greatest cell reference features is a 3D reference, or dimensional reference as it is also known.
A 3D reference in Excel refers to the same cell or range of cells on multiple worksheets. It is a very convenient and fast way to calculate data across several worksheets with the same structure, and it may be a good alternative to the Excel Consolidate feature.
This blog covers:
- What is an Excel 3-D reference?
- Creating a 3D reference in Excel.
- Including a new sheet in an existing 3D formula.
- Creating a defined name for a 3D reference.
- List of functions supporting 3D references.
- How Excel 3D references change when you insert, move or delete sheets.
Full article: 3-D reference in Excel to calculate multiple worksheets with a single formula
In Excel we can bin numbers. We can also bin letters. Rare but possible. However, be careful when binning a mix of letters and symbols! What could go wrong? A student who earns a B- could end up with an A- grade!
This happens because the TRUE
option of the MATCH
function doesn't work as you might expect.
Full article: The dangers of binning in Excel
Writing a nested IF
statement is widely considered a rite of passage for beginning Excel users who are looking to become more advanced.
The overall concept of writing a nested IF
is actually fairly simple; it's just that process of doing so is highly prone to making mistakes, which can make learning it somewhat difficult.
Having a strong level of comfort around logical structuring is critically important to Excel proficiency. Therefore, if you want to get good at Excel, you should learn how to write nested IF
statements regardless of which approach becomes your preference.
Full article: How to write a nested IF statement in Excel