Chapter 16: Creating Custom Functions

Chapter 8, Using Functions, covered the basic principles of functions. In this chapter, we will take it to a different level altogether.

By definition, functions only return values, as you may know by now. What might surprise you is that Excel already has approximately 470 built-in functions.

Generally speaking, we hardly use more than 10 Excel functions at any given time. Granted, some advanced or specialist users may need more than that to get their work done, but even they would hardly utilize more than 25% of the total functions available.

If this is the case, then why would we go to the trouble of creating extra functions? The short answer is automation and increased productivity. Instead of building ...

Get VBA Automation for Excel 2019 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.