Functions Within Functions

Written by Allen Wyatt (last updated May 29, 2021)
This tip applies to Excel 97, 2000, 2002, and 2003


1

One important feature of Excel is the fact that you can use functions as arguments to other functions. For instance, consider the following formula, which calculates the confidence interval for a population mean:

=CONFIDENCE(0.05,STDEVP(B9:B18),10)

In this instance, there are two functions used—CONFIDENCE and STDEVP—and they are said to be nested. This means only that the latter function is used as an argument for the former. When this formula is calculated, Excel calculates the result of the STDEVP function, and then uses the result in the calculation of the CONFIDENCE function.

How you use functions within your formulas, and how they are nested, is entirely up to you.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (1954) applies to Microsoft Excel 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Setting the Starting Line Number

You are not limited to starting the line numbering in a document with 1. You can, instead, start the numbering at any ...

Discover More

Opening Two Workbooks with the Same Name

If you have two workbooks that each have the same name, opening them at the same time in Excel could cause some problems. ...

Discover More

Printing Field Codes

Field codes allow dynamic information to be included in documents and can be a great boon. At some point you may want to ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Converting Strings to Numbers

When working with data in a macro, there are two broad categories you can manipulate: numbers and text. Sometimes you ...

Discover More

Returning a Blank Value

Is it possible for a formula to return a blank value? It depends on how you define your terms. This tip examines all the ...

Discover More

Working with Roman Numerals

Understanding and using a function to replace an Arabic number with Roman numerals. And, as a bonus, how to change them back.

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five more than 0?

2021-06-01 07:45:51

alex martinez

By the same talking you can use the mid and vlookup function to enter several names or numbers in only one cell and then press the enter key just once and have all those names or numbers in one column


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.