# Functions Within Functions

by Allen Wyatt
(last updated October 26, 2013)

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

Need to adjust how your characters look horizontally? Word provides an easy way you can scale the horizontal appearance of ...

Discover More

You can create hyperlinks to all sorts of worksheets in a workbook, but you cannot create a hyperlink to a chart sheet. This ...

Discover More

Repeating Cell Contents

Want to repeat cell contents over and over again within a single cell? Excel provides two ways you can duplicate the content.

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!

Selecting Random Names

Got a tone of names from which you need to select a few random names? There are several ways you can extract what you need; ...

Discover More

Excel allows you to easily convert values from decimal to other numbering systems, such as hexadecimal. This tip explains how ...

Discover More

Calculating Fractions of Years

When working with dates and the relationship between dates, Excel provides a variety of worksheet functions that may prove ...

Discover More
##### Subscribe

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

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}] in your comment text. Youâ€™ll be prompted to upload your image when you submit the comment. 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 9 - 7?

2013-12-12 15:54:30

Jeff Stille

Is there a way to calulate a Confidence Interval using a Excel 2010 Pivot Table?

##### 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.