Excel Outside the Box: Unbelieveable Excel Techniques from Excel MVP Bob Umlas
By Bob Umlas
4.5/5
()
About this ebook
Designed with the Excel guru in mind, this handbook introduces advanced and creative solutions, and hacks to the software's most challenging problems. Through a series of more than 50 techniques, tables, formulas, and charts, this guide details processes that may be used in any Excel application, across all disciplines. Creative approaches for building formulas within formulas, pivot tables, conditional formatting, and mastering array formulas are just some of the numerous challenges explained. Other higher level solutions discussed include using VBA macro code to override cell calculations, solve for sums from a text string, and trimming and cleaning all cells on a worksheet. This is the all-encompassing resource for advanced users of Excel wanting to learn more techniques to broaden and empower their use of Excel.
Read more from Bob Umlas
Cool Excel Sh*t Rating: 1 out of 5 stars1/5More Excel Outside the Box: Unbelievable Excel Techniques from Excel MVP Bob Umlas Rating: 0 out of 5 stars0 ratings
Related to Excel Outside the Box
Related ebooks
Mastering Excel Macros: Introduction: Mastering Excel Macros, #1 Rating: 4 out of 5 stars4/5Excel Tables: A Complete Guide for Creating, Using and Automating Lists and Tables Rating: 5 out of 5 stars5/5MrExcel LIVe: The 54 Greatest Excel Tips of All Time Rating: 5 out of 5 stars5/5Excel 2019 PivotTables: Easy Excel Essentials 2019, #1 Rating: 5 out of 5 stars5/550 Useful Excel Functions: Excel Essentials, #3 Rating: 5 out of 5 stars5/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Excel VBA: A Step-By-Step Tutorial For Beginners To Learn Excel VBA Programming From Scratch: 1 Rating: 4 out of 5 stars4/5Mastering Microsoft Excel 2016: How to Master Microsoft Excel 2016 in 30 days Rating: 5 out of 5 stars5/5Excel : The Complete Ultimate Comprehensive Step-By-Step Guide To Learn Excel Programming Rating: 0 out of 5 stars0 ratingsExcel Formulas and Functions 2020: Excel Academy, #1 Rating: 4 out of 5 stars4/5Intermediate Excel: Excel Essentials, #2 Rating: 5 out of 5 stars5/5Excel VBA: A Beginners' Guide Rating: 4 out of 5 stars4/5Excel for Beginners: Excel Essentials, #1 Rating: 0 out of 5 stars0 ratingsExcel VBA - Intermediate Lessons in Excel VBA Programming for Professional Advancement: 2 Rating: 0 out of 5 stars0 ratingsExcel 2019 Formulas and Functions Study Guide Rating: 0 out of 5 stars0 ratingsExcel Formulas That Automate Tasks You No Longer Have Time For Rating: 5 out of 5 stars5/5Excel Dynamic Arrays Straight to the Point 2nd Edition Rating: 5 out of 5 stars5/5150 Most Poweful Excel Shortcuts: Secrets of Saving Time with MS Excel Rating: 3 out of 5 stars3/5Cleaning Excel Data With Power Query Straight to the Point Rating: 5 out of 5 stars5/5101 Most Popular Excel Formulas: 101 Excel Series, #1 Rating: 4 out of 5 stars4/5VBA for Excel: Programming VBA Macros - The Easy Introduction for Beginners and Non-Programmers Rating: 3 out of 5 stars3/5Excel Data Cleansing Straight to the Point Rating: 5 out of 5 stars5/5Access 2019 Beginner: Access Essentials 2019 Rating: 0 out of 5 stars0 ratingsGuerilla Data Analysis Using Microsoft Excel Rating: 0 out of 5 stars0 ratings
Enterprise Applications For You
Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/53D Concrete Printing Technology: Construction and Building Applications Rating: 0 out of 5 stars0 ratingsCreating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Excel Formulas and Functions 2020: Excel Academy, #1 Rating: 4 out of 5 stars4/5Notion for Beginners: Notion for Work, Play, and Productivity Rating: 4 out of 5 stars4/5Access 2019 For Dummies Rating: 0 out of 5 stars0 ratingsExcel 2019 Bible Rating: 4 out of 5 stars4/5Enterprise AI For Dummies Rating: 3 out of 5 stars3/5QuickBooks 2023 All-in-One For Dummies Rating: 0 out of 5 stars0 ratings101 Ready-to-Use Excel Formulas Rating: 4 out of 5 stars4/5QuickBooks 2024 All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsThe Ridiculously Simple Guide to Google Docs: A Practical Guide to Cloud-Based Word Processing Rating: 0 out of 5 stars0 ratingsExcel Tips and Tricks Rating: 0 out of 5 stars0 ratingsThe New Email Revolution: Save Time, Make Money, and Write Emails People Actually Want to Read! Rating: 5 out of 5 stars5/5Mastering QuickBooks 2020: The ultimate guide to bookkeeping and QuickBooks Online Rating: 0 out of 5 stars0 ratingsChatGPT Ultimate User Guide - How to Make Money Online Faster and More Precise Using AI Technology Rating: 0 out of 5 stars0 ratingsBitcoin For Dummies Rating: 4 out of 5 stars4/5Scrivener For Dummies Rating: 4 out of 5 stars4/550 Useful Excel Functions: Excel Essentials, #3 Rating: 5 out of 5 stars5/5Learn Windows PowerShell in a Month of Lunches Rating: 0 out of 5 stars0 ratingsExcel : The Complete Ultimate Comprehensive Step-By-Step Guide To Learn Excel Programming Rating: 0 out of 5 stars0 ratingsSystems Thinking: Managing Chaos and Complexity: A Platform for Designing Business Architecture Rating: 4 out of 5 stars4/5Create Income through Self-Publishing: An Author's Approach on Generating Wealth by Self-Publishing Rating: 5 out of 5 stars5/5
Reviews for Excel Outside the Box
4 ratings0 reviews
Book preview
Excel Outside the Box - Bob Umlas
MVPs.
Introduction
There are many Excel books out there, why did I write this one? My daily work involves writing custom applications using Excel, and there are many problems I’ve had to think through to come up with a solution in Excel. I’ve used these solutions many times in my applications. I have not found any books or articles which described similar issues and solutions, yet it is hard to imagine that Excel developers in other companies hadn’t also come up against these issues. So, given the feedback from my previous book (This isn’t Excel, it’s Magic
), I thought it was time for another book to help the already-advanced Excel developer get past these hurdles.
So many times I’ve seen a data validation list contain many blanks at the bottom of the list (which was fixed in Excel 2010!), or with gaps, like this:
when it should look like this:
Even if the source contains those gaps. I describe how to fix that (and so many more things) in this book.
I show a lot of involved formulas but I decipher them step by step so they’re no longer so formidable, like this array-entered one, for example:
=INDEX(A:A,SMALL(IF(ISNA(MATCH($A$1:$A$12,$C$1:$C$9,0)),ROW($1:$12),),ROW(A2)))
This book is aimed at the company’s already-expert Exceller, elevating him/her to the next level.
–Bob Umlas
Chapter 1 - Techniques
1-A Dilemma with Relative References
Figure 1 and Figure 2 show a simple worksheet normally and with formulas showing:
Figure 1
Figure 2
Assume this goes on for hundreds of rows.
Also assume you discovered that most of the formulas are wrong – you really wanted those cells which refer to Data to be 3 rows down. That is, in cell D1 you wanted the reference to be to cell M20, not M17. How can you fix it? There’s nothing to replace – replacing 17 with 20 certainly won’t help. You can’t fix the first one and fill down because of the cells which are not of a like formula – for example, filling down would destroy the formula in cell D4. Figure 3 is what you want, how can you get there?
Figure 3
The answer (well, one answer, anyway) is to switch to R1C1 format. Yes, it actually does have a really good use! It’s done here in the File menu, Options.
Figure 4
How does that help? Look at the underlying formulas here:
Figure 5
See those [16]’s? All you need to do is change them to [19]’s, with the result shown below:
Figure 6
When you switch back to A1 notation (uncheck R1C1) you have this:
Figure 7
And you’re done! But wait – here’s an entirely different approach which also works well. First, create a new sheet, say that’s Sheet4. It will remain empty for this process, but will serve an important function as you will soon see. Change the above formulas by changing the reference from Data to Sheet4, as seen here:
Figure 8
And afterwards as you see here:
Figure 9
Now go to Sheet4, select cells M1:M3, Insert cells (Home tab), shifting down:
Figure 10
Return to the main sheet and look at the formulas:
Figure 11
Now change Sheet4 back to Data and you’re done:
Figure 12
2-Build a Formula with a Formula
Look at the worksheet in Figure 13 on the next page.
You can see that some information from Sheet2 is being picked up on Sheet1 via an INDIRECT formula. A quick look at Sheet2 (nothing special) in Figure 14.
Why use INDIRECT? Perhaps the information on Sheet2 may be cut/pasted elsewhere, but you are interested in the data in A1:A22, regardless of how information may be moved around.
What’s the issue? Look at the formulas in Sheet1 in Figure 15.
The problem is, how can you create these formulas without typing each one (or without reverting to creating a VBA procedure!)? You can’t fill the formula down from A1, because it’s all text, and the formula will stay the same. The answer lies in building the formula with a formula. Let’s see what this means (Figure 16).
Notice that the formulas in column A seem to be the same as the previous screenshot, but look at what’s in the formula bar! You are looking at ==INDIRECT(
Sheet2!A
&ROW(A1)&)
which is the formula you want to be in cell A1, but entirely built as a string except the reference to ROW(A1) to give us the one you want.
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
becomes
Figure 18
and then
Figure 19
becomes
Figure 20
This becomes what you see in cell A1. Now when this formula is filled down, the ROW(A1) becomes ROW(A2), etc. and you have what you need. However, this is not ready for use – it’s not an INDIRECT formula, it’s a text string containing the word INDIRECT, etc. What’s left to do is copy/paste special values. I like doing it this way especially since after the fill down, my hand is on the mouse.
Right-click the border of the selection and drag away (anywhere), and then drag the selection right back to where it started. This is what you see when you right-click drag the border away without letting go of the mouse:
Figure 21
When you drag back, before letting go you see Figure 22:
Figure 22
When you let go you’ll see this:
Figure 23
And the highlighted option is the feature you use to get this:
Figure 24
It doesn’t look like anything changed, but look at the formula bar – it’s no longer a text string. However, the formulas in column A need to be coerced into formulas. This can be easily done by replacing =
with =
. Replacing =
with