11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 15: Performing Magic with Array <strong>Formula</strong>s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .391<br />

Working with Single-Cell Array <strong>Formula</strong>s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .391<br />

Summing a range that contains errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .391<br />

Counting the number of error values in a range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393<br />

Summing the n largest values in a range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394<br />

Computing an average that excludes zeros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394<br />

Determining whether a particular value appears in a range . . . . . . . . . . . . . . . . . . . . . . . . . 395<br />

Counting the number of differences in two ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396<br />

Returning the location of the maximum value in a range . . . . . . . . . . . . . . . . . . . . . . . . . . . 397<br />

Finding the row of a value’s nth occurrence in a range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397<br />

Returning the longest text in a range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398<br />

Determining whether a range contains valid values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398<br />

Summing the digits of an integer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399<br />

Summing rounded values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .400<br />

Summing every nth value in a range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401<br />

Removing nonnumeric characters from a string . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402<br />

Determining the closest value in a range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402<br />

Returning the last value in a column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404<br />

Returning the last value in a row . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404<br />

Ranking data with an array formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404<br />

Working with Multicell Array <strong>Formula</strong>s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406<br />

Returning only positive values from a range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406<br />

Returning nonblank cells from a range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407<br />

Reversing the order of cells in a range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407<br />

Sorting a range of values dynamically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408<br />

Returning a list of unique items in a range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408<br />

Displaying a calendar in a range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410<br />

Part V: Miscellaneous <strong>Formula</strong> Techniques<br />

Chapter 16: Intentional Circular References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .415<br />

What Are Circular References? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .415<br />

Correcting an accidental circular reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416<br />

Understanding indirect circular references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .417<br />

Intentional Circular References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .417<br />

How Excel Determines Calculation and Iteration Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420<br />

Circular Reference Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .421<br />

Generating unique random integers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .421<br />

Solving a recursive equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423<br />

Solving simultaneous equations using a circular reference . . . . . . . . . . . . . . . . . . . . . . . . . . 424<br />

Animating a chart using iteration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426<br />

Potential Problems with Intentional Circular References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427<br />

Chapter 17: Charting Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429<br />

Understanding the SERIES <strong>Formula</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429<br />

Using names in a SERIES formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .431<br />

Unlinking a chart series from its data range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432<br />

xvii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!